add ability to tempban users after x wrong logins - ref #520 #192

This commit is contained in:
Gnat008
2016-06-12 13:40:34 -04:00
parent d6e1fd5ceb
commit ac4add9f54
7 changed files with 277 additions and 3 deletions
+8
View File
@@ -331,6 +331,14 @@ Security:
# Kick players before stopping the server, that allow us to save position of players, and all needed
# information correctly without any corruption.
kickPlayersBeforeStopping: true
tempban:
# Tempban users if they enter the wrong password too many times
enableTempban: false
# How many times a user can attempt to login before being tempbanned
maxLoginTries: 10
# The length of time a player will be tempbanned in minutes
# Default: 480 minutes, or 8 hours
tempbanLength: 480
Converter:
Rakamak:
# Rakamak file name
@@ -65,3 +65,4 @@ email_already_used: '&4The email address is already being used'
two_factor_create: '&2Your secret code is %code. You can scan it from here %url'
not_owner_error: 'You are not the owner of this account. Please choose another name!'
invalid_name_case: 'You should join using username %valid, not %invalid.'
tempban_max_logins: '&cYou have been temporarily banned for failing to log in too many times.'