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