Merge branch 'bugfix/anticheat' into develop

This commit is contained in:
Kenny Goodin 2017-08-07 01:54:40 -04:00
commit 682b5a8624

View File

@ -98,8 +98,8 @@ public class AntiHack extends MiniPlugin
.put(KillauraTypeE.class, new CheckThresholds("Kill Aura", 1000, 2000, 5000)) .put(KillauraTypeE.class, new CheckThresholds("Kill Aura", 1000, 2000, 5000))
.put(KillauraTypeF.class, new CheckThresholds("Kill Aura", 200, 300, 400)) .put(KillauraTypeF.class, new CheckThresholds("Kill Aura", 200, 300, 400))
.put(BadPackets.class, new CheckThresholds("Regen", 500, 1000, 2000)) .put(BadPackets.class, new CheckThresholds("Regen", 500, 1000, 2000))
.put(Glide.class, new CheckThresholds("Flying", 1000, 2000, 3500)) .put(Glide.class, new CheckThresholds("Flying", 600, 1100, 1600))
.put(Speed.class, new CheckThresholds("Speed", 1000, 2000, 3500)) .put(Speed.class, new CheckThresholds("Speed", 600, 1100, 1600))
.put(HeadRoll.class, new CheckThresholds("Illegal Movement", 0, 0, 1000)) .put(HeadRoll.class, new CheckThresholds("Illegal Movement", 0, 0, 1000))
.put(Toggle.class, new CheckThresholds("AutoSneak", 100, 200, 300)) .put(Toggle.class, new CheckThresholds("AutoSneak", 100, 200, 300))
.put(Timer.class, new CheckThresholds("Timer", 1000, 2000, 3000)) .put(Timer.class, new CheckThresholds("Timer", 1000, 2000, 3000))
@ -109,7 +109,7 @@ public class AntiHack extends MiniPlugin
public static final Map<Class<? extends Check>, AntiHackAction> ACTIONS = ImmutableMap.<Class<? extends Check>, AntiHackAction>builder() public static final Map<Class<? extends Check>, AntiHackAction> ACTIONS = ImmutableMap.<Class<? extends Check>, AntiHackAction>builder()
.put(KillauraTypeA.class, new ImmediateBanAction(200)) .put(KillauraTypeA.class, new ImmediateBanAction(200))
.put(KillauraTypeD.class, new BanwaveAction(1500)) //.put(KillauraTypeD.class, new BanwaveAction(1500))
.put(KillauraTypeF.class, new BanwaveAction(600)) .put(KillauraTypeF.class, new BanwaveAction(600))
.put(Glide.class, new ImmediateBanAction(10000)) .put(Glide.class, new ImmediateBanAction(10000))
.put(Speed.class, new ImmediateBanAction(10000)) .put(Speed.class, new ImmediateBanAction(10000))