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