· 5 years ago · Apr 30, 2020, 03:48 AM
1# If you need help, please visit wiki page: https://github.com/Jakubson/JPremium/wiki
2settings:
3 mysql:
4 host: -
5 port: -
6 user: -
7 password: -
8 database: -
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: "sftkbjwqxwrbmkkottnwosdumvolyfdt"
26 default-skin: '' # 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: 9999 # 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: true # Whether premium player can disable auto login.
34 auto-login-premium: false # Whether to auto login new premium players.
35 sending-captcha-code: false # Whether to send a captcha code to Spigot servers to generate a captcha map. You have to have 'createVoidWorld' enable in JPremium configuration on Spigot server to it work.
36 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.
37 allow-nickname-pattern: '[a-zA-Z0-9_]{3,16}' # Regex pattern of the allow nickname.
38 enable-allow-address: false # Whether to check address which player using to connect to the server.
39 case-sensitive-allow-address: true # Whether to check case sensitive of allow addresses.
40 allow-addresses: [] # Using only these addresses player can join to the server. All addresses must be typed with a port! For example: mc.example.com:25565
41 staff-addresses: [] # Using only these addresses player with 'jpremium.staff' permission can join to the server. All addresses must be typed with a port! For example: admin.example.com:25565
42 login:
43 commands:
44 - login
45 - l
46 server: # Server names to which non-premium player connect in order to login.
47 - lobby
48 after: # Server names to which non-premium or premium player connect after login.
49 - lobby
50 time: 20 # How many time has non-premium player to login.
51 kick-when-bad-password: false # Whether to kick non-premium player when he enter wrong password.
52 register:
53 commands:
54 - register
55 server: # Server names to which non-premium player connect in order to register.
56 - lobby
57 after: # Server names to which non-premium player connect after register.
58 - lobby
59 time: 120 # How many time has non-premium player to register.
60 allow-password-pattern: '[\S]{5,32}' # Regex pattern of the allow password.
61 case-sensitive-bad-passwords: true # Whether to check case sensitive of bad passwords.
62 bad-passwords: # The passwords are considered as unsafe and non-premium player cannot set they as password.
63 - 12345
64 - qwerty
65 - abcdef
66 - minecraft
67 captcha: true # Whether to non-premium player must enter captcha code during register.
68 captcha-length: 6 # The length of captcha code. Maximal length is 32.
69 unregister:
70 commands:
71 - unregister
72 auto-login:
73 commands:
74 - autologin
75 change-password:
76 commands:
77 - changepassword
78 change-language:
79 commands:
80 - language
81 change-skin:
82 commands:
83 - skin
84 jpremium-register:
85 commands:
86 - jregister
87 jpremium-unregister:
88 commands:
89 - junregister
90 jpremium-auto-login:
91 commands:
92 - jautologin
93 jpremium-change-password:
94 commands:
95 - jchangepassword
96 jpremium-change-language:
97 commands:
98 - jlanguage
99 jpremium-change-skin:
100 commands:
101 - jskin
102 jpremium-verify:
103 commands:
104 - jverify
105 jpremium-players:
106 commands:
107 - jplayers
108 jpremium-reload:
109 commands:
110 - jreload
111 jpremium-convert:
112 commands:
113 - jconvert
114messages:
115 en:
116 servers-not-responding: '&c&l# &7The Mojang API provider does not respond for our request! We cannot process your request!'
117 max-ip-accounts: '&c&l# &7You cannot register more accounts using your IP address!'
118 website-registration: '&a&l# &7You have to register your account on &aemporiumrealms.net&7!'
119 update: '&a&l# &7There is a new update of JPremium, please download now from &ahttps://www.spigotmc.org/resources/27766/&7!'
120 disabling-plugin: '&a&l# &7The server is restarting! Please come back in a second!'
121 disallow-nickname: '&c&l# &7You cannot use your nickname on this server! Please try use another nickname!'
122 disallow-address: '&c&l# &7You cannot join to the server using this address! Please use &aplay.emporiumrealms.net &7address!'
123 disallow-staff-address: '&c&l# &7This account requires a special server IP address to connect with it! Please contact with the server staff!'
124 boss-bar: ''
125 premium:
126 fadeIn: 1
127 stay: 3
128 fadeOut: 1
129 title: '&a&l* &7Hi, &o%PLAYER_NAME% &a&l*'
130 subtitle: '&7You have a premium account!'
131 header: ''
132 footer: ''
133 chat: |
134 &f
135 &a # INFO #
136 &f
137 &7If you want to switch your account to non-premium,
138 &7please execute:
139 &f
140 &a /autologin &o<new password> <re-new password>
141 &f
142 &7In any moment you can come back to premium
143 &7account by execute (without arguments):
144 &f
145 &a /autologin
146 &f
147 &7Do not be afraid of! You will keep your inventory,
148 &7stats, ranks, permission and etc!
149 &f
150 non-premium:
151 login:
152 before:
153 fadeIn: 1
154 stay: 18
155 fadeOut: 1
156 title: '&a&l* &7Please login with &a&l*'
157 subtitle: '&a/login &o<password>'
158 header: ''
159 footer: ''
160 chat:
161 after:
162 fadeIn: 1
163 stay: 3
164 fadeOut: 1
165 title: '&a&l* &7Hi, &o%PLAYER_NAME% &a&l*'
166 subtitle: '&7You have logged'
167 header: ''
168 footer: ''
169 chat: |
170 &f
171 &a # INFO #
172 &f
173 &7If you want to change your account
174 &7password please execute:
175 &f
176 &a /changepassword &o<old password> <new password> <re-new password>
177 &f
178 error:
179 timeout: '&c&l# &7The time to login was elapsed! Please try again!'
180 registered: '&c&l# &7You have to register your account to use that command!'
181 logged: '&c&l# &7You are already logged!'
182 enter-password: '&c&l# &7You have not entered all arguments! Please enter password!'
183 incorrect-password: '&c&l# &7You have entered incorrect password! Please enter correct password!'
184 incorrect-nickname: '&c&l# &7You use incorrect nickname! Please use &a%PLAYER_CORRECT_NAME%&7, not &c%PLAYER_NAME%&7!'
185 register:
186 before:
187 fadeIn: 1
188 stay: 118
189 fadeOut: 1
190 title: '&a&l* &7Please register with &a&l*'
191 subtitle: '&a/register &o<pass> <re-pass> <captcha>'
192 header: ''
193 footer: ''
194 chat: ''
195 after:
196 fadeIn: 1
197 stay: 3
198 fadeOut: 1
199 title: '&a&l* &7Hi, &o%PLAYER_NAME% &a&l*'
200 subtitle: '&7You have registered!'
201 header: ''
202 footer: ''
203 chat: ''
204 captcha: '&a&l* &7Your captcha code is &a%CAPTCHA% &a&l*'
205 premium: |
206 &f
207 &a # INFO #
208 &f
209 &7Authorization plugin has detected that
210 &7you are using a premium nickname!
211 &7If you have a premium luncher and you do not
212 &7want to login every time when you join to
213 &7the server, please execute (without arguments):
214 &f
215 &a /autologin
216 &f
217 &7Do not execute that command when you have
218 &7a cracked luncher because you lose your account!
219 &7
220 error:
221 timeout: '&c&l# &7The time to register was elapsed! Please try again!'
222 registered: '&c&l# &7You are already registered!'
223 enter-passwords: '&c&l# &7You have not entered all arguments! Please enter password, re-password and captcha!'
224 disallow-password: '&c&l# &7You have to enter another password! A password must be longer than 5 chars and shorted than 32 chars!'
225 password-bad: '&c&l# &7The password is too weak! Please enter stronger password!'
226 passwords-same: '&c&l# &7You have entered two different passwords! Please enter the same passwords!'
227 incorrect-captcha: '&c&l# &7You have entered incorrect captcha! Please enter captcha which is on the top of your screen!'
228 unregister:
229 after: '&a&l# &7Your account has been unregistered!'
230 error:
231 premium: '&c&l# &7The premium players cannot use that command!'
232 enter-password: '&c&l# &7You have not entered all arguments! Please a enter password!'
233 incorrect-password: '&c&l# &7You have entered incorrect password! Please enter an correct password!'
234 auto-login:
235 after:
236 premium: '&a&l# &7You have switched your account to a premium! You do not need use login command now!!'
237 password: '&a&l# &7You have switched your account to a non-premium! You need use login command now!'
238 error:
239 enter-password: '&c&l# &7You have not entered all arguments! Please enter password!'
240 incorrect-password: '&c&l# &7You have entered incorrect password! Please enter correct password!'
241 premium: '&c&l# &7The non-premium players cannot use that command!'
242 disable-auto-login: '&c&l# &7You cannot switch your account to non-premium player!'
243 enter-passwords: '&c&l# &7You have not entered all arguments! Please enter a password, re-password!'
244 disallow-password: '&c&l# &7You have to enter another password! A password must be longer than 5 chars and shorted than 32 chars!'
245 password-bad: '&c&l# &7The password is too weak! Please enter stronger password!'
246 passwords-same: '&c&l# &7You have entered two different passwords! Please enter the same passwords!'
247 change-password:
248 after:
249 fadeIn: 0
250 stay: 0
251 fadeOut: 0
252 title: ''
253 subtitle: ''
254 header: ''
255 footer: ''
256 chat: '&a&l# &7Your password has been changed!'
257 error:
258 premium: '&c&l# &7The premium players cannot use that command!'
259 enter-passwords: '&c&l# &7You have not entered all arguments! Please enter an old password, a new password, re-new-password!'
260 incorrect-old-password: '&c&l# &7You have entered incorrect old password! Please enter old correct password!'
261 disallow-password: '&c&l# &7You have to enter another password! A password must be longer than 5 chars and shorted than 32 chars!'
262 password-bad: '&c&l# &7The password is too weak! Please enter stronger password!'
263 passwords-same: '&c&l# &7You have entered two different new passwords! Please enter the same passwords!'
264 change-language:
265 after:
266 fadeIn: 0
267 stay: 0
268 fadeOut: 0
269 title: ''
270 subtitle: ''
271 header: ''
272 footer: ''
273 chat: '&a&l# &7Your language has been changed!'
274 error:
275 enter-language: '&c&l# &7You have not entered all arguments! Please enter a language!'
276 incorrect-language: '&c&l# &7You have entered incorrect language name! Please enter correct language!'
277 change-skin:
278 after:
279 fadeIn: 0
280 stay: 0
281 fadeOut: 0
282 title: ''
283 subtitle: ''
284 header: ''
285 footer: ''
286 chat: '&a&l# &7Your skin has been changed! To see result, please re-join to the server!'
287 error:
288 have-default-skin: '&c&l# &7You do not have a custom skin so you cannot reset it!'
289 wait: '&a&l# &7Servers are processing your request! Please wait!'
290 enter-skin: '&c&l# &7You have not entered all arguments! Please enter nothing (to to reset skin) or skin nickname (to set a new skin)!'
291 too-many-requests: '&c&l# &7You can use that command every 5 minutes!'
292 skin-is-not-exits: '&c&l# &7That skin is not exits!'
293 jpremium-register:
294 after: '&a&l# &&You have register that user!'
295 error:
296 enter-nickname-and-password: '&c&l# &7You have not entered all arguments! Please enter nickname and password!'
297 user-is-exist: '&c&l# &7That user is already registered!'
298 jpremium-unregister:
299 after:
300 user-kick: '&a&l# &7Your account has been unregistered'
301 unregistered: '&a&l# &7You have unregistered that user!'
302 error:
303 enter-nickname: '&c&l# &7You have not entered all arguments! Please enter nickname!'
304 user-is-not-exist: '&c&l# &7That user is not registered!'
305 user-is-premium: '&c&l# &7You cannot unregister that user because it is premium!'
306 user-is-not-registered: '&c&l# &7That user is not registered!'
307 jpremium-auto-login:
308 after:
309 turned-auto-login: '&a&l# &7You have switched the account of that user to premium!'
310 turned-password: '&a&l# &7You have switched the account of that user to non-premium!'
311 kick-message-turned-auto-login: '&a&l# &7You have switched your account to a premium! You do not need use login command now!!'
312 kick-message-turned-password: '&a&l# &7You have switched your account to a non-premium! You need use login command now!'
313 error:
314 enter-nickname: '&c&l# &7You have not entered all arguments! Please enter nickname!'
315 enter-nickname-and-password: '&c&l# &7You have not entered all arguments! Please enter nickname and password!'
316 user-is-not-premium: '&c&l# &7You cannot switch the account of that user for premium because it is non-premium!'
317 user-is-not-exits: '&c&l# &7That user is not registered!'
318 jpremium-change-password:
319 after:
320 user-kick: '&a&l# &7Your password has been changed!'
321 password-changed: '&a&l# &7You have changed the password of that user!'
322 error:
323 enter-nickname-and-password: '&c&l# &7You have not entered all arguments! Please enter nickname and password!'
324 user-is-not-exist: '&c&l# &7That user is not registered!'
325 user-is-premium: '&c&l# &7You cannot change that user password because it is premium!'
326 user-is-not-registered: '&c&l# &7That user is not registered!'
327 jpremium-change-language:
328 after:
329 user-changed:
330 fadeIn: 0
331 stay: 0
332 fadeOut: 0
333 title: ''
334 subtitle: ''
335 header: ''
336 footer: ''
337 chat: '&a&l# &7Your language has been changed!'
338 language-changed: '&a&l# &7You have changed the language of that user!'
339 error:
340 enter-nickname-and-language: '&c&l# &7You have not entered all arguments! Please enter nickname and language!'
341 user-is-not-exist: '&c&l# &7That user is not registered!'
342 user-is-not-registered: '&c&l# &7That user is not registered!'
343 incorrect-language: '&c&l# &7You have entered incorrect language name! Please enter correct language!'
344 jpremium-change-skin:
345 after:
346 user-changed:
347 fadeIn: 0
348 stay: 0
349 fadeOut: 0
350 title: ''
351 subtitle: ''
352 header: ''
353 footer: ''
354 chat: '&a&l# &7You skin has been changed! To see result, please re-join to the server!'
355 skin-changed: '&a&l# &7You have changed the skin of that user!'
356 error:
357 have-default-skin: '&c&l# &7The player does not have a custom skin so you cannot reset it!'
358 wait: '&a&l# &7Servers are processing your request! Please wait!'
359 enter-nickname-and-skin: '&c&l# &7You have not entered all arguments! Please enter nickname itself (to reset skin) or nickname and skin nickname (to set a new skin)!'
360 too-many-requests: '&c&l# &7You can use that command every 5 minutes!'
361 skin-is-not-exits: '&c&l# &7That skin is not exits!'
362 jpremium-verify:
363 after:
364 premium: '&a&l# &7That user is premium!'
365 non-premium: '&a&l# &7That user is non-premium!'
366 error:
367 enter-nickname: '&c&l# &7You have not entered all arguments! Please enter nickname!'
368 user-is-not-exist: '&c&l# &7That user is not registered!'
369 jpremium-players:
370 after:
371 separator: '&a&l* &7-------------------- &a&l*'
372 list: '&a&l%NUMBER%&8. &a%PLAYER_CORRECT_NAME% &8/ &7%PLAYER_LANGUAGE% &8/ &7%PLAYER_IP%'
373 error:
374 enter-min-max: '&c&l# &7You have not entered all arguments! Please enter minimum and maximum numbers of players!'
375 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%!'