Merge pull request #1517 from AuthMe/642-kick-on-fast-commands

#642 - Quick Command Protection
This commit is contained in:
ljacqu
2018-03-19 22:35:49 +01:00
committed by GitHub
38 changed files with 247 additions and 11 deletions
@@ -55,6 +55,10 @@ public final class ProtectionSettings implements SettingsHolder {
public static final Property<Integer> ANTIBOT_DELAY =
newProperty("Protection.antiBotDelay", 60);
@Comment("Kicks the player that issued a command before the defined time after the join process")
public static final Property<Integer> QUICK_COMMANDS_DENIED_BEFORE_MILLISECONDS =
newProperty("Protection.quickCommands.denyCommandsBeforeMilliseconds", 1000);
private ProtectionSettings() {
}