Skip to content

Commit

Permalink
fixes cf builds
Browse files Browse the repository at this point in the history
ukdaaan committed Jan 4, 2024
1 parent 9c7f315 commit ab57d16
Showing 4 changed files with 30 additions and 16 deletions.
11 changes: 7 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import vue from "@astrojs/vue";

import tailwind from "@astrojs/tailwind";

import cloudflare from "@astrojs/cloudflare";

// https://astro.build/config
export default defineConfig({
site: 'https://www.setup.md',
trailingSlash: 'never',
build: {
format: 'file',
format: 'file'
},
integrations: [starlight({
title: 'setup.md',
@@ -58,5 +59,7 @@ export default defineConfig({
},
collapsed: true
}]
}), vue(), tailwind()]
});
}), vue(), tailwind()],
output: "server",
adapter: cloudflare()
});
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/cloudflare": "^8.0.1",
"@astrojs/starlight": "^0.11.2",
"@astrojs/tailwind": "^5.0.2",
"@astrojs/vue": "^3.0.4",
1 change: 1 addition & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/discord-invite http://link.setup.md/discord 301
33 changes: 21 additions & 12 deletions src/content/docs/enhancements/Anti-X Tools/anticheat.mdx
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
description: A brief introduction to Anti-Cheats and the community recommended solutions.
slug: e/anti-x/ac
title: Anti-Cheats
lastUpdated: 2024-01-01
---

import MainStatusPill from '../../../../components/MainStatusPill.vue';
@@ -108,7 +109,7 @@ This list consists common ACs and some pros and cons of each AC.

<ul class="pl-5 list-disc">
<li>USD 20.00</li>
<li>Suboptimal performance when scaled to high player counts (>3% of ticks at 420 players).</li>
<li>Suboptimal performance when scaled to high player counts (>3% of ticks at 420 players)</li>
</ul>

<LinkCard
@@ -119,22 +120,30 @@ This list consists common ACs and some pros and cons of each AC.

---

#### Spartan
#### Spartan <MainStatusPill warning>Spigot / Paper & forks only</MainStatusPill>

##### Pros
- 14-day money-back guarantee
- Good Bedrock Checks. I wouldn't go as far as saying that you should auto-ban for violations, though
- Decent movement checks.

<ul class="pl-5 list-disc">
<li>14-day money-back guarantee</li>
<li>Good Bedrock Checks</li>
<li>Decent movement checks</li>
</ul>

##### Cons
- EUR 22.49
- Relatively poor combat checks
- Crashes on start up at times
- Performance so bad you might as well set the max TPS of the server to zero, because that's exactly what Spartan has done in the past.

<div>
<a class="button button--outline button--primary" href="https://www.spigotmc.org/resources/25638/">Spigot</a>
</div>
<ul class="pl-5 list-disc">
<li>EUR 22.49</li>
<li>Relatively poor combat checks</li>
<li>Crashes on start up at times</li>
<li>Sub-par performance</li>
</ul>

<LinkCard
title="Spigot"
description="View Spartan's official Spigot page for downloading the plugin."
href="https://www.spigotmc.org/resources/25638/"
/>

---

0 comments on commit ab57d16

Please sign in to comment.