· 6 years ago · Aug 30, 2019, 03:40 PM
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: 127.0.0.1
7 port: 3306
8 user: JP
9 password: ModernSecurityJP
10 database: Jp
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: false
26 secret-key: ModernSecurity # 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: 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: 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: it # 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: false # 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 - dc-da7d478e8307.modernmc.eu
41 staff-addresses: # Using only these addresses player with 'jpremium.staff' permission can join to the server.
42 - dc-4a8fa35b4488.modernmc.eu
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 - Auth
49 after: # Server names to which non-premium and premium player connect after login.
50 - Hub
51 time: 30 # How many time has non-premium player to login.
52 kick-when-bad-password: true # Whether to kick non-premium player when he enter wrong password.
53 register:
54 commands: # Register command aliases. The first command is main command.
55 - reg
56 server: # Server names to which non-premium player connect in order to register.
57 - Auth
58 after: # Server names to which non-premium player connect after register.
59 - Hub
60 time: 60 # How many time has non-premium player to register.
61 password-min-length: 5 # What is the minimum number of characters in the password
62 password-max-length: 30 # What is the maximal number of characters in the password
63 case-sensitive-bad-passwords: true # Whether to check case sensitive of bad passwords.
64 bad-passwords: # The passwords are considered as unsafe and non-premium player cannot set they as password.
65 - 12345
66 - qwerty
67 - abcdef
68 - strunz
69 - ciccione
70 - passf
71 - passfake
72 - ciao123
73 - hello123
74 - gay
75 - palla
76 - uovo
77 - cacca
78 - puzza
79 - tette
80 - culo
81 - minchia
82 - schifo
83 - ModernMc
84 captcha: false # Whether to non-premium player must enter captcha code during register.
85 captcha-length: 6 # The length of captcha code. Maximal length is 32.
86 unregister:
87 commands: # Unregister command aliases.
88 - unreg
89 auto-login:
90 commands: # Auto login command aliases.
91 - premium
92 change-password:
93 commands: # Change password command aliases.
94 - cp
95 change-language:
96 commands: # Change language command aliases.
97 - lgosas
98 jpremium-register:
99 commands: # Register admin command aliases.
100 - jregister
101 - jreg
102 jpremium-unregister:
103 commands: # Unregister admin command aliases.
104 - junregister
105 - junreg
106 jpremium-change-password:
107 commands: # Change password admin command aliases.
108 - jchangepassword
109 - jchpass
110 jpremium-change-language:
111 commands: # Change language admin command aliases.
112 - jlanguage
113 - jlang
114 jpremium-verify:
115 commands: # Verify admin command aliases.
116 - jverify
117 - jver
118messages:
119messages:
120 en:
121 servers-not-responding: '&c&lError! &cAuthentication servers do not respond, we can not verify your account!'
122 max-ip-accounts: '&c&lError! &cYour ip address has already been registered with the maximum number of accounts!'
123 website-registration: '&a&lWebsite registration! &aPlease visit www.example.com/register to register your account!'
124 update: '&a&lJPremium update! &aA new version of plugin! Download now from https://www.spigotmc.org/resources/jpremium.27766/'
125 disallow-address: '&c&lDisallow address! &cPlease connect to server using example.com address!'
126 disallow-staff-address: '&c&lDisallow address! &cPlease connect to server using example.com address!'
127 boss-bar: '&a&lHello %PLAYER_NAME%, You are playing on the &6&lEXAMPLE.COM&a&l!'
128 premium:
129 fadeIn: 1
130 stay: 3
131 fadeOut: 1
132 title: '&a&lMODERNSECURITY &7Auth'
133 subtitle: '&7Logged in &7(&aPremium&7)'
134 header: |-
135 &f
136 &a&lWelcome %PLAYER_NAME%!
137 &f
138 footer: |-
139 &f
140 &aYou has logged by premium account!
141 &f
142 chat: |-
143 &a&l! &7You has logged with a &aPremium account
144 non-premium:
145 login:
146 before:
147 fadeIn: 1
148 stay: 18
149 fadeOut: 1
150 title: '&a&lMODERNSECURITY &7Auth'
151 subtitle: '&7/login (Password)'
152 header: |-
153 &f
154 &8▪ &b&lMODERNMC &7&nNetwork&8 ▪
155 &f
156 footer: |-
157 &f
158 &b&nwww.ModernMc.eu&8 ▮ &b&n@ModernMcProject
159 &f
160 chat: '&b&l! &7Please, login using the &b/login (Password) &7command'
161 after:
162 fadeIn: 1
163 stay: 3
164 fadeOut: 1
165 title: '&a&lMODERNSECURITY &7Auth'
166 subtitle: '&7Logged in &7(&cNon Premium&7)'
167 header: |-
168 &f
169 &8▪ &b&lMODERNMC &7&nNetwork&8 ▪
170 &f
171 footer: |-
172 &f
173 &b&nwww.ModernMc.eu&8 ▮ &b&n@ModernMcProject
174 &f
175 chat: |-
176 &a&l! &7You has logged with a &cCracked account
177 error:
178 timeout: '&c&lTimeout! &cJoin to the server and try again!'
179 registered: '&4&l! &7You must be registered to login'
180 logged: '&4&l! &7You are already logged'
181 enter-password: '&4&l! &7Enter password and try again'
182 incorrect-password: '&c&lIncorrect password! &cEnter correct password and try again!'
183 incorrect-nickname: '&c&lIncorrect nickname! &cLogin with %PLAYER_CORRECT_NAME% player name, not with %PLAYER_NAME%!'
184 register:
185 before:
186 fadeIn: 1
187 stay: 28
188 fadeOut: 1
189 title: '&a&lMODERNSECURITY &7Auth'
190 subtitle: '&7/reg (Password) (Password)'
191 header: |-
192 &f
193 &8▪ &b&lMODERNMC &7&nNetwork&8 ▪
194 &f
195 footer: |-
196 &f
197 &b&nwww.ModernMc.eu&8 ▮ &b&n@ModernMcProject
198 &f
199 chat: '&b&l! &7Please, register using the &b/register (Password) (Password) &7command'
200 after:
201 fadeIn: 1
202 stay: 3
203 fadeOut: 1
204 title: '&a&lMODERNSECURITY &7Auth'
205 subtitle: '&7Have a good stay!'
206 header: |-
207 &f
208 &8▪ &b&lMODERNMC &7&nNetwork&8 ▪
209 &f
210 footer: |-
211 &f
212 &b&nwww.ModernMc.eu&8 ▮ &b&n@ModernMcProject
213 &f
214 chat: |-
215 &a&l! &7Welcome to our server! Have a good stay!
216 captcha: '&eYour captcha is &6%CAPTCHA%'
217 premium: |-
218 &a&lPREMIUM ACCOUNT! &7If you have purchased Minecraft and you want to auto login your account, type &a/autologin!
219 &c&nDo not execute this command on the cracked launcher!'
220 error:
221 timeout: '&c&lTimeout! &cJoin to the server and try again!'
222 registered: '&c&lRegistered! &cYou are already registered!'
223 enter-passwords: '&c&lInvalid arguments! &cEnter password, re-password, captcha and try again!'
224 password-too-short: '&c&lInvalid password! &cEnter longer password!'
225 password-too-long: '&c&lInvalid password! &cEnter shorter password!'
226 password-bad: '&c&lInvalid password! &cEnter better password!'
227 passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
228 incorrect-captcha: '&c&lIncorrect captcha! &cEnter correct captcha and try again!'
229 unregister:
230 after: '&a&lUnregistered! &aYou have been unregistered!'
231 error:
232 registered: '&c&lRegistered! &cYou are not registered!'
233 logged: '&c&lLogged! &cYou are not logged!'
234 premium: '&c&lYou are Premium &cYou can not unregister premium account!'
235 enter-password: '&c&lInvalid arguments! &cEnter password and try again!'
236 incorrect-password: '&c&lIncorrect password! &cEnter correct password and try again!'
237 auto-login:
238 after:
239 premium: '&a&lAuto Login! &aYou do not need use password to login!'
240 password: '&a&lAuto Login! &aYou need use password to login!'
241 error:
242 premium: '&c&lYou are not Premium &cYou can not auto login non-premium account!'
243 disable-auto-login: '&c&lDisabled! &cYou could not to disable auto login!'
244 enter-passwords: '&c&lInvalid arguments! &cEnter password, re-password 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 change-password:
250 after:
251 fadeIn: 1
252 stay: 3
253 fadeOut: 1
254 title: '&a&lSuccessful!'
255 subtitle: '&aYour password has been changed!'
256 header: |-
257 &f
258 &a&lWelcome %PLAYER_NAME%!
259 &f
260 footer: |-
261 &f
262 &aYour password has been changed!
263 &f
264 chat: ''
265 error:
266 registred: '&c&lRegistered! &cYou are not registered!'
267 logged: '&c&lLogged! &cYou are not logged!'
268 premium: '&c&lYou are Premium &cYou can not change password for premium account!'
269 enter-passwords: '&c&lInvalid arguments! &cEnter old password, password, re-password and try again!'
270 incorrect-old-password: '&c&lInvalid old password! &cEnter old password na try again!'
271 passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
272 change-language:
273 after:
274 fadeIn: 1
275 stay: 3
276 fadeOut: 1
277 title: '&a&lSuccessful!'
278 subtitle: '&aYour language has been changed!'
279 header: |-
280 &f
281 &a&lWelcome %PLAYER_NAME%!
282 &f
283 footer: |-
284 &f
285 &aYour language has been changed!
286 &f
287 chat: ''
288 error:
289 registred: '&c&lRegistered! &cYou are not registered!'
290 logged: '&c&lLogged! &cYou are not logged!'
291 enter-language: '&c&lInvalid arguments! &cEnter language!'
292 incorrect-language: '&c&lInvalid language! &cEnter correct language!'
293 jpremium-register:
294 after: '&a&lRegistered! &aYou have been registered new player!'
295 error:
296 registered: '&c&lRegistered! &cYou are not registered!'
297 logged: '&c&lLogged! &cYou are not logged!'
298 enter-nickname-and-password: '&c&lInvalid arguments! &cEnter player nickname and password!'
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-auto-login:
312 after:
313 turned-auto-login: '&a&lTurned auto login! &aThis user do not need password to login!'
314 turned-password: '&a&lTurned password! &aThis user need password to login!'
315 kick-message-turned-auto-login: '&a&lTurned auto login! &aYou do not need use password to login!'
316 kick-message-turned-password: '&a&lTurned password! &aYou need use password to login!'
317 error:
318 enter-nickname: '&c&lInvalid arguments! &cEnter player nickname!'
319 enter-nickname-and-password: '&c&lInvalid arguments! &cEnter player nickname and password!'
320 user-is-not-premium: '&c&lUser is Premium! &cThis user is premium player!'
321 user-is-not-exits: '&c&lUser is not exist! &cThis user is not exist!'
322 jpremium-change-password:
323 after:
324 user-kick: '&a&lPassword Changed! &aYour password has been changed!'
325 password-changed: '&a&lPassword Changed! &aPassword has been changed!'
326 error:
327 registered: '&c&lRegistered! &cYou are not registered!'
328 logged: '&c&lLogged! &cYou are not logged!'
329 enter-nickname-and-password: '&c&lInvalid arguments! &cEnter player nickname and password!'
330 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
331 user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
332 user-is-not-registered: '&c&lUser is not registered! &cThis user is not registered!'
333 jpremium-change-language:
334 after:
335 user-changed:
336 fadeIn: 1
337 stay: 3
338 fadeOut: 1
339 title: '&a&lSuccessful!'
340 subtitle: '&aYour language has been changed!'
341 header: |-
342 &f
343 &a&lWelcome %PLAYER_NAME%!
344 &f
345 footer: |-
346 &f
347 &aYour language has been changed!
348 &f
349 chat: ''
350 language-changed: '&a&lLanguage Changed! &aLanguage has been changed!'
351 error:
352 registred: '&c&lRegistered! &cYou are not registered!'
353 logged: '&c&lLogged! &cYou are not logged!'
354 enter-nickname-and-language: '&c&lInvalid arguments! &cEnter nickname and language!'
355 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
356 incorrect-language: '&c&lInvalid language! &cEnter correct language!'
357 jpremium-verify:
358 after:
359 premium: '&a&lPremium &aThis user is premium!'
360 non-premium: '&a&lNon-Premium &aThis user is non-premium!'
361 error:
362 registered: '&c&lRegistered! &cYou are not registered!'
363 logged: '&c&lLogged! &cYou are not logged!'
364 enter-nickname: '&c&lInvalid arguments! &cEnter player nickname!'
365 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist in JPremium database!'
366 jpremium-players:
367 after:
368 separator: '&8===================='
369 list: '&a%NUMBER%&8. &a%PLAYER_CORRECT_NAME% &8/ &a%PLAYER_LANGUAGE% &8/ &a%PLAYER_IP%'
370 error:
371 enter-min-max: '&c&lInvalid arguments! &cEnter min and max players quantity!'
372 invalid-quantity: '&c&lInvalid arguments! &cMin must be greatest than 0 and smaller than max! Max must be equal or smaller than %MAX%!'