From 1e039d2824bce7b1143b01f2820663e77416cd97 Mon Sep 17 00:00:00 2001 From: AlexTheCoder Date: Fri, 1 Jun 2018 00:26:45 -0400 Subject: [PATCH] Anticheat updates --- Plugins/Mineplex.Core/pom.xml | 2 +- .../arcade/game/games/mineware/BawkBawkBattles.java | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Core/pom.xml b/Plugins/Mineplex.Core/pom.xml index 45396f5a7..a989322c7 100644 --- a/Plugins/Mineplex.Core/pom.xml +++ b/Plugins/Mineplex.Core/pom.xml @@ -47,7 +47,7 @@ com.mineplex anticheat - 1.11.3 + 1.12 org.tukaani diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/BawkBawkBattles.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/BawkBawkBattles.java index 63ac223be..5836ac4fb 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/BawkBawkBattles.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/BawkBawkBattles.java @@ -46,7 +46,12 @@ import org.bukkit.potion.PotionEffectType; import org.bukkit.scheduler.BukkitRunnable; import com.google.common.collect.Lists; +import com.mineplex.anticheat.checks.move.Glide; +import com.mineplex.anticheat.checks.move.HeadRoll; +import com.mineplex.anticheat.checks.move.Speed; +import mineplex.core.Managers; +import mineplex.core.antihack.AntiHack; import mineplex.core.common.Pair; import mineplex.core.common.util.C; import mineplex.core.common.util.F; @@ -254,6 +259,12 @@ public class BawkBawkBattles extends TeamGame implements IThrown FixSpawnFacing = false; Manager.GetCreature().SetDisableCustomDrops(true); + + GlideCheckEnabled = false; + AntiHack antiHack = Managers.get(AntiHack.class); + antiHack.addIgnoredCheck(Speed.class); + antiHack.addIgnoredCheck(Glide.class); + antiHack.addIgnoredCheck(HeadRoll.class); populateChallenges();