· 6 years ago · Sep 17, 2019, 01:56 PM
1# If you have any issue with plugin installation, please
2# visit the plugin description page and scroll to 'Wiki' section: https://www.spigotmc.org/resources/27766/
3# or contact with me: https://www.spigotmc.org/conversations/add?to=Jakubson
4settings:
5 mysql:
6 host: 178.32.113.35
7 port: 3306
8 user: minesr_18785
9 password: rZVoD6Gn
10 database: minesr_18785
11 first-table: # Change columns names do not produce change columns names in already created tables in MySQL!
12 name: non_premium_users
13 columns:
14 nickname: nickname
15 index: index
16 password: password
17 language: language
18 ip: ip
19 second-table: # Change columns names do not produce change columns names in already created tables in MySQL!
20 name: premium_users
21 columns:
22 uuid: uuid
23 index: index
24 language: language
25 use-ssl: true
26 use-sqlite: false # You have to install this plugin on your BungeeCord server: https://www.spigotmc.org/resources/57191/
27 secret-key: d9asqc33bja78fyl # Your server secret key, please enter this same key to config in JPremium config file on the Spigot servers.
28 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.
29 boss-bar-color: 2 # Color of boss bar. (0 - pink, 1 - blue, 2 - red, 3 - green, 4 - yellow, 5 - purple, 6 - white)
30 boss-bar-division: 0 # Division of boss bar. (0 - no division, 1 - 6 notches, 2 - 10 notches, 3 - 12 notches, 4 - 20 notches)
31 max-ip-accounts: 2 # How many non-premium players can register with this same ip address.
32 fixed-unique-id: true # Whether to use random unique id for player. I recommend turn on it.
33 default-language: en # Default language from messages section.
34 registration-type: SERVER # Whether to allow register non-premium players on the server, website or both sites. (SERVER, WEBSITE, SERVER_AND_WEBSITE)
35 disable-auto-login: true # Whether premium player can disable auto login.
36 auto-login-premium: true # Whether to auto login new premium players.
37 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.
38 allow-nickname-length: 3-16 # How player nickname can be long.
39 allow-nickname-pattern: '[a-zA-Z0-9_]*' # Regex pattern of allow nickname.
40 enable-allow-address: true # Whether to check address which player using to connect to the server.
41 case-sensitive-allow-address: true # Whether to check case sensitive of allow addresses.
42 allow-addresses: # Using only these addresses player can join to the server.
43 - 217.182.46.53:25645
44 - 217.182.46.53:25643
45 - 92.222.139.232
46 - mc.sky-regene.com
47 staff-addresses: # Using only these addresses player with 'jpremium.staff' permission can join to the server.
48 - 217.182.46.53:25645
49 - 217.182.46.53:25643
50 - 92.222.139.232
51 - mc.sky-regene.com
52 login:
53 commands: # Login command aliases. The first command is main command.
54 - login
55 - l
56 server: # Server names to which non-premium player connect in order to login.
57 - lobby
58 - skyblock1
59 after: # Server names to which non-premium or premium player connect after login.
60 - lobby
61 - skyblock1
62 time: 20 # How many time has non-premium player to login.
63 kick-when-bad-password: false # Whether to kick non-premium player when he enter wrong password.
64 register:
65 commands: # Register command aliases. If you want disable command, please set to []
66 - register
67 - r
68 server: # Server names to which non-premium player connect in order to register.
69 - lobby
70 - skyblock1
71 after: # Server names to which non-premium player connect after register.
72 - lobby
73 - skyblock1
74 time: 60 # How many time has non-premium player to register.
75 password-min-length: 5 # What is the minimum number of characters in the password
76 password-max-length: 30 # What is the maximal number of characters in the password
77 case-sensitive-bad-passwords: true # Whether to check case sensitive of bad passwords.
78 bad-passwords: # The passwords are considered as unsafe and non-premium player cannot set they as password.
79 - 12345
80 - qwerty
81 - abcdef
82 captcha: true # Whether to non-premium player must enter captcha code during register.
83 captcha-length: 6 # The length of captcha code. Maximal length is 32.
84 unregister:
85 commands: # Unregister command aliases. If you want disable command, please set to []
86 - unregister
87 - unreg
88 auto-login:
89 commands: # Auto login command aliases. If you want disable command, please set to []
90 - autologin
91 - al
92 change-password:
93 commands: # Change password command aliases. If you want disable command, please set to []
94 - changepassword
95 - change
96 change-language:
97 commands: # Change language command aliases. If you want disable command, please set to []
98 - language
99 - lang
100 jpremium-register:
101 commands: # Register admin command aliases. If you want disable command, please set to []
102 - jregister
103 - jreg
104 jpremium-unregister:
105 commands: # Unregister admin command aliases. If you want disable command, please set to []
106 - junregister
107 - junreg
108 jpremium-auto-login:
109 commands: # Unregister admin command aliases. If you want disable command, please set to []
110 - jautologin
111 - jal
112 jpremium-change-password:
113 commands: # Change password admin command aliases. If you want disable command, please set to []
114 - jchangepassword
115 - jchpass
116 jpremium-change-language:
117 commands: # Change language admin command aliases. If you want disable command, please set to []
118 - jlanguage
119 - jlang
120 jpremium-verify:
121 commands: # Verify admin command aliases. If you want disable command, please set to []
122 - jverify
123 - jver
124 jpremium-players:
125 commands:
126 - jplayers
127 - jplay
128 jpremium-convert:
129 commands:
130 - jconvert
131 - jconv
132messages:
133 en:
134 servers-not-responding: '&c&lError! &cAuthentication servers do not respond, we can not verify your account!'
135 max-ip-accounts: '&c&lError! &cYour ip address has already been registered with the maximum number of accounts!'
136 website-registration: '&a&lWebsite registration! &aPlease visit www.example.com/register to register your account!'
137 update: '&a&lJPremium update! &aA new version of plugin! Download now from https://www.spigotmc.org/resources/jpremium.27766/' # A player must have 'jpremium.update' to see this message.
138 disallow-nickname: '&c&lDisallow nickname! &cLength of nickname must be from 3 to 16! Nickname also must only contain chars: A-Z, a-z 0-9 or _'
139 disallow-address: '&c&lDisallow address! &cPlease connect to server using example.com address!'
140 disallow-staff-address: '&c&lDisallow address! &cPlease connect to server using example.com address!'
141 boss-bar: '&a&lHello %PLAYER_NAME%, You are playing on the &6&lEXAMPLE.COM&a&l!'
142 premium:
143 fadeIn: 1
144 stay: 3
145 fadeOut: 1
146 title: '&a&lWelcome %PLAYER_NAME%!'
147 subtitle: '&aYou has logged by premium account!'
148 header: |-
149 &f
150 &a&lWelcome %PLAYER_NAME%!
151 &f
152 footer: |-
153 &f
154 &aYou has logged by premium account!
155 &f
156 chat: |-
157 &f
158 &a&lWelcome %PLAYER_NAME%!
159 &aYou has logged by premium account!
160 &f
161 non-premium:
162 login:
163 before:
164 fadeIn: 1
165 stay: 18
166 fadeOut: 1
167 title: '&e&lPlease login using:'
168 subtitle: '&6/login <password>'
169 header: |-
170 &f
171 &e&lPlease login using:
172 &f
173 footer: |-
174 &f
175 &6/login <password>
176 &f
177 chat: ''
178 after:
179 fadeIn: 1
180 stay: 3
181 fadeOut: 1
182 title: '&a&lWelcome %PLAYER_NAME%!'
183 subtitle: '&aYou has logged by non-premium account!'
184 header: |-
185 &f
186 &a&lWelcome %PLAYER_NAME%!
187 &f
188 footer: |-
189 &f
190 &aYou has logged by non-premium account!
191 &f
192 chat: |-
193 &f
194 &a&lWelcome %PLAYER_NAME%!
195 &aYou has logged by non-premium account!
196 &f
197 error:
198 timeout: '&c&lTimeout! &cJoin to the server and try again!'
199 registered: '&c&lRegistered! &cYou must registered to login!'
200 logged: '&c&lLogged! &cYou are already logged!'
201 enter-password: '&c&lInvalid arguments! &cEnter password and try again!'
202 incorrect-password: '&c&lIncorrect password! &cEnter correct password and try again!'
203 incorrect-nickname: '&c&lIncorrect nickname! &cLogin with %PLAYER_CORRECT_NAME% player name, not with %PLAYER_NAME%!'
204 register:
205 before:
206 fadeIn: 1
207 stay: 28
208 fadeOut: 1
209 title: '&e&lPlease register using:'
210 subtitle: '&6/register <password> <re-password> <captcha>'
211 header: |-
212 &f
213 &e&lPlease register using:
214 &f
215 footer: |-
216 &f
217 &6/register <password> <re-password> <captcha>
218 &f
219 chat: ''
220 after:
221 fadeIn: 1
222 stay: 3
223 fadeOut: 1
224 title: '&a&lWelcome %PLAYER_NAME%!'
225 subtitle: '&aYou has logged by non-premium account!'
226 header: |-
227 &f
228 &a&lWelcome %PLAYER_NAME%!
229 &f
230 footer: |-
231 &f
232 &aYou has logged by non-premium account!
233 &f
234 chat: |-
235 &f
236 &a&lWelcome %PLAYER_NAME%!
237 &aYou has logged by non-premium account!
238 &f
239 captcha: '&eYour captcha is &6%CAPTCHA%'
240 premium: '&a&lDetected premium! &aIf you have premium launcher and you want to auto login your account, please execute /autologin! &cDo not execute this command on the cracked launcher!'
241 error:
242 timeout: '&c&lTimeout! &cJoin to the server and try again!'
243 registered: '&c&lRegistered! &cYou are already registered!'
244 enter-passwords: '&c&lInvalid arguments! &cEnter password, re-password, captcha and try again!'
245 password-too-short: '&c&lInvalid password! &cEnter longer password!'
246 password-too-long: '&c&lInvalid password! &cEnter shorter password!'
247 password-bad: '&c&lInvalid password! &cEnter better password!'
248 passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
249 incorrect-captcha: '&c&lIncorrect captcha! &cEnter correct captcha and try again!'
250 unregister:
251 after: '&a&lUnregistered! &aYou have been unregistered!'
252 error:
253 registered: '&c&lRegistered! &cYou are not registered!'
254 logged: '&c&lLogged! &cYou are not logged!'
255 premium: '&c&lYou are Premium &cYou can not unregister premium account!'
256 enter-password: '&c&lInvalid arguments! &cEnter password and try again!'
257 incorrect-password: '&c&lIncorrect password! &cEnter correct password and try again!'
258 auto-login:
259 after:
260 premium: '&a&lAuto Login! &aYou do not need use password to login!'
261 password: '&a&lAuto Login! &aYou need use password to login!'
262 error:
263 premium: '&c&lYou are not Premium &cYou can not auto login non-premium account!'
264 disable-auto-login: '&c&lDisabled! &cYou could not to disable auto login!'
265 enter-passwords: '&c&lInvalid arguments! &cEnter password, re-password and try again!'
266 password-too-short: '&c&lInvalid password! &cEnter longer password!'
267 password-too-long: '&c&lInvalid password! &cEnter shorter password!'
268 password-bad: '&c&lInvalid password! &cEnter better password!'
269 passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
270 change-password:
271 after:
272 fadeIn: 1
273 stay: 3
274 fadeOut: 1
275 title: '&a&lSuccessful!'
276 subtitle: '&aYour password has been changed!'
277 header: |-
278 &f
279 &a&lWelcome %PLAYER_NAME%!
280 &f
281 footer: |-
282 &f
283 &aYour password has been changed!
284 &f
285 chat: ''
286 error:
287 registred: '&c&lRegistered! &cYou are not registered!'
288 logged: '&c&lLogged! &cYou are not logged!'
289 premium: '&c&lYou are Premium &cYou can not change password for premium account!'
290 enter-passwords: '&c&lInvalid arguments! &cEnter old password, password, re-password and try again!'
291 incorrect-old-password: '&c&lInvalid old password! &cEnter old password na try again!'
292 passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
293 change-language:
294 after:
295 fadeIn: 1
296 stay: 3
297 fadeOut: 1
298 title: '&a&lSuccessful!'
299 subtitle: '&aYour language has been changed!'
300 header: |-
301 &f
302 &a&lWelcome %PLAYER_NAME%!
303 &f
304 footer: |-
305 &f
306 &aYour language has been changed!
307 &f
308 chat: ''
309 error:
310 registred: '&c&lRegistered! &cYou are not registered!'
311 logged: '&c&lLogged! &cYou are not logged!'
312 enter-language: '&c&lInvalid arguments! &cEnter language!'
313 incorrect-language: '&c&lInvalid language! &cEnter correct language!'
314 jpremium-register:
315 after: '&a&lRegistered! &aYou have been registered new player!'
316 error:
317 registered: '&c&lRegistered! &cYou are not registered!'
318 logged: '&c&lLogged! &cYou are not logged!'
319 enter-nickname-and-password: '&c&lInvalid arguments! &cEnter player nickname and password!'
320 user-is-exist: '&c&lUser is exist! &cThis user is already exist!'
321 jpremium-unregister:
322 after:
323 user-kick: '&a&lUnregistered &aYou have been unregistered!'
324 unregistered: '&a&lUnregistered &aUser has been unregistered!'
325 error:
326 registered: '&c&lRegistered! &cYou are not registered!'
327 logged: '&c&lLogged! &cYou are not logged!'
328 enter-nickname: '&c&lInvalid arguments! &cEnter player nickname!'
329 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
330 user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
331 user-is-not-registered: '&c&lUser is not registered! &cThis user is not registered!'
332 jpremium-auto-login:
333 after:
334 turned-auto-login: '&a&lTurned auto login! &aThis user do not need password to login!'
335 turned-password: '&a&lTurned password! &aThis user need password to login!'
336 kick-message-turned-auto-login: '&a&lTurned auto login! &aYou do not need use password to login!'
337 kick-message-turned-password: '&a&lTurned password! &aYou need use password to login!'
338 error:
339 enter-nickname: '&c&lInvalid arguments! &cEnter player nickname!'
340 enter-nickname-and-password: '&c&lInvalid arguments! &cEnter player nickname and password!'
341 user-is-not-premium: '&c&lUser is Premium! &cThis user is premium player!'
342 user-is-not-exits: '&c&lUser is not exist! &cThis user is not exist!'
343 jpremium-change-password:
344 after:
345 user-kick: '&a&lPassword Changed! &aYour password has been changed!'
346 password-changed: '&a&lPassword Changed! &aPassword has been changed!'
347 error:
348 registered: '&c&lRegistered! &cYou are not registered!'
349 logged: '&c&lLogged! &cYou are not logged!'
350 enter-nickname-and-password: '&c&lInvalid arguments! &cEnter player nickname and password!'
351 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
352 user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
353 user-is-not-registered: '&c&lUser is not registered! &cThis user is not registered!'
354 jpremium-change-language:
355 after:
356 user-changed:
357 fadeIn: 1
358 stay: 3
359 fadeOut: 1
360 title: '&a&lSuccessful!'
361 subtitle: '&aYour language has been changed!'
362 header: |-
363 &f
364 &a&lWelcome %PLAYER_NAME%!
365 &f
366 footer: |-
367 &f
368 &aYour language has been changed!
369 &f
370 chat: ''
371 language-changed: '&a&lLanguage Changed! &aLanguage has been changed!'
372 error:
373 registred: '&c&lRegistered! &cYou are not registered!'
374 logged: '&c&lLogged! &cYou are not logged!'
375 enter-nickname-and-language: '&c&lInvalid arguments! &cEnter nickname and language!'
376 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
377 incorrect-language: '&c&lInvalid language! &cEnter correct language!'
378 jpremium-verify:
379 after:
380 premium: '&a&lPremium &aThis user is premium!'
381 non-premium: '&a&lNon-Premium &aThis user is non-premium!'
382 error:
383 registered: '&c&lRegistered! &cYou are not registered!'
384 logged: '&c&lLogged! &cYou are not logged!'
385 enter-nickname: '&c&lInvalid arguments! &cEnter player nickname!'
386 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist in JPremium database!'
387 jpremium-players:
388 after:
389 separator: '&8===================='
390 list: '&a%NUMBER%&8. &a%PLAYER_CORRECT_NAME% &8/ &a%PLAYER_LANGUAGE% &8/ &a%PLAYER_IP%'
391 error:
392 enter-min-max: '&c&lInvalid arguments! &cEnter min and max players quantity!'
393 invalid-quantity: '&c&lInvalid arguments! &cMin must be greatest than 0 and smaller than max! Max must be equal or smaller than %MAX%!