diff --git a/src/main/java/com/rammelkast/anticheatreloaded/check/movement/GlideCheck.java b/src/main/java/com/rammelkast/anticheatreloaded/check/movement/GlideCheck.java index 8563fd2..1a9878e 100644 --- a/src/main/java/com/rammelkast/anticheatreloaded/check/movement/GlideCheck.java +++ b/src/main/java/com/rammelkast/anticheatreloaded/check/movement/GlideCheck.java @@ -86,9 +86,7 @@ public class GlideCheck { && !player.isSneaking() && !AntiCheatReloaded.getManager().getBackend().isEating(player) && !Utilities.isInWater(player)) { - // TODO that fallDistance check is a horrible way to prevent a certain false - // positive - // Needs to be fixed since this only works for slight above ground movements + // TODO change this, way too much falses float predicted = calculateNextMotionY(LAST_MOTION_Y.get(player.getUniqueId()).floatValue()); float actual = Double.valueOf(motionY).floatValue(); float scaledDifference = Math.abs((predicted - actual) + 0.1568f); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 406ee5e..f8ed9e5 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -118,6 +118,9 @@ permissions: anticheat.check.morepackets: description: Allow players to send lots of movement packets default: false + anticheat.check.badpackets: + description: Allow players to send invalid movement packets + default: false anticheat.check.velocity: description: Allow players to use knockback prevention default: false @@ -140,7 +143,8 @@ permissions: description: Total exemption from checks default: false children: - anticheat.check.fly: true + anticheat.check.flight: true + anticheat.check.elytrafly: true anticheat.check.waterwalk: true anticheat.check.noswing: true anticheat.check.fastbreak: true @@ -164,6 +168,7 @@ permissions: anticheat.check.autotool: true anticheat.check.fastanimation: true anticheat.check.morepackets: true + anticheat.check.badpackets: true anticheat.check.velocity: true anticheat.check.criticals: true anticheat.check.unicode: true