· 5 years ago · Feb 11, 2020, 12:22 PM
1# If you need help, please visit wiki page: https://github.com/Jakubson/JPremium/wiki
2settings:
3 mysql:
4 host: 127.0.0.1
5 port: 3306
6 user: x
7 password: x
8 database: x
9 first-table: # Change columns names do not produce change columns names in already created tables in MySQL!
10 name: non_premium_users
11 columns:
12 nickname: nickname
13 index: index
14 password: password
15 language: language
16 ip: ip
17 second-table: # Change columns names do not produce change columns names in already created tables in MySQL!
18 name: premium_users
19 columns:
20 uuid: uuid
21 index: index
22 language: language
23 use-ssl: false
24 use-sqlite: false # You have to install this plugin on your BungeeCord server: https://www.spigotmc.org/resources/57191/
25 secret-key: ModernSecurityJP # Your server secret key, please enter this same key to config in JPremium config file on the Spigot servers.
26 default-skin: Steve # This player's skin set to all cracked players. Works only if 'fixed-unique-id' is enable. If you want to turn off it, please set empty value.
27 boss-bar-color: 3 # Color of boss bar. (0 - pink, 1 - blue, 2 - red, 3 - green, 4 - yellow, 5 - purple, 6 - white)
28 boss-bar-division: 2 # Division of boss bar. (0 - no division, 1 - 6 notches, 2 - 10 notches, 3 - 12 notches, 4 - 20 notches)
29 max-ip-accounts: 2 # How many non-premium players can register with this same ip address.
30 fixed-unique-id: true # Whether to use random unique id for player. I recommend turn on it.
31 default-language: en # Default language from messages section.
32 registration-type: SERVER # Whether to allow register non-premium players on the server, website or both sites. (SERVER, WEBSITE, SERVER_AND_WEBSITE, SECURE - if to server joined more than 25 players in 3 minutes, next new players must register via website)
33 disable-auto-login: false # Whether premium player can disable auto login.
34 auto-login-premium: true # Whether to auto login new premium players.
35 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.
36 allow-nickname-pattern: '[a-zA-Z0-9_]{3,16}' # Regex pattern of allow nickname.
37 enable-allow-address: true # Whether to check address which player using to connect to the server.
38 case-sensitive-allow-address: false # Whether to check case sensitive of allow addresses.
39 allow-addresses: # Using only these addresses player can join to the server.
40 - dc-da7d478e8307.modernmc.eu
41 staff-addresses: # Using only these addresses player with 'jpremium.staff' permission can join to the server.
42 - dc-15811145cddc.modernmc.eu
43 login:
44 commands:
45 - login
46 - l
47 server: # Server names to which non-premium player connect in order to login.
48 - Auth
49 after: # Server names to which non-premium or premium player connect after login.
50 - Hub
51 time: 30 # How many time has non-premium player to login.
52 kick-when-bad-password: true # Whether to kick non-premium player when he enter wrong password.
53 register:
54 commands:
55 - reg
56 - register
57 server: # Server names to which non-premium player connect in order to register.
58 - Auth
59 after: # Server names to which non-premium player connect after register.
60 - Hub
61 time: 60 # How many time has non-premium player to register.
62 password-min-length: 5 # What is the minimum number of characters in the password
63 password-max-length: 30 # What is the maximal number of characters in the password
64 case-sensitive-bad-passwords: false # Whether to check case sensitive of bad passwords.
65 bad-passwords: # The passwords are considered as unsafe and non-premium player cannot set they as password.
66 - 12345
67 - qwerty
68 - abcdef
69 captcha: true # Whether to non-premium player must enter captcha code during register.
70 captcha-length: 6 # The length of captcha code. Maximal length is 32.
71 unregister:
72 commands:
73 - unregister
74 - unreg
75 auto-login:
76 commands: []
77 change-password:
78 commands:
79 - changepassword
80 - cp
81 change-language:
82 commands: []
83 jpremium-register:
84 commands:
85 - msreg
86 jpremium-unregister:
87 commands:
88 - msunreg
89 jpremium-auto-login:
90 commands:
91 - msal
92 - msautologin
93 jpremium-change-password:
94 commands:
95 - mscp
96 jpremium-change-language:
97 commands:
98 - mslang
99 jpremium-change-skin:
100 commands:
101 - mskin
102 jpremium-verify:
103 commands:
104 - msver
105 jpremium-players:
106 commands:
107 - msplayers
108 jpremium-convert:
109 commands:
110 - msconvert
111messages:
112 en:
113 servers-not-responding: |
114 &f
115 &7&eError
116 &f
117 &7The &e&nMojang Servers&7 are &coffline&7.
118 &f
119 &7Please wait a few minutes and try again.
120 &f
121 &7If you think that this is an issue
122 &7contact us on &b&nforum.modernmc.eu
123 &f
124 max-ip-accounts: '&c&l# &7You cannot register more accounts using your IP address!'
125 website-registration: '&a&l# &7You have to register your account on &amc.example.com&7!'
126 update: '&a&l# &7There is a new update of JPremium, please download now from &ahttps://www.spigotmc.org/resources/27766/&7!'
127 disallow-nickname: '&c&l# &7You cannot use your nickname on this server! Please try use another nickname!'
128 disallow-address: '&c&l# &7You cannot join to the server using this address! Please use &amc.example.com &7address!'
129 disallow-staff-address: |
130 &f
131 &7&cNope&7.
132 &f
133 &7Please, join through &emodernmc.eu
134 premium:
135 fadeIn: 1
136 stay: 3
137 fadeOut: 1
138 title: '&7Modern&bSecurity'
139 subtitle: '&aPremium login &a&l✔'
140 header: ''
141 footer: ''
142 chat: |
143 &f
144 &8&m+-------------------------------------------+
145 &eAutologin &a&l✔
146 &f
147 &7You got authenticated through &aMojang Servers&7!
148 &f
149 &7If you have problems, use the forum!
150 &7(&bforum.modernmc.eu&7)
151 &8&m+-------------------------------------------+
152 non-premium:
153 login:
154 before:
155 fadeIn: 1
156 stay: 18
157 fadeOut: 1
158 title: '&a&l* &7Please login with &a&l*'
159 subtitle: '&a/login &o<password>'
160 header: ''
161 footer: ''
162 chat:
163 after:
164 fadeIn: 1
165 stay: 3
166 fadeOut: 1
167 title: '&7Modern&bSecurity'
168 subtitle: '&7Login completed &a&l✔'
169 header: ''
170 footer: ''
171 chat: |
172 &f
173 &8&m+-------------------------------------------+
174 &eAutologin &c&l✘
175 &f
176 &7It looks like you are using a &ecracked account&7.
177 &f
178 &c&l✘ &4DO NOT SHARE YOUR PASSWORD!&c&l✘
179 &f
180 &7If you have problems, use the forum!
181 &7(&bforum.modernmc.eu&7)
182 &8&m+-------------------------------------------+
183 error:
184 timeout: '&c&l# &7The time to login was elapsed! Please try again!'
185 registered: '&c&l# &7You have to register your account to use that command!'
186 logged: '&c&l# &7You are already logged!'
187 enter-password: '&c&l# &7!You have not entered all arguments! Please enter password!'
188 incorrect-password: '&c&l# &7You have entered incorrect password! Please enter correct password!'
189 incorrect-nickname: '&c&l# &7You use incorrect nickname! Please use &a%PLAYER_CORRECT_NAME%&7, not &c%PLAYER_NAME%&7!'
190 register:
191 before:
192 fadeIn: 1
193 stay: 58
194 fadeOut: 1
195 title: '&a&l* &7Please register with &a&l*'
196 subtitle: '&7/reg &b<password> <re-password>'
197 header: ''
198 footer: ''
199 chat: ''
200 after:
201 fadeIn: 1
202 stay: 3
203 fadeOut: 1
204 title: '&7Modern&bSecurity'
205 subtitle: '&7Registration completed!'
206 header: ''
207 footer: ''
208 chat: ''
209 captcha: '&a&l* &7Your captcha code is &a%CAPTCHA% &a&l*'
210 premium: |
211 &f
212 &8&m+-------------------------------------------+
213 &eAutologin &a&l✔
214 &f
215 &7You got authenticated through &aMojang Servers&7!
216 &f
217 &7If you have problems, use the forum!
218 &7(&bforum.modernmc.eu&7)
219 &8&m+-------------------------------------------+
220 error:
221 timeout: |
222 &f
223 &8&m+-------------------------------------------+
224 &cTimed out
225 &f
226 &7Please, be faster!
227 &f
228 &7If you have problems, use the forum!
229 &7(&bforum.modernmc.eu&7)
230 &8&m+-------------------------------------------+
231 registered: |
232 &f
233 &8&m+-------------------------------------------+
234 &cYou are already registered
235 &f
236 &7If you have problems, use the forum!
237 &7(&bforum.modernmc.eu&7)
238 &8&m+-------------------------------------------+
239 enter-passwords: |
240 &f
241 &8&m+-------------------------------------------+
242 &eError
243 &f
244 &7Please, complete the command correctly.
245 &f
246 &7If you have problems, use the forum!
247 &7(&bforum.modernmc.eu&7)
248 &8&m+-------------------------------------------+
249 password-too-short: |
250 &f
251 &8&m+-------------------------------------------+
252 &cShort password
253 &f
254 &7Please, choose a longer password.
255 &f
256 &7If you have problems, use the forum!
257 &7(&bforum.modernmc.eu&7)
258 &8&m+-------------------------------------------+
259 password-too-long: |
260 &f
261 &8&m+-------------------------------------------+
262 &cLong password
263 &f
264 &7Please, choose a shorter password.
265 &f
266 &7If you have problems, use the forum!
267 &7(&bforum.modernmc.eu&7)
268 &8&m+-------------------------------------------+
269 password-bad: |
270 &f
271 &8&m+-------------------------------------------+
272 &cBad password
273 &f
274 &7Please, choose a better password.
275 &f
276 &7If you have problems, use the forum!
277 &7(&bforum.modernmc.eu&7)
278 &8&m+-------------------------------------------+
279 passwords-same: |
280 &f
281 &8&m+-------------------------------------------+
282 &eError
283 &f
284 &7Please, complete the command correctly.
285 &f
286 &7If you have problems, use the forum!
287 &7(&bforum.modernmc.eu&7)
288 &8&m+-------------------------------------------+
289 incorrect-captcha: '&c&l# &7You have entered incorrect captcha! Please enter captcha which is on the top of your screen!'
290 unregister:
291 after: |
292 &f
293 &8&m+-------------------------------------------+
294 &bUnregister
295 &f
296 &7Goodbye...
297 &f
298 &7If you have problems, use the forum!
299 &7(&bforum.modernmc.eu&7)
300 &8&m+-------------------------------------------+
301 error:
302 premium: |
303 &f
304 &8&m+-------------------------------------------+
305 &eError
306 &f
307 &7Premium players are not allowed
308 &7 to use that command.
309 &f
310 &7If you have problems, use the forum!
311 &7(&bforum.modernmc.eu&7)
312 &8&m+-------------------------------------------+
313 enter-password: |
314 &f
315 &8&m+-------------------------------------------+
316 &eError
317 &f
318 &7Please, complete the command correctly.
319 &f
320 &7If you have problems, use the forum!
321 &7(&bforum.modernmc.eu&7)
322 &8&m+-------------------------------------------+
323 incorrect-password: |
324 &f
325 &8&m+-------------------------------------------+
326 &4Wrong password
327 &f
328 &7Please, check your password and try again.
329 &f
330 &7If you have problems, use the forum!
331 &7(&bforum.modernmc.eu&7)
332 &8&m+-------------------------------------------+
333 auto-login:
334 after:
335 premium: '&a&l# &7You have switched your account to a premium! You do not need use login command now!!'
336 password: '&a&l# &7You have switched your account to a non-premium! You need use login command now!'
337 error:
338 premium: |
339 &f
340 &8&m+-------------------------------------------+
341 &eError
342 &f
343 &7Cracked players are not allowed
344 &7 to use that command.
345 &f
346 &7If you have problems, use the forum!
347 &7(&bforum.modernmc.eu&7)
348 &8&m+-------------------------------------------+
349 disable-auto-login: |
350 &f
351 &8&m+-------------------------------------------+
352 &eError
353 &f
354 &7Premium players are not allowed
355 &7 to disable autologin.
356 &f
357 &7If you have problems, use the forum!
358 &7(&bforum.modernmc.eu&7)
359 &8&m+-------------------------------------------+
360 enter-passwords: |
361 &f
362 &8&m+-------------------------------------------+
363 &eError
364 &f
365 &7Please, complete the command correctly.
366 &f
367 &7If you have problems, use the forum!
368 &7(&bforum.modernmc.eu&7)
369 &8&m+-------------------------------------------+
370 password-too-short: |
371 &f
372 &8&m+-------------------------------------------+
373 &cShort password
374 &f
375 &7Please, choose a longer password.
376 &f
377 &7If you have problems, use the forum!
378 &7(&bforum.modernmc.eu&7)
379 &8&m+-------------------------------------------+
380 password-too-long: |
381 &f
382 &8&m+-------------------------------------------+
383 &cLong password
384 &f
385 &7Please, choose a shorter password.
386 &f
387 &7If you have problems, use the forum!
388 &7(&bforum.modernmc.eu&7)
389 &8&m+-------------------------------------------+
390 password-bad: |
391 &f
392 &8&m+-------------------------------------------+
393 &cBad password
394 &f
395 &7Please, choose a better password.
396 &f
397 &7If you have problems, use the forum!
398 &7(&bforum.modernmc.eu&7)
399 &8&m+-------------------------------------------+
400 passwords-same: |
401 &f
402 &8&m+-------------------------------------------+
403 &eError
404 &f
405 &7Please, complete the command correctly.
406 &f
407 &7If you have problems, use the forum!
408 &7(&bforum.modernmc.eu&7)
409 &8&m+-------------------------------------------+
410 change-password:
411 after:
412 fadeIn: 0
413 stay: 0
414 fadeOut: 0
415 title: ''
416 subtitle: ''
417 header: ''
418 footer: ''
419 chat: |
420 &f
421 &8&m+-------------------------------------------+
422 &aPassword changed &a&l✔
423 &f
424 &7If you have problems, use the forum!
425 &7(&bforum.modernmc.eu&7)
426 &8&m+-------------------------------------------+
427 error:
428 premium: |
429 &f
430 &8&m+-------------------------------------------+
431 &eError
432 &f
433 &7Premium players are not supposed
434 &7 to change password.
435 &f
436 &7If you have problems, use the forum!
437 &7(&bforum.modernmc.eu&7)
438 &8&m+-------------------------------------------+
439 enter-passwords: |
440 &f
441 &8&m+-------------------------------------------+
442 &eError
443 &f
444 &7Please, complete the command correctly.
445 &f
446 &7If you have problems, use the forum!
447 &7(&bforum.modernmc.eu&7)
448 &8&m+-------------------------------------------+
449 incorrect-old-password: |
450 &f
451 &8&m+-------------------------------------------+
452 &eError
453 &f
454 &7Please, complete the command correctly.
455 &f
456 &7If you have problems, use the forum!
457 &7(&bforum.modernmc.eu&7)
458 &8&m+-------------------------------------------+
459 passwords-same: |
460 &f
461 &8&m+-------------------------------------------+
462 &eError
463 &f
464 &7Please, complete the command correctly.
465 &f
466 &7If you have problems, use the forum!
467 &7(&bforum.modernmc.eu&7)
468 &8&m+-------------------------------------------+
469 change-language:
470 after:
471 fadeIn: 0
472 stay: 0
473 fadeOut: 0
474 title: ''
475 subtitle: ''
476 header: ''
477 footer: ''
478 chat: '&a&l# &7Your language has been changed!'
479 error:
480 enter-language: '&c&l# &7You have not entered all arguments! Please enter a language!'
481 incorrect-language: '&c&l# &7You have entered incorrect language name! Please enter correct language!'
482 jpremium-register:
483 after: '&a&l# &&You have register that user!'
484 error:
485 enter-nickname-and-password: '&c&l# &7You have not entered all arguments! Please enter nickname and password!'
486 user-is-exist: '&c&l# &7That user is already registered!'
487 jpremium-unregister:
488 after:
489 user-kick: '&a&l# &7Your account has been unregistered'
490 unregistered: '&a&l# &7You have unregistered that user!'
491 error:
492 enter-nickname: '&c&l# &7You have not entered all arguments! Please enter nickname!'
493 user-is-not-exist: '&c&l# &7That user is not registered!'
494 user-is-premium: '&c&l# &7You cannot unregister that user because it is premium!'
495 user-is-not-registered: '&c&l# &7That user is not registered!'
496 jpremium-auto-login:
497 after:
498 turned-auto-login: '&a&l# &&You have switched the account of that user to premium!'
499 turned-password: '&a&l# &7You have switched the account of that user to non-premium!'
500 kick-message-turned-auto-login: '&a&l# &7You have switched your account to a premium! You do not need use login command now!!'
501 kick-message-turned-password: '&a&l# &7You have switched your account to a non-premium! You need use login command now!'
502 error:
503 enter-nickname: '&c&l# &7You have not entered all arguments! Please enter nickname!'
504 enter-nickname-and-password: '&c&l# &7You have not entered all arguments! Please enter nickname and password!'
505 user-is-not-premium: '&c&l# &7You cannot switch the account of that user for premium because it is non-premium!'
506 user-is-not-exits: '&c&l# &7That user is not registered!'
507 jpremium-change-password:
508 after:
509 user-kick: '&a&l# &7Your password has been changed!'
510 password-changed: '&a&l# &7You have changed the password of that user!'
511 error:
512 enter-nickname-and-password: '&c&l# &7You have not entered all arguments! Please enter nickname and password!'
513 user-is-not-exist: '&c&l# &7That user is not registered!'
514 user-is-premium: '&c&l# &7You cannot change that user password because it is premium!'
515 user-is-not-registered: '&c&l# &7That user is not registered!'
516 jpremium-change-language:
517 after:
518 user-changed:
519 fadeIn: 0
520 stay: 0
521 fadeOut: 0
522 title: ''
523 subtitle: ''
524 header: ''
525 footer: ''
526 chat: '&a&l# &7Your language has been changed!'
527 language-changed: '&a&l# &7You have changed the language of that user!'
528 error:
529 enter-nickname-and-language: '&c&l# &7You have not entered all arguments! Please enter nickname and language!'
530 user-is-not-exist: '&c&l# &7That user is not registered!'
531 user-is-not-registered: '&c&l# &7That user is not registered!'
532 incorrect-language: '&c&l# &7You have entered incorrect language name! Please enter correct language!'
533 jpremium-change-skin:
534 after:
535 user-changed: '&a&l# &7You skin has been changed! To see result, please re-join to the server!'
536 skin-changed: '&a&l# &7You have changed the skin of that user!'
537 error:
538 wait: '&a&l# &7Servers are processing your request! Please wait!'
539 eneter-nickname-and-skin: '&c&l# &7You have not entered all arguments! Please enter nickname itself (to restart skin) or nickname and skin nickname (to set a new skin)!'
540 too-many-requests: '&c&l# &7You can use that command every 5 minutes!'
541 skin-is-not-exits: '&c&l# &7That skin is not exits!'
542 jpremium-verify:
543 after:
544 premium: '&a&l# &7That user is premium!'
545 non-premium: '&a&l# &7That user is non-premium!'
546 error:
547 enter-nickname: '&c&l# &7You have not entered all arguments! Please enter nickname!'
548 user-is-not-exist: '&c&l# &7That user is not registered!'
549 jpremium-players:
550 after:
551 separator: '&a&l* &7-------------------- &a&l*'
552 list: '&a&l%NUMBER%&8. &a%PLAYER_CORRECT_NAME% &8/ &7%PLAYER_LANGUAGE% &8/ &7%PLAYER_IP%'
553 error:
554 enter-min-max: '&c&l# &7You have not entered all arguments! Please enter minimum and maximum numbers of players!'
555 invalid-quantity: '&c&l# &7You have entered incorrect quantity of players! Minimum argument must be greatest that 0 and smaller than maximum argument! Maximum argument must be equal of smaller that %MAX%!'