Anticheat update
This commit is contained in:
parent
61d5b46fc8
commit
cc2c847300
@ -42,7 +42,7 @@
|
||||
<dependency>
|
||||
<groupId>com.mineplex</groupId>
|
||||
<artifactId>anticheat</artifactId>
|
||||
<version>1.12</version>
|
||||
<version>1.13</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.tukaani</groupId>
|
||||
|
@ -38,6 +38,7 @@ import com.mineplex.anticheat.checks.Check;
|
||||
import com.mineplex.anticheat.checks.CheckManager;
|
||||
import com.mineplex.anticheat.checks.combat.FastBow;
|
||||
import com.mineplex.anticheat.checks.combat.KillauraTypeA;
|
||||
import com.mineplex.anticheat.checks.combat.KillauraTypeB;
|
||||
import com.mineplex.anticheat.checks.combat.KillauraTypeC;
|
||||
import com.mineplex.anticheat.checks.combat.KillauraTypeD;
|
||||
import com.mineplex.anticheat.checks.combat.KillauraTypeE;
|
||||
@ -96,7 +97,7 @@ public class AntiHack extends MiniPlugin
|
||||
{
|
||||
public static final Map<Class<? extends Check>, CheckThresholds> CHECKS = ImmutableMap.<Class<? extends Check>, CheckThresholds>builder()
|
||||
.put(KillauraTypeA.class, new CheckThresholds("Kill Aura", 25, 45, 60))
|
||||
// .put(KillauraTypeB.class, new CheckThresholds("High CPS", 25, 40, 60))
|
||||
.put(KillauraTypeB.class, new CheckThresholds("High CPS", 25, 40, 60))
|
||||
.put(KillauraTypeC.class, new CheckThresholds("Reach", 35, 80, 120))
|
||||
.put(KillauraTypeD.class, new CheckThresholds("Kill Aura", 500, 1000, 1500))
|
||||
.put(KillauraTypeE.class, new CheckThresholds("Kill Aura", 1000, 2000, 5000))
|
||||
|
@ -12,8 +12,8 @@ import mineplex.core.common.util.UtilServer;
|
||||
|
||||
public class BanwaveAction extends AntiHackAction
|
||||
{
|
||||
private static final int BAN_DELAY_MINIMUM_MINUTES = 25;
|
||||
private static final int BAN_DELAY_MAXIMUM_MINUTES = (int) TimeUnit.MINUTES.convert(1, TimeUnit.HOURS);
|
||||
private static final int BAN_DELAY_MINIMUM_MINUTES = 5;
|
||||
private static final int BAN_DELAY_MAXIMUM_MINUTES = 10;
|
||||
|
||||
public BanwaveAction(int vl)
|
||||
{
|
||||
|
@ -33,6 +33,7 @@ import org.bukkit.scheduler.BukkitRunnable;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
import com.mineplex.anticheat.checks.move.Glide;
|
||||
import com.mineplex.anticheat.checks.move.Speed;
|
||||
|
||||
import mineplex.core.Managers;
|
||||
import mineplex.core.account.permissions.Permission;
|
||||
@ -153,6 +154,7 @@ public abstract class SuperSmash extends Game
|
||||
|
||||
AntiHack antiHack = Managers.get(AntiHack.class);
|
||||
antiHack.addIgnoredCheck(Glide.class);
|
||||
antiHack.addIgnoredCheck(Speed.class);
|
||||
|
||||
manager.GetExplosion().SetRegenerate(true);
|
||||
manager.GetExplosion().setRegenerateTime(TimeUnit.SECONDS.toMillis(30));
|
||||
|
Loading…
Reference in New Issue
Block a user