-
Notifications
You must be signed in to change notification settings - Fork 89
Configuration
Once you have installed LoginSecurity, you need to configure it.
This page will tell you everything you need to know in order to configure LoginSecurity 2.1
register:
required:
If this option is enabled, players are required to register in order to be able to play.
This is very useful on offline-mode servers (INFO: offline mode servers are cracked servers) .
captcha: If this option is enabled, users need to enter a captcha when they register.
login:
max-tries
Max login tries allows you to limit the amount of tries a player has to try and log in to an account.
Set to -1 to disable.
password:
min-length: Decides how many characters the password should at least have.
hashing: Decides the hashing type of the database.
password-max-length: Maximal password length
join:
blindness:
If this option is enabled, players will get the blindness potion effect when they join.
This effect will be removed once the player has logged in.
location:
The location mode allows you to spawn the player in a different location when they log in.
Once the player is logged in, they will be teleported back to where they originally were.
- DEFAULT: Don't modify spawn location
- SPAWN: Spawn player at main world spawn location
- RANDOM: Spawn player at a random position in their current world
username: These are the username settings.
filter-special-chars: If this is enabled it blocks chars as spaces or hashtags in usernames.
min-length: Minimal password length.
max-length: Maximal password length.
updater: Checking for updates on a specific channel.
enabled: Whether this option is enabled or disabled.
channel: What channel for updating it uses.
session-timeout:
Session timeout allows you to set a session expiry for the player.
When this is enabled, if players log in within [ARGUMENT] seconds after they logged out with the same IP, they dont have to log in again.
Set to -1 to disable.
login-timeout:
Login timeout allows you to set a timeout on player logins.
If the player does not log in with the correct password before [ARGUMENT] seconds, they are kicked for taking too long.
Set to -1 to disable.
login-message-delay: How much seconds are between two login request messages.
language: What language file is used. The language list is in here:Translations
command-shortcut: Decides what shortcuts are used for /login and /register.
enabled: Whether this option is enabled or disabled.
login: What command shortcut should be used for /login. Don't forget to add the SLASH infront of it!
register: What command shortcut should be used for /register. Don't forget to add the SLASH infront of it!