You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/enhancements/Anti-X Tools/anticheat.mdx
+19-64Lines changed: 19 additions & 64 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,62 +46,63 @@ We highly discourage the usage of auto-bans as no anti-cheat is perfect. If you
46
46
47
47
This list consists common ACs and some pros and cons of each AC.
48
48
49
-
#### NoCheatPlus <MainStatusPillwarning>Spigot / Paper & forks only</MainStatusPill>
49
+
#### Grim <MainStatusPillwarning>Spigot / Paper & forks only</MainStatusPill>
50
50
51
51
##### Pros
52
52
53
53
<ulclass="pl-5 list-disc">
54
-
<li>Free and open-source</li>
55
-
<li>Good movement checks</li>
54
+
<li>Open-source</li>
55
+
<li>Great movement checks</li>
56
+
<li>Predictive technology</li>
56
57
</ul>
57
58
58
59
##### Cons
59
60
60
61
<ulclass="pl-5 list-disc">
61
-
<li>Default configuration will spam false movement positives all over the place, you should buy a good config (eg. [MarkElf's](https://www.mc-market.org/resources/475/)) OR make your own</li>
62
+
<li>v3 is Poorly Optimized; Use v2.</li>
62
63
<li>Mediocre combat checks</li>
63
64
</ul>
64
65
65
66
<LinkCard
66
67
title="Github"
67
-
description="View NoCheatPlus's official Github page for downloading the plugin."
#### Negativity v1 & v2 <MainStatusPillsuccess>All major Java platforms</MainStatusPill>
224
-
225
-
##### Pros
226
-
<ulclass="pl-5 list-disc">
227
-
<li>Free & Open Source</li>
228
-
<li>Paid Version (v2) is Open Source</li>
229
-
<li>v2 supports a lot of platforms (Minestom, Sponge, Fabric & more)</li>
230
-
</ul>
231
-
232
-
##### Cons
233
-
<ulclass="pl-5 list-disc">
234
-
<li>Lacks some important checks (No Elytra Checks, NoSlow Checks etc)</li>
235
-
<li>Poor movement and combat checks</li>
236
-
</ul>
237
-
238
-
<LinkCard
239
-
title="Spigot"
240
-
description="View Negativity's official Spigot page for downloading the plugin."
241
-
href="https://www.spigotmc.org/resources/48399/"
242
-
/>
243
-
244
-
---
245
-
246
202
#### Polar
247
203
248
204
##### Pros
@@ -266,8 +222,7 @@ This anti-cheat is optimised for bedrock players.
266
222
267
223
### Recommendations
268
224
269
-
Both Astro and Vulcan offer a great price to performance ratio. However, Astro will be significantly lighter on system resources.
270
-
Also, Vulcan will support Bedrock in the near future. Astro already supports it.
225
+
We recommend using Grim since it is both free and relatively capable while still being optimal performance-wise. Take Vulcan into consideration as well since it is a one-time purchase.
271
226
272
227
:::tip
273
228
Remember, no anti-cheat is perfect. Players will be able to bypass anti-cheats, so we recommend having a moderator or two online to keep an eye out for any cheaters.
Copy file name to clipboardExpand all lines: src/content/docs/enhancements/Anti-X Tools/antixray.mdx
+3-9Lines changed: 3 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,6 @@ As the name suggests, Anti-Xray will prevent players from finding ores using Xra
13
13
#### PaperMC
14
14
PaperMC (A fork of Spigot) comes with a built-in Anti-Xray. This Anti-Xray usually does the trick just fine. It is simple to setup and causes no lag for both the server and the client (unless you hide caves (air), which will be much laggier for the client). A great guide is shown [here](https://docs.papermc.io/paper/anti-xray). Again, make sure that you do NOT add `air` to `hidden-blocks`.
15
15
16
-
<LinkCard
17
-
title="BuiltByBit"
18
-
description="View LPX's official BuiltByBit page for downloading the plugin."
@@ -39,10 +33,10 @@ Orebfuscator does have a tendency to turn chests into dirt when server is laggy,
39
33
40
34
### RayTraceAntiXray
41
35
42
-
Paper plugin for server-side async multithreaded ray tracing to hide ores that are exposed to air using Paper Anti-Xray engine-mode 1. Might be worth using instead of engine-mode 2 as that can cause lag on slow devices. Only recommended if you have extra threads and don't mind using ProtocolLib.
36
+
Paper plugin for server-side async multithreaded ray tracing to hide ores that are exposed to air using Paper Anti-Xray engine-mode 1. We recommend using TauCubed's fork which uses PacketEvents instead of ProtocolLib.
43
37
44
38
<LinkCard
45
39
title="Github"
46
-
description="View RayTraceAntiXray's official Github page for downloading the plugin."
This section covers plugins that you can modify/replace to improve performance. Only recommended at higher player counts.
10
13
11
-
#### TAB
12
-
The plugin author's optimisation guide is linked below.. The `anti-override` options are especially important as TAB's overriding is quite intensive. An additional config worth changing to false is `unlimited-nametag-mode`.
14
+
#### Reading Spark Reports
15
+
The most important part of optimisation is to be able to read performance reports. Spark is recommended for this purpose.
16
+
Some useful flags within Spark are given below:
13
17
14
-
Regarding anti-override, first make sure that none of your plugins mess with the tablist or scoreboard other than TAB itself. Some common culprits might be BetterTeams, eGlow, Paper's collision rules and CMI.
18
+
Flag | Summary
19
+
------------ | -------
20
+
`--only-ticks-over` | Only records samples from ticks that took longer than x milliseconds. Useful for diagnosing the cause of tick spikes.
21
+
`--thread *` | Records every thread that is being used by the server instance, including plugins. You can use this to figure out the cause of high CPU usage.
22
+
`--timeout` | Automatically stop and upload the spark report after x seconds.
23
+
`--interval` | Change the rate of sampling (default = 4ms)
15
24
16
-
You will need to modify eGlow in order to take full advantage of this optimization. Note that disabling these settings in eGlow will most likely result in incorrect glow colors unless you add the placeholder %eglow_glowcolor% at the end of the tagprefix in TAB. Just like TAB, eGlow has an anti-override feature called `smart-packet-blocker` and a setting called `send-eGlow-team-packets` for team packets. Switch this from true to false to disable them. Once you're done modifying/removing such plugins, make sure `enable-player-collisions` in Paper's configuration is true. After you do that, you can disable player collisions in TAB's config by changing `scoreboard-teams.enable-collisions`.
25
+
<LinkCard
26
+
title="Learn about the Tick Loop"
27
+
description="To understand Spark reports, learn more about the Game Tick Loop here!"
Finally, switch `anti-override` from true to false. If your tablist does not have proper order, an external plugin is probably still modifying the tablist.
@@ -30,65 +47,90 @@ Consider finding alternatives to plugins that use ProtocolLib, or fork them to u
30
47
---
31
48
32
49
#### Citizens
33
-
Citizens often eats up >5% of ticks on larger servers. It is recommended that you use ZNPCsPlus instead if you don't mind a smaller catalogue of supported plugins. Overall, ZNPCsPlus was using 0.03% of the ticks at 330 players according to a spark report.
50
+
Although Citizens is supported by a wide variety of plugins, it is also notorious for it's poor performance. IT is recommended that you use either FancyNPCs or ZNPCs+ for your server if possible. Both plugins have almost no impact on the Server Thread.
Although ajLeaderboards has seen great optimization patches in recent times, it is still a tad laggier than it really should be. We recommend LeaderHeadsRevamped instead. Yes, LHR still works perfectly even though it hasn't seen an update in ages.
60
+
ajLeaderboards is famous for causing crashes thanks to it's generation of thousands of threads (over 50k!) We recommend using an alternative such as Topper.
43
61
44
-
If you insist on using ajLeaderboards, make sure `register-lp-contexts` is set to false.
Vulcan as an anti-cheat does not scale well at higher player counts, where every bit of performance matters. >1.6% ticks eaten at 350+ players is supoptimal. AstroAC on the other hand only eats 0.03% of ticks at 330 players while having checks that are almost as good as Vulcan's.
54
-
55
-
Polar might also be worth it but we have yet to check it's performance at higher player counts
72
+
Vulcan as an anti-cheat does not scale well at higher player counts, where every bit of performance matters. >1.6% ticks eaten at 350+ players is supoptimal. These days, the only anti-cheat we can truly recommend is Grim, which unfortunately doesn't have the best checks.
56
73
57
-
Spartan (Both Java and Bedrock) is an absolute no-go for even medium-sized servers. Performance is extremely poor and checks are subpar.
74
+
AntiCheats such as Polar haven't seen particularly wide-scale adoption, so we cannot say anything regarding those. View our Anti-Cheats page below for more information.
Although FAWE performs far better than WE when it's actually being used for building, it's performance is, rather ironically, significantly worse than standard WorldEdit's at idle due to FAWE listening to player interaction events.
83
+
#### WorldEdit / FastAsyncWorldEdit / WorldGuard
84
+
If you're using FAWE or WorldEdit, we suggest forking it to unregister any useless events (located within the WorldEditListener class.) On idle, these events are the primary culprit of high server thread usage in FAWE/WE.
67
85
68
-
If you nor any of your plugins are actively using FAWE, consider switching to standard WorldEdit.
86
+
As for WorldGuard, we suggest using FreshSMP's WG fork. Do note that it is version-specific, so you might have to compile an older commit if you're running an older version. Alongside using the fork, you may also disable listening to specific events and disable `high-frequency-events` within WorldGuard's config. If you have worlds without any regions, WorldGuard also allows you to disabl elisteners in those worlds by setting `regions.enabled: false` within that world's config.
EssentialsX has a plethora of issues including laggy tabcompletion and an improper caching system. We suggest creating a fork that disables/optimises it's tabcompletion features until it's officially fixed.
109
+
110
+
You should consider using/forking the FreshSMP fork, which is linked below. Although it has a few optimisations, it does not disable the tabcompletion system.
111
+
112
+
<LinkCard
113
+
title="EssentialsX Fork"
114
+
description="FreshSMP EssentialsX Fork"
115
+
href="https://github.com/FreshSMP/Essentials"
116
+
/>
78
117
79
118
---
80
119
81
120
#### Geyser
82
121
To offload Geyser's performance impact on your Spigot/Proxy server, you can use Geyser Standalone. Worth it for servers that have a lot of bedrock players.
83
122
123
+
---
124
+
84
125
#### DiscordSRV
85
126
If you are fine with losing a few features, consider replacing DiscordSRV with Essentials Discord as it isn't as bloated.
86
127
128
+
---
129
+
87
130
#### Auction House Plugins
88
-
zAuctionHouse is recommended as it runs the smoothest while also having the most features. PlayerAuctions is an alright alternative if you want a free plugin, but it's performance is marginally inferior. Consider enabling zAuctionHouse's cacheItems setting as well.
131
+
AxAuctions is thus far the most stable and performant Auction House plugin we've tried. PlayerAuctions is an acceptable alternative if you want a free plugin, but it's performance is marginally inferior.
89
132
90
-
#### Stacking Plugins
91
-
Stacking plugins can be very detrimental to server performance depending on their implementations and configurations. RoseStacker is the best we've used thus far, but might end up lagging the server a bit more than if you didn't have it installed.
133
+
---
92
134
93
-
#### WorldGuard
94
-
WorldGuard allows you to prevent it from listening to certain events in it's configuration file. Could prove useful for very specific servers, but not something the average server should tinker with.
135
+
#### Stacking Plugins
136
+
Stacking plugins can be very detrimental to server performance depending on their implementations and configurations. RoseStacker is the best we've used thus far, but might end up lagging the server a bit more than if you didn't have it installed depending on how you configure it.
Copy file name to clipboardExpand all lines: src/content/docs/guides/Minecraft/Optimisation/basic.mdx
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,14 @@ sidebar:
6
6
order: 2
7
7
---
8
8
9
-
The setup.md recommended optimisation guides has been linked below, keep in mind that these optimisations can heavily impact mechanics such as entity behavior, despawn ranges etc.
0 commit comments