· 7 years ago · Oct 21, 2018, 10:40 AM
1settings:
2 mysql:
3 host: 127.0.0.1
4 port: 3306
5 user: admin
6 password: PASSSWORD DELETE
7 database: Bungee
8 first-table: non_premium_users
9 second-table: premium_users
10 use-ssl: true
11 use-proxy: false # Whether to use proxies to connect with Mojang servers. If you have server where is more than 500 players, I recommend turn on this.
12 secret-key: 4198489619 # Your server secret key, please enter this same key to config in JPremium config file on the Spigot servers.
13 max-ip-accounts: 100 # How many non-premium players can register with this same ip address.
14 max-connections: 15 # How many players can join to the server within 30 seconds.
15 fixed-unique-id: true # Whether to use random unique id for player. I recommend turn on it.
16 default-language: en # Default language from messages section.
17 registration-type: SERVER # Whether to allow register non-premium players on the server, website or both sites.
18 disable-auto-login: true # Whether premium player can disable auto login.
19 auto-login-premium: false # Whether to auto login new premium players.
20 switch-server-timeout: 200 # How many the plugin must wait in order to connect player with another server. Change this value only when author of JPremium ask for it.
21 enable-allow-address: false # Whether to check address which player using to connect to the server.
22 case-sensitive-allow-address: false # Whether to check case sensitive of allow addresses.
23 allow-addresses: # Using only these addresses player can join to the server.
24 - 89.203.192.189
25 staff-addresses: # Using only these addresses player with 'jpremium.staff' permission can join to the server.
26 - admin.example.com
27 login:
28 commands: # Login command aliases. The first command is main command.
29 - login
30 - l
31 server: # Server names to which non-premium player connect in order to login.
32 - Register
33 after: # Server names to which non-premium and premium player connect after login.
34 - Lobby1
35 time: 20 # How many time has non-premium player to login.
36 kick-when-bad-password: false # Whether to kick non-premium player when he enter wrong password.
37 register:
38 commands: # Register command aliases. The first command is main command.
39 - register
40 - r
41 server: # Server names to which non-premium player connect in order to register.
42 - Register
43 after: # Server names to which non-premium player connect after register.
44 - Lobby1
45 time: 60 # How many time has non-premium player to register.
46 password-min-length: 5 # What is the minimum number of characters in the password
47 password-max-length: 30 # What is the maximal number of characters in the password
48 case-sensitive-bad-passwords: true # Whether to check case sensitive of bad passwords.
49 bad-passwords: # The passwords are considered as unsafe and non-premium player cannot set they as password.
50 - 12345
51 - qwerty
52 - abcdef
53 captcha: false # Whether to non-premium player must enter captcha code during register.
54 captcha-length: 6 # The length of captcha code. Maximal length is 32.
55 unregister:
56 commands: # Unregister command aliases.
57 - unregister
58 - unreg
59 auto-login:
60 commands: # Auto login command aliases.
61 - autologin
62 - al
63 change-password:
64 commands: # Change password command aliases.
65 - changepassword
66 - change
67 change-language:
68 commands: # Change language command aliases.
69 - language
70 - lang
71 jpremium-register:
72 commands: # Register admin command aliases.
73 - jregister
74 - jreg
75 jpremium-unregister:
76 commands: # Unregister admin command aliases.
77 - junregister
78 - junreg
79 jpremium-change-password:
80 commands: # Change password admin command aliases.
81 - jchangepassword
82 - jchpass
83 jpremium-change-language:
84 commands: # Change language admin command aliases.
85 - jlanguage
86 - jlang
87 jpremium-verify:
88 commands: # Verify admin command aliases.
89 - jverify
90 - jver
91messages:
92 en:
93 servers-not-responding: '&c&lError! &cAuthentication servers do not respond, we can not verify your account!'
94 max-ip-accounts: '&c&lError! &cYour ip address has already been registered with the maximum number of accounts!'
95 max-connections: '&c&lError! &cToo many players want to connection to the server now! Please wait and try again!'
96 website-registration: '&a&lWebsite registration! &aPlease visit www.example.com/register to register your account!'
97 update: '&a&lJPremium update! &aA new version of plugin! Download now from https://www.spigotmc.org/resources/jpremium.27766/'
98 disallow-address: '&c&lDisallow address! &cPlease connect to server using example.com address!'
99 disallow-staff-address: '&c&lDisallow address! &cPlease connect to server using example.com address!'
100 boss-bar: '&a&lHello %PLAYER_NAME%, You are playing on the &6&lEXAMPLE.COM&a&l!'
101 premium:
102 fadeIn: 1
103 stay: 3
104 fadeOut: 1
105 title: '&a&lWelcome %PLAYER_NAME%!'
106 subtitle: '&aYou has logged by premium account!'
107 header: |-
108 &f
109 &a&lWelcome %PLAYER_NAME%!
110 &f
111 footer: |-
112 &f
113 &aYou has logged by premium account!
114 &f
115 chat: |-
116 &f
117 &a&lWelcome %PLAYER_NAME%!
118 &aYou has logged by premium account!
119 &f
120 non-premium:
121 login:
122 before:
123 fadeIn: 1
124 stay: 18
125 fadeOut: 1
126 title: '&e&lPlease login using:'
127 subtitle: '&6/login <password>'
128 header: |-
129 &f
130 &e&lPlease login using:
131 &f
132 footer: |-
133 &f
134 &6/login <password>
135 &f
136 chat: ''
137 after:
138 fadeIn: 1
139 stay: 3
140 fadeOut: 1
141 title: '&a&lWelcome %PLAYER_NAME%!'
142 subtitle: '&aYou has logged by non-premium account!'
143 header: |-
144 &f
145 &a&lWelcome %PLAYER_NAME%!
146 &f
147 footer: |-
148 &f
149 &aYou has logged by non-premium account!
150 &f
151 chat: |-
152 &f
153 &a&lWelcome %PLAYER_NAME%!
154 &aYou has logged by non-premium account!
155 &f
156 error:
157 timeout: '&c&lTimeout! &cJoin to the server and try again!'
158 registered: '&c&lRegistered! &cYou must registered to login!'
159 logged: '&c&lLogged! &cYou are already logged!'
160 enter-password: '&c&lInvalid arguments! &cEnter password and try again!'
161 incorrect-password: '&c&lIncorrect password! &cEnter correct password and try again!'
162 incorrect-nickname: '&c&lIncorrect nickname! &cLogin with %PLAYER_CORRECT_NAME% player name, not with %PLAYER_NAME%!'
163 register:
164 before:
165 fadeIn: 1
166 stay: 28
167 fadeOut: 1
168 title: '&e&lPlease register using:'
169 subtitle: '&6/register <password> <re-password> <captcha>'
170 header: |-
171 &f
172 &e&lPlease register using:
173 &f
174 footer: |-
175 &f
176 &6/register <password> <re-password> <captcha>
177 &f
178 chat: ''
179 after:
180 fadeIn: 1
181 stay: 3
182 fadeOut: 1
183 title: '&a&lWelcome %PLAYER_NAME%!'
184 subtitle: '&aYou has logged by non-premium account!'
185 header: |-
186 &f
187 &a&lWelcome %PLAYER_NAME%!
188 &f
189 footer: |-
190 &f
191 &aYou has logged by non-premium account!
192 &f
193 chat: |-
194 &f
195 &a&lWelcome %PLAYER_NAME%!
196 &aYou has logged by non-premium account!
197 &f
198 captcha: '&eYour captcha is &6%CAPTCHA%'
199 premium: '&a&lDetected premium! &aIf you have premium launcher and want to auto login your account, please execute /autologin! &cDo not execute this command on the cracked launcher!'
200 error:
201 timeout: '&c&lTimeout! &cJoin to the server and try again!'
202 registered: '&c&lRegistered! &cYou are already registered!'
203 enter-passwords: '&c&lInvalid arguments! &cEnter password, re-password, captcha and try again!'
204 password-too-short: '&c&lInvalid password! &cEnter longer password!'
205 password-too-long: '&c&lInvalid password! &cEnter shorter password!'
206 password-bad: '&c&lInvalid password! &cEnter better password!'
207 passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
208 incorrect-captcha: '&c&lIncorrect captcha! &cEnter correct captcha and try again!'
209 unregister:
210 after: '&a&lUnregistered! &aYou have been unregistered!'
211 error:
212 registered: '&c&lRegistered! &cYou are not registered!'
213 logged: '&c&lLogged! &cYou are not logged!'
214 premium: '&c&lYou are Premium &cYou can not unregister premium account!'
215 enter-password: '&c&lInvalid arguments! &cEnter password and try again!'
216 incorrect-password: '&c&lIncorrect password! &cEnter correct password and try again!'
217 auto-login:
218 after:
219 premium: '&a&lAuto Login! &aYou do not need use password to login!'
220 password: '&a&lAuto Login! &aYou need use password to login!'
221 error:
222 premium: '&c&lYou are not Premium &cYou can not auto login non-premium account!'
223 disable-auto-login: '&c&lDisabled! &cYou could not to disable auto login!'
224 enter-passwords: '&c&lInvalid arguments! &cEnter password, re-password and try again!'
225 password-too-short: '&c&lInvalid password! &cEnter longer password!'
226 password-too-long: '&c&lInvalid password! &cEnter shorter password!'
227 password-bad: '&c&lInvalid password! &cEnter better password!'
228 passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
229 change-password:
230 after:
231 fadeIn: 1
232 stay: 3
233 fadeOut: 1
234 title: '&a&lSuccessful!'
235 subtitle: '&aYour password has been changed!'
236 header: |-
237 &f
238 &a&lWelcome %PLAYER_NAME%!
239 &f
240 footer: |-
241 &f
242 &aYour password has been changed!
243 &f
244 chat: ''
245 error:
246 registred: '&c&lRegistered! &cYou are not registered!'
247 logged: '&c&lLogged! &cYou are not logged!'
248 premium: '&c&lYou are Premium &cYou can not change password for premium account!'
249 enter-passwords: '&c&lInvalid arguments! &cEnter old password, password, re-password and try again!'
250 incorrect-old-password: '&c&lInvalid old password! &cEnter old password na try again!'
251 passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
252 change-language:
253 after:
254 fadeIn: 1
255 stay: 3
256 fadeOut: 1
257 title: '&a&lSuccessful!'
258 subtitle: '&aYour language has been changed!'
259 header: |-
260 &f
261 &a&lWelcome %PLAYER_NAME%!
262 &f
263 footer: |-
264 &f
265 &aYour language has been changed!
266 &f
267 chat: ''
268 error:
269 registred: '&c&lRegistered! &cYou are not registered!'
270 logged: '&c&lLogged! &cYou are not logged!'
271 enter-language: '&c&lInvalid arguments! &cEnter language!'
272 incorrect-language: '&c&lInvalid language! &cEnter correct language!'
273 jpremium-register:
274 after: '&a&lRegistered! &aYou have been registered new player!'
275 error:
276 registered: '&c&lRegistered! &cYou are not registered!'
277 logged: '&c&lLogged! &cYou are not logged!'
278 enter-nickname-and-password: '&c&lInvalid arguments! &cEnter player nickname and password!'
279 user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
280 user-is-exist: '&c&lUser is exist! &cThis user is already exist!'
281 jpremium-unregister:
282 after:
283 user-kick: '&a&lUnregistered &aYou have been unregistered!'
284 unregistered: '&a&lUnregistered &aUser has been unregistered!'
285 error:
286 registered: '&c&lRegistered! &cYou are not registered!'
287 logged: '&c&lLogged! &cYou are not logged!'
288 enter-nickname: '&c&lInvalid arguments! &cEnter player nickname!'
289 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
290 user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
291 user-is-not-registered: '&c&lUser is not registered! &cThis user is not registered!'
292 jpremium-change-password:
293 after:
294 user-kick: '&a&lPassword Changed! &aYour password has been changed!'
295 password-changed: '&a&lPassword Changed! &aPassword has been changed!'
296 error:
297 registered: '&c&lRegistered! &cYou are not registered!'
298 logged: '&c&lLogged! &cYou are not logged!'
299 enter-nickname-and-password: '&c&lInvalid arguments! &cEnter player nickname and password!'
300 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
301 user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
302 user-is-not-registered: '&c&lUser is not registered! &cThis user is not registered!'
303 jpremium-change-language:
304 after:
305 user-changed:
306 fadeIn: 1
307 stay: 3
308 fadeOut: 1
309 title: '&a&lSuccessful!'
310 subtitle: '&aYour language has been changed!'
311 header: |-
312 &f
313 &a&lWelcome %PLAYER_NAME%!
314 &f
315 footer: |-
316 &f
317 &aYour language has been changed!
318 &f
319 chat: ''
320 language-changed: '&a&lLanguage Changed! &aLanguage has been changed!'
321 error:
322 registred: '&c&lRegistered! &cYou are not registered!'
323 logged: '&c&lLogged! &cYou are not logged!'
324 enter-nickname-and-language: '&c&lInvalid arguments! &cEnter nickname and language!'
325 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
326 incorrect-language: '&c&lInvalid language! &cEnter correct language!'
327 jpremium-verify:
328 after:
329 premium: '&a&lPremium &aThis user is premium!'
330 non-premium: '&a&lNon-Premium &aThis user is non-premium!'
331 error:
332 registered: '&c&lRegistered! &cYou are not registered!'
333 logged: '&c&lLogged! &cYou are not logged!'
334 enter-nickname: '&c&lInvalid arguments! &cEnter player nickname!'
335 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist in JPremium database!'