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