Updated-NoCheatPlus / NoCheatPlus

Anti-cheating plugin for Minecraft (1.5-1.20, Bukkit/Spigot)
https://ci.codemc.io/job/Updated-NoCheatPlus/job/Updated-NoCheatPlus/
GNU General Public License v3.0
482 stars 100 forks source link

Make Timer checks more strict #136

Closed deciduous-buffalo closed 3 years ago

deciduous-buffalo commented 3 years ago

Currently when using Timer at 1.2 it allows the player to move at that speed for like 8 seconds before it starts lagging you back in place, and at 1.4-1.5 you can still use it in short 2-3 second bursts. Is there a way to change the default config to make it more strict?

Lysandr0 commented 3 years ago

Might be useful :p https://github.com/Updated-NoCheatPlus/Docs/blob/master/Settings/Checks/%5BMoving%5D-Morepackets.md https://github.com/Updated-NoCheatPlus/Docs/blob/master/Settings/Checks/%5BNet%5D-Flyingfrequency.md

deciduous-buffalo commented 3 years ago

I was able to improve the strictness of it but its still far from my liking, if anyone reading this has a good config they can share me for their Morepackets and FlyingFrequency please do, I'd appreciate it

Lysandr0 commented 3 years ago

https://github.com/Updated-NoCheatPlus/NoCheatPlus/commit/a684a107f0ab3353c93fe893e9cf56b18f84b026#diff-e13bc6d760e2af7842a590792ebb501aaf9438bd4e14a2e5a6d141c61443183dR520

Attempted to make it more strict. From testings, these settings seem to pick up 1.1 timers and the like decently well. Theoretically, you could make it even stricter with monitored seconds: 3 / epsmax: 21 and setbackage: 250; I wouldn't recommend it however as it will be extremely harsh to laggy players, especially with setbackage being this high.

(Likely a rework of MorePackets will be more appropriate, possibly merging it with FlyingFrequency...)

deciduous-buffalo commented 3 years ago

These changes work great, even picks up 1.05 decently. Thanks Lysandre

Lysandr0 commented 3 years ago

Closing as resolved then. :)