use of mc.dragons.anticheat.check.move.WrongMove in project DragonsOnline by UniverseCraft.
the class DragonsAntiCheat method onEnable.
@Override
public void onEnable() {
enableDebugLogging();
combatRewinder = new CombatRewinder(this);
CommandExecutor ac = new AntiCheatCommand(this);
getCommand("ac").setExecutor(ac);
getCommand("acdebug").setExecutor(ac);
getCommand("acflushlog").setExecutor(ac);
getCommand("acstartlog").setExecutor(ac);
getCommand("acblockdata").setExecutor(ac);
getCommand("acban").setExecutor(ac);
getCommand("ackick").setExecutor(ac);
getCommand("acdump").setExecutor(ac);
getCommand("acresetplayer").setExecutor(ac);
getCommand("acstatus").setExecutor(ac);
getCommand("actoggle").setExecutor(ac);
getCommand("acping").setExecutor(ac);
getCommand("acspoofping").setExecutor(ac);
getCommand("acraytol").setExecutor(ac);
getCommand("acpps").setExecutor(ac);
getCommand("achitstats").setExecutor(ac);
getCommand("acresethitstats").setExecutor(ac);
checkRegistry = new CheckRegistry();
checkRegistry.registerCheck(new PacketSpoof(this));
checkRegistry.registerCheck(new NoClip(this));
checkRegistry.registerCheck(new WrongMove(this));
checkRegistry.registerCheck(new FastPackets(this));
PluginManager pluginManager = getServer().getPluginManager();
// Uncomment if you want spam
// pluginManager.registerEvents(testingMoveListener = new TestingMoveListener(this), this);
pluginManager.registerEvents(new CheckListeners(this), this);
}
Aggregations