· 5 years ago · Mar 26, 2020, 11:46 AM
1# If you need help, please visit wiki page: https://github.com/Jakubson/JPremium/wiki
2settings:
3 mysql:
4 host: na01-sql.pebblehost.com
5 port: 3306
6 user: customer_108992_predatormc
7 password: Z7KFQxx@BTveFdN$pGt6
8 database: customer_108992_predatormc
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: ufzjaprlysezfnmo # Your server secret key, please enter this same key to config in JPremium config file on the Spigot servers. The secret key cannot start with a number!
26 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.
27 boss-bar-color: 2 # 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: true # Whether premium player can disable auto login.
34 auto-login-premium: true # Whether to auto login new premium players.
35 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.
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 &amc.example.com&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 &amc.example.com &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: '&c&lPredator&f&lMC.co'
125 premium:
126 fadeIn: 1
127 stay: 3
128 fadeOut: 1
129 title: '&7Greetings, &f%PLAYER_NAME%&7.'
130 subtitle: '&aYou are a verified premium account!'
131 header: ''
132 footer: ''
133 chat: |
134 &f
135 &c&m---&4&m---(&r&f✦&4&m)---&c&m---&r &a&l&nINFO &c&m---&4&m---(&r&f✦&4&m)---&c&m---&r
136 &f
137 &7If you want to switch your account to non-premium,
138 &7please execute:
139 &f
140 &a /autologin &f<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 non-premium:
150 login:
151 before:
152 fadeIn: 1
153 stay: 18
154 fadeOut: 1
155 title: '&c&l[!] &7Please login with &c&l[!]'
156 subtitle: '&a/login &f<password>'
157 header: ''
158 footer: ''
159 chat:
160 after:
161 fadeIn: 1
162 stay: 3
163 fadeOut: 1
164 title: '&7Greetings, &f%PLAYER_NAME%&7.'
165 subtitle: '&aSuccessfully logged-in.'
166 header: ''
167 footer: ''
168 chat: |
169 &f
170 &c&m---&4&m---(&r&f✦&4&m)---&c&m---&r &a&l&nINFO &c&m---&4&m---(&r&f✦&4&m)---&c&m---&r
171 &f
172 &7If you want to chnage your account
173 &7password please execute:
174 &f
175 &a /changepassword &f<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: '&7Greetings, &f%PLAYER_NAME%&7.'
199 subtitle: '&aYou are now registered!'
200 header: ''
201 footer: ''
202 chat: ''
203 captcha: '&c&l[!] &a/register &f<pass> <re-pass> <captcha>'
204 premium: |
205 &f
206 &c&m---&4&m---(&r&f✦&4&m)---&c&m---&r &a&l&nINFO &c&m---&4&m---(&r&f✦&4&m)---&c&m---&r
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%!'