· 5 years ago · Mar 16, 2020, 04:58 PM
1# If you need help, please visit wiki page: https://github.com/Jakubson/JPremium/wiki
2settings:
3 mysql:
4 host: 136.243.72.220
5 port: 3306
6 user: ******************
7 password: *****************
8 database: s1231_user
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: false
24 use-sqlite: false # You have to install this plugin on your BungeeCord server: https://www.spigotmc.org/resources/57191/
25 secret-key: F2emwucYdCHE90jaiVJknkQ1UBZo2yy8dBmR1fYhbFMdF0HBNJZXOf1FS04rSwcQrsgSJwgMWnJbTdVtNsCbmbLYDvjpseXVSo9etzzQjw6ztr4D622nAS9bXDiiiwMy # Your server secret key, please enter this same key to config in JPremium config file on the Spigot servers.
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: 3 # 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: 3 # 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: fr # 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 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.
36 allow-nickname-pattern: '[a-zA-Z0-9_]{3,16}' # Regex pattern of allow nickname.
37 enable-allow-address: true # 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: true # Using only these addresses player can join to the server.
40 - play.ludicraftmc.net
41 - play.ludicraftmc.fr
42 - 185.157.246.96
43 - 185.157.246.96:25500
44 - 185.157.246.96:25700
45 - 185.157.246.96:25800
46 - 185.157.246.96:25900
47 - 185.157.246.96:26001
48 - 185.157.246.96:25565
49 - 136.243.72.220
50 - 136.243.72.220:25588
51 staff-addresses: [] # Using only these addresses player with 'jpremium.staff' permission can join to the server.
52 login:
53 commands:
54 - login
55 - l
56 server: # Server names to which non-premium player connect in order to login.
57 - login
58 after: # Server names to which non-premium or premium player connect after login.
59 - lobby
60 time: 20 # How many time has non-premium player to login.
61 kick-when-bad-password: false # Whether to kick non-premium player when he enter wrong password.
62 register:
63 commands:
64 - register
65 server: # Server names to which non-premium player connect in order to register.
66 - login
67 after: # Server names to which non-premium player connect after register.
68 - lobby
69 time: 120 # How many time has non-premium player to register.
70 password-min-length: 5 # What is the minimum number of characters in the password
71 password-max-length: 30 # What is the maximal number of characters in the password
72 case-sensitive-bad-passwords: true # Whether to check case sensitive of bad passwords.
73 bad-passwords: # The passwords are considered as unsafe and non-premium player cannot set they as password.
74 - 12345
75 - qwerty
76 - abcdef
77 captcha: true # Whether to non-premium player must enter captcha code during register.
78 captcha-length: 6 # The length of captcha code. Maximal length is 32.
79 unregister:
80 commands:
81 - unregister
82 auto-login:
83 commands:
84 - autologin
85 change-password:
86 commands:
87 - changepassword
88 change-language:
89 commands:
90 - language
91 jpremium-register:
92 commands:
93 - jregister
94 jpremium-unregister:
95 commands:
96 - junregister
97 jpremium-auto-login:
98 commands:
99 - jautologin
100 jpremium-change-password:
101 commands:
102 - jchangepassword
103 jpremium-change-language:
104 commands:
105 - jlanguage
106 jpremium-change-skin:
107 commands:
108 - jskin
109 jpremium-verify:
110 commands:
111 - jverify
112 jpremium-players:
113 commands:
114 - jplayers
115 jpremium-convert:
116 commands:
117 - jconvert
118messages:
119 en:
120 servers-not-responding: '&c&l# &7We cannot authorize your account at the moment! Please try again in a few minutes!'
121 max-ip-accounts: '&c&l# &7You cannot register more accounts using your IP address!'
122 website-registration: '&a&l# &7You have to register your account on &amc.example.com&7!'
123 update: '&a&l# &7There is a new update of JPremium, please download now from &ahttps://www.spigotmc.org/resources/27766/&7!'
124 disallow-nickname: '&c&l# &7You cannot use your nickname on this server! Please try use another nickname!'
125 disallow-address: '&c&l# &7You cannot join to the server using this address! Please use &amc.example.com &7address!'
126 disallow-staff-address: '&c&l# &7This account requires a special server IP address to connect with it! Please contact with the server staff!'
127 boss-bar: '&a&l* &7mc.example.com &a&l*'
128 premium:
129 fadeIn: 1
130 stay: 3
131 fadeOut: 1
132 title: '&a&l* &7Hi, &o%PLAYER_NAME% &a&l*'
133 subtitle: '&7You have a premium account!'
134 header: ''
135 footer: ''
136 chat: |
137 &f
138 &a # INFO #
139 &f
140 &7If you want to switch your account to non-premium,
141 &7please execute:
142 &f
143 &a /autologin &o<new password> <re-new password>
144 &f
145 &7In any moment you can come back to premium
146 &7account by execute (without arguments):
147 &f
148 &a /autologin
149 &f
150 &7Do not be afraid of! You will keep your inventory,
151 &7stats, ranks, permission and etc!
152 &f
153 non-premium:
154 login:
155 before:
156 fadeIn: 1
157 stay: 18
158 fadeOut: 1
159 title: '&a&l* &7Please login with &a&l*'
160 subtitle: '&a/login &o<password>'
161 header: ''
162 footer: ''
163 chat:
164 after:
165 fadeIn: 1
166 stay: 3
167 fadeOut: 1
168 title: '&a&l* &7Hi, &o%PLAYER_NAME% &a&l*'
169 subtitle: '&7You have logged'
170 header: ''
171 footer: ''
172 chat: |
173 &f
174 &a # INFO #
175 &f
176 &7If you want to chnage your account
177 &7password please execute:
178 &f
179 &a /changepassword &o<old password> <new password> <re-new password>
180 &f
181 error:
182 timeout: '&c&l# &7The time to login was elapsed! Please try again!'
183 registered: '&c&l# &7You have to register your account to use that command!'
184 logged: '&c&l# &7You are already logged!'
185 enter-password: '&c&l# &7!You have not entered all arguments! Please enter password!'
186 incorrect-password: '&c&l# &7You have entered incorrect password! Please enter correct password!'
187 incorrect-nickname: '&c&l# &7You use incorrect nickname! Please use &a%PLAYER_CORRECT_NAME%&7, not &c%PLAYER_NAME%&7!'
188 register:
189 before:
190 fadeIn: 1
191 stay: 58
192 fadeOut: 1
193 title: '&a&l* &7Please register with &a&l*'
194 subtitle: '&a/register &o<password> <re-password> <captcha>'
195 header: ''
196 footer: ''
197 chat: ''
198 after:
199 fadeIn: 1
200 stay: 3
201 fadeOut: 1
202 title: '&a&l* &7Hi, &o%PLAYER_NAME% &a&l*'
203 subtitle: '&7You have registered!'
204 header: ''
205 footer: ''
206 chat: ''
207 captcha: '&a&l* &7Your captcha code is &a%CAPTCHA% &a&l*'
208 premium: |
209 &f
210 &a # INFO #
211 &f
212 &7Authorization plugin has detected that
213 &7you are using a premium nickname!
214 &7If you have a premium luncher and you do not
215 &7want to login every time when you join to
216 &7the server, please execute (without arguments):
217 &f
218 &a /autologin
219 &f
220 &7Do not execute that command when you have
221 &7a cracked luncher because you lose your account!
222 &7
223 error:
224 timeout: '&c&l# &7The time to register was elapsed! Please try again!'
225 registered: '&c&l# &7You are already registered!'
226 enter-passwords: '&c&l# &7You have not entered all arguments! Please enter password, re-password and captcha!'
227 password-too-short: '&c&l# &7You have entered too short password! Please enter longer password!'
228 password-too-long: '&c&l# &7You have entered too long password! Please enter shorter password!'
229 password-bad: '&c&l# &7The password is too weak! Please enter stronger password!'
230 passwords-same: '&c&l# &7You have entered two different passwords! Please enter the same passwords!'
231 incorrect-captcha: '&c&l# &7You have entered incorrect captcha! Please enter captcha which is on the top of your screen!'
232 unregister:
233 after: '&a&l# &7Your account has been unregistered!'
234 error:
235 premium: '&c&l# &7The premium players cannot use that command!'
236 enter-password: '&c&l# &7You have not entered all arguments! Please a enter password!'
237 incorrect-password: '&c&l# &7You have entered incorrect password! Please enter an correct password!'
238 auto-login:
239 after:
240 premium: '&a&l# &7You have switched your account to a premium! You do not need use login command now!!'
241 password: '&a&l# &7You have switched your account to a non-premium! You need use login command now!'
242 error:
243 premium: '&c&l# &7The non-premium players cannot use that command!'
244 disable-auto-login: '&c&l# &7You cannot switch your account to non-premium player!'
245 enter-passwords: '&c&l# &7You have not entered all arguments! Please enter a password, re-password!'
246 password-too-short: '&c&l# &7You have entered too short password! Please enter longer password!'
247 password-too-long: '&c&l# &7You have entered too long password! Please enter shorter password!'
248 password-bad: '&c&l# &7The password is too weak! Please enter stronger password!'
249 passwords-same: '&c&l# &7You have entered two different passwords! Please enter the same passwords!'
250 change-password:
251 after:
252 fadeIn: 0
253 stay: 0
254 fadeOut: 0
255 title: ''
256 subtitle: ''
257 header: ''
258 footer: ''
259 chat: '&a&l# &7Your password has been changed!'
260 error:
261 premium: '&c&l# &7The premium players cannot use that command!'
262 enter-passwords: '&c&l# &7You have not entered all arguments! Please enter an old password, a new password, re-new-password!'
263 incorrect-old-password: '&c&l# &7You have entered incorrect old password! Please enter old correct password!'
264 passwords-same: '&c&l# &7You have entered two different new passwords! Please enter the same passwords!'
265 change-language:
266 after:
267 fadeIn: 0
268 stay: 0
269 fadeOut: 0
270 title: ''
271 subtitle: ''
272 header: ''
273 footer: ''
274 chat: '&a&l# &7Your language has been changed!'
275 error:
276 enter-language: '&c&l# &7You have not entered all arguments! Please enter a language!'
277 incorrect-language: '&c&l# &7You have entered incorrect language name! Please enter correct language!'
278 jpremium-register:
279 after: '&a&l# &&You have register that user!'
280 error:
281 enter-nickname-and-password: '&c&l# &7You have not entered all arguments! Please enter nickname and password!'
282 user-is-exist: '&c&l# &7That user is already registered!'
283 jpremium-unregister:
284 after:
285 user-kick: '&a&l# &7Your account has been unregistered'
286 unregistered: '&a&l# &7You have unregistered that user!'
287 error:
288 enter-nickname: '&c&l# &7You have not entered all arguments! Please enter nickname!'
289 user-is-not-exist: '&c&l# &7That user is not registered!'
290 user-is-premium: '&c&l# &7You cannot unregister that user because it is premium!'
291 user-is-not-registered: '&c&l# &7That user is not registered!'
292 jpremium-auto-login:
293 after:
294 turned-auto-login: '&a&l# &7You have switched the account of that user to premium!'
295 turned-password: '&a&l# &7You have switched the account of that user to non-premium!'
296 kick-message-turned-auto-login: '&a&l# &7You have switched your account to a premium! You do not need use login command now!!'
297 kick-message-turned-password: '&a&l# &7You have switched your account to a non-premium! You need use login command now!'
298 error:
299 enter-nickname: '&c&l# &7You have not entered all arguments! Please enter nickname!'
300 enter-nickname-and-password: '&c&l# &7You have not entered all arguments! Please enter nickname and password!'
301 user-is-not-premium: '&c&l# &7You cannot switch the account of that user for premium because it is non-premium!'
302 user-is-not-exits: '&c&l# &7That user is not registered!'
303 jpremium-change-password:
304 after:
305 user-kick: '&a&l# &7Your password has been changed!'
306 password-changed: '&a&l# &7You have changed the password of that user!'
307 error:
308 enter-nickname-and-password: '&c&l# &7You have not entered all arguments! Please enter nickname and password!'
309 user-is-not-exist: '&c&l# &7That user is not registered!'
310 user-is-premium: '&c&l# &7You cannot change that user password because it is premium!'
311 user-is-not-registered: '&c&l# &7That user is not registered!'
312 jpremium-change-language:
313 after:
314 user-changed:
315 fadeIn: 0
316 stay: 0
317 fadeOut: 0
318 title: ''
319 subtitle: ''
320 header: ''
321 footer: ''
322 chat: '&a&l# &7Your language has been changed!'
323 language-changed: '&a&l# &7You have changed the language of that user!'
324 error:
325 enter-nickname-and-language: '&c&l# &7You have not entered all arguments! Please enter nickname and language!'
326 user-is-not-exist: '&c&l# &7That user is not registered!'
327 user-is-not-registered: '&c&l# &7That user is not registered!'
328 incorrect-language: '&c&l# &7You have entered incorrect language name! Please enter correct language!'
329 jpremium-change-skin:
330 after:
331 user-changed: '&a&l# &7You skin has been changed! To see result, please re-join to the server!'
332 skin-changed: '&a&l# &7You have changed the skin of that user!'
333 error:
334 wait: '&a&l# &7Servers are processing your request! Please wait!'
335 eneter-nickname-and-skin: '&c&l# &7You have not entered all arguments! Please enter nickname itself (to restart skin) or nickname and skin nickname (to set a new skin)!'
336 too-many-requests: '&c&l# &7You can use that command every 5 minutes!'
337 skin-is-not-exits: '&c&l# &7That skin is not exits!'
338 jpremium-verify:
339 after:
340 premium: '&a&l# &7That user is premium!'
341 non-premium: '&a&l# &7That user is non-premium!'
342 error:
343 enter-nickname: '&c&l# &7You have not entered all arguments! Please enter nickname!'
344 user-is-not-exist: '&c&l# &7That user is not registered!'
345 jpremium-players:
346 after:
347 separator: '&a&l* &7-------------------- &a&l*'
348 list: '&a&l%NUMBER%&8. &a%PLAYER_CORRECT_NAME% &8/ &7%PLAYER_LANGUAGE% &8/ &7%PLAYER_IP%'
349 error:
350 enter-min-max: '&c&l# &7You have not entered all arguments! Please enter minimum and maximum numbers of players!'
351 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%!'