kick player on tempban, change setting comments to better reflect the process

This commit is contained in:
EbonJaguar
2016-06-13 14:55:25 -04:00
parent 221ce13176
commit b7015f56c2
2 changed files with 5 additions and 4 deletions
@@ -100,15 +100,15 @@ public class SecuritySettings implements SettingsClass {
public static final Property<List<String>> UNSAFE_PASSWORDS =
newLowercaseListProperty("settings.security.unsafePasswords", "123456", "password", "qwerty", "12345", "54321");
@Comment("Tempban users if they enter the wrong password too many times")
@Comment("Tempban a user's IP address if they enter the wrong password too many times")
public static final Property<Boolean> TEMPBAN_ON_MAX_LOGINS =
newProperty("Security.tempban.enableTempban", false);
@Comment("How many times a user can attempt to login before being tempbanned")
@Comment("How many times a user can attempt to login before their IP being tempbanned")
public static final Property<Integer> MAX_LOGIN_TEMPBAN =
newProperty("Security.tempban.maxLoginTries", 10);
@Comment({"The length of time a player will be tempbanned in minutes",
@Comment({"The length of time a IP address will be tempbanned in minutes",
"Default: 480 minutes, or 8 hours"})
public static final Property<Integer> TEMPBAN_LENGTH =
newProperty("Security.tempban.tempbanLength", 480);