Fixed Aimbot and MorePackets false positives, staff notifications are now every x violations and not spammy. Removed broken part of glide check and fixed all permission issues.

This commit is contained in:
Rammelkast committed 2020-06-04 16:41:13 +02:00
1 parent 12c85b3939
commit 992c67d894
10 files changed
+89 -75

No files matched your search

@@ -50,6 +50,8 @@ public class Config extends ConfigurationFile {
public ConfigValue<List<String>> disabledWorlds;
public ConfigValue<List<String>> disabledChecks;
public ConfigValue<Integer> notifyEveryVl;
public Config(AntiCheatReloaded plugin, Configuration config) {
super(plugin, config, FILENAME);
@@ -80,5 +82,10 @@ public class Config extends ConfigurationFile {
disabledWorlds = new ConfigValue<List<String>>("disable-in");
disabledChecks = new ConfigValue<List<String>>("disabled-checks");
notifyEveryVl = new ConfigValue<Integer>("system.notify-every-vl");
if (notifyEveryVl.getValue() < 1) {
notifyEveryVl.setValue(5);
}
}
}