· 9 years ago · Jul 23, 2016, 01:27 PM
1# Do you allow your users to skip authentication with the bypass permission
2bypassPermission=false
3# Should only the specified commands be protected from unauthorized access
4commandOnlyProtection=true
5# Email configuration for password recovery
6emailConfiguration {
7 # Username for the account you want to the email from
8 account=""
9 # Is password recovery using an email allowed
10 enabled=false
11 # Mail server
12 host="smtp.gmail.com"
13 # Password for the account you want to the email from
14 password=""
15 # SMTP Port for outgoing messages
16 port=465
17 # Displays as sender in the email client
18 senderName="Your minecraft server name"
19 # Email subject/title
20 subject="Your new Password"
21 # Email contents. You can use HTML here
22 text="New password for %player% on Minecraft server %server%: %password%"
23}
24# Algorithms for hashing user passwords. You can also choose totp
25hashAlgo=bcrypt
26# Should the plugin login users automatically if it's the same account from the same IP
27ipAutoLogin=false
28# Custom command that should run after the user tried to make too many attempts
29lockCommand=""
30# How many login attempts are allowed until everything is blocked
31maxAttempts=3
32# How many accounts are allowed per ip-addres. Use 0 to disable it
33maxIpReg=1
34# The user should use a strong password
35minPasswordLength=4
36# Should this plugin check for player permissions
37playerPermissions=false
38# If command only protection is enabled, these commands are protected. If the list is empty all commands are protected
39protectedCommands=[]
40# Database configuration
41sqlConfiguration {
42 # Database name
43 database=flexiblelogin
44 # Password in order to login
45 password=""
46 # Path where the database is located. This can be a file path (h2/SQLite) or an IP/Domain(MySQL)
47 path="%DIR%"
48 # Port for example MySQL connections
49 port=3306
50 # SQL server type. You can choose between h2, SQLite and MySQL
51 type=H2
52 # Username to login the database system
53 username=""
54}
55teleportConfig {
56 coordX=0
57 coordY=0
58 coordZ=0
59 # Should the plugin use the default spawn from the world you specify below
60 defaultSpawn=false
61 enabled=false
62 # Spawn world or let it empty to use the default world specified in the server properties
63 worldName=""
64}
65# Text configuration for custom messages in chat
66textConfiguration {
67 # When an account already exists, and therefore cannot be created.
68 accountAlreadyExists="§4Account already exists"
69 # When the player successfully created his/her account.
70 accountCreated="§2Account created"
71 # When an account was successfully deleted
72 accountDeleted="§2Deleted account of %s"
73 # When a player's account does not exist.
74 accountNotFound="§4Account not found"
75 # Message if the player changed his account password successfully
76 changePassword="§2Successfull changed password"
77 # When the player successfully used the set email command and set his/her email.
78 emailSet="§2Your email was set."
79 # When an unexpected error occurs. (Should not happen)
80 errorExecutingCommand="§4Error executing command, see console."
81 # When a player enters an incorrect password.
82 incorrectPassword="§4Incorrect password"
83 # When a player joined with a non Mojang valid username
84 invalidUsername="§4Invalid username - Choose characters a-z,A-Z,0-9 and a length between 2 and 16"
85 # When the player is auto logged in by using the same ip as the last login
86 ipAutoLogin="§2Auto logged in"
87 # When a secretkey is created (header).
88 keyGenerated="§2SecretKey genereted: "
89 # When a player successfully logs in.
90 loggedIn="§2Logged in"
91 # Whe the player successfully logs out of his/her account.
92 loggedOut="§2Logged out."
93 # When the recovery email was sent!
94 mailSent="§2Email sent"
95 # User reached max attempts
96 maxAttempts="§2You entered too many times a wrong password"
97 # User reached the max ip registrations
98 maxIpReg="§2You reached the max amount of registrations for this ip-address"
99 # When the player enters an email that does not exist.
100 notEmail="§4You have entered in an invalid email!"
101 # When the player is not logged in of his/her account.
102 notLoggedIn="§4Not logged in. Type /login to login in"
103 # When the player is not logged in of his/her account.
104 notRegistered="§4Not registered. Type /register to register"
105 # If the player is logged in, it is then pointless to use the forgot password command
106 playersAccountAlreadyLoggedIn="§4You are already logged in!"
107 # When the account does not exist on the account database.
108 playersAccountNotLoaded="§4Your account cannot be loaded."
109 # When a non-player (i.e. Console, Command Block) tries to do a player only action.
110 playersOnly="§4Only players can do this!"
111 # When the user tries to execute a protected command if command only protection is enabled
112 protectedCommand="§4This command is protected. Please login"
113 # When a player registered using TOTP and the code can be scanned by clicking on it
114 scanQr="§6Click here to scan the QR-Code"
115 # Kick message if the player doesn't logged during the configured time out seconds
116 timeoutReason="§4Login timeout"
117 # Message if the player has to register with a longer password
118 tooShortPassword="§2Your password is too short"
119 # When totp is not enabled.
120 totpNotEnabled="§4Totp is not enabled. You have to enter two passwords."
121 # When the player did not or forgot to submit an email address used to recover a password.
122 uncommittedEmailAddress="§4You did not submit an email address!"
123 # When the two passwords typed do not match each other.
124 unevenPasswords="§4The passwords are not equal."
125 # When the unregister process failed.
126 unregisterFailed="§4Your request is neither a player name or uuid."
127}
128# Number of seconds a player has time to login or will be kicked.-1 deactivates this features
129timeoutLogin=30
130# Should the plugin save the login status to the database
131updateLoginStatus=false
132# How seconds the user should wait after the user tried to make too many attempts
133waitTime=300