Configurable antibot delay + delay only on startup

#970
This commit is contained in:
Gabriele C
2016-10-05 22:08:29 +02:00
parent 58c42cf300
commit ac7bb5c0f6
3 changed files with 21 additions and 3 deletions
@@ -42,6 +42,10 @@ public class ProtectionSettings implements SettingsHolder {
public static final Property<Integer> ANTIBOT_DURATION =
newProperty("Protection.antiBotDuration", 10);
@Comment("Delay in seconds before the antibot activation")
public static final Property<Integer> ANTIBOT_DELAY =
newProperty("Protection.antiBotDelay", 60);
private ProtectionSettings() {
}