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
479 stars 99 forks source link

No config to disable Jesus Hack. #107

Closed KRYMZ0N closed 3 years ago

KRYMZ0N commented 3 years ago

The survival fly feature patches a common hack called Jesus which allows you to walk on water. I run an anarchy server where only server damaging hacks need to be patched, and the original ncp was just that. I think a feature to disable the Jesus patch would be beneficial to Anarchy server owners that will most likely update to 1.16 when/if 2b2t does.

Basically there could be a config option called "Jesus" that allows for servers that want this hack patched to be patched, but if it's disabled it can allow the hack to work.

Lysandr0 commented 3 years ago

You can give to your players the nocheatplus.checks.moving.survivalfly.waterwalk bypass permission node. https://github.com/Updated-NoCheatPlus/Docs/blob/master/Settings/Permissions.md#specific

KRYMZ0N commented 3 years ago

Thank you!!

hyperdefined commented 3 years ago

Adding this permission doesn't fix the problem for me.

Lerbiq commented 2 years ago

This issue should be reopened. The permission allows players to walk only a few blocks. After that NCP will rubberband them and basically force them to turn off jesus if they want to move.

Lysandr0 commented 2 years ago

Nothing about permissions has changed with recent commits. Could you please provide a video with waterwalk off and simply moving on calm water surface (with granted permission)? Just to confirm a suspicion I've had for a bit (false positive... :) ).

Lerbiq commented 2 years ago

In the end I figured it out. Having waterwalk permission set to true and manipulating the voxel shapes is simply not enough. But it's possible to use jesus with waterwalk on. I can send the code if needed.

compieter-gh commented 1 year ago

anyway too fix this?