Add Timer check (no bans enabled)
This commit is contained in:
parent
8b6f79a5ee
commit
2c0d460357
@ -48,7 +48,7 @@
|
||||
<dependency>
|
||||
<groupId>com.mineplex</groupId>
|
||||
<artifactId>anticheat</artifactId>
|
||||
<version>1.5</version>
|
||||
<version>1.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.tukaani</groupId>
|
||||
|
@ -48,6 +48,7 @@ import com.mineplex.anticheat.checks.combat.KillauraTypeF;
|
||||
import com.mineplex.anticheat.checks.move.Glide;
|
||||
import com.mineplex.anticheat.checks.move.HeadRoll;
|
||||
import com.mineplex.anticheat.checks.move.Speed;
|
||||
import com.mineplex.anticheat.checks.move.Timer;
|
||||
import com.mineplex.anticheat.checks.move.Toggle;
|
||||
import com.mineplex.anticheat.checks.player.BadPackets;
|
||||
|
||||
@ -100,6 +101,7 @@ public class AntiHack extends MiniPlugin
|
||||
.put(Speed.class, new CheckThresholds("Speed", 1000, 2000, 3500))
|
||||
.put(HeadRoll.class, new CheckThresholds("Illegal Movement", 0, 0, 1000))
|
||||
.put(Toggle.class, new CheckThresholds("AutoSneak", 100, 200, 300))
|
||||
.put(Timer.class, new CheckThresholds("Timer", 1000, 2000, 3000))
|
||||
.build();
|
||||
|
||||
private static final CheckThresholds NOOP_THRESHOLD = new CheckThresholds("Unknown", Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE);
|
||||
|
Loading…
Reference in New Issue
Block a user