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