#642 - Quick Command Protection manager

This commit is contained in:
HexelDev
2018-03-04 17:32:16 +01:00
parent 914c4adc0b
commit c0e1b8082f
3 changed files with 61 additions and 1 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 login process")
public static final Property<Integer> QUICK_COMMANDS_DENIED_BEFORE_MILLISECONDS =
newProperty("Protection.quickCommands.denyCommandsBeforeSeconds", 1000);
private ProtectionSettings() {
}