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