· 6 years ago · Apr 04, 2019, 09:42 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: localhost
7 port: 3306
8 user: admin
9 password: Pass
10 database: jpremium
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 use-proxy: false # Whether to use proxies to connect with Mojang servers. If you have server where is more than 80 players, I recommend turn on this.
27 secret-key: dgdgbdghdshdchndf53216 # Your server secret key, please enter this same key to config in JPremium config file on the Spigot servers.
28 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.
29 boss-bar-color: 3 # Color of boss bar. (0 - pink, 1 - blue, 2 - red, 3 - green, 4 - yellow, 5 - purple, 6 - white)
30 boss-bar-division: 0 # Division of boss bar. (0 - no division, 1 - 6 notches, 2 - 10 notches, 3 - 12 notches, 4 - 20 notches)
31 max-ip-accounts: 2 # How many non-premium players can register with this same ip address.
32 fixed-unique-id: true # Whether to use random unique id for player. I recommend turn on it.
33 default-language: fr # Default language from messages section.
34 registration-type: SERVER # Whether to allow register non-premium players on the server, website or both sites.
35 disable-auto-login: true # Whether premium player can disable auto login.
36 auto-login-premium: true # Whether to auto login new premium players.
37 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.
38 enable-allow-address: false # Whether to check address which player using to connect to the server.
39 case-sensitive-allow-address: true # Whether to check case sensitive of allow addresses.
40 allow-addresses: # Using only these addresses player can join to the server.
41 - 127.0.0.1
42 - localhost
43 - play.solaria-mc.com
44 - mc.solaria-mc.com
45 staff-addresses: # Using only these addresses player with 'jpremium.staff' permission can join to the server.
46 - admin.example.com
47 login:
48 commands: # Login command aliases. The first command is main command.
49 - login
50 - l
51 server: # Server names to which non-premium player connect in order to login.
52 - lobby2
53 - lobby2
54 after: # Server names to which non-premium and premium player connect after login.
55 - lobby1
56 - lobby2
57 time: 20 # How many time has non-premium player to login.
58 kick-when-bad-password: false # Whether to kick non-premium player when he enter wrong password.
59 register:
60 commands: # Register command aliases. If you want disable command, please set to []
61 - register
62 - r
63 server: # Server names to which non-premium player connect in order to register.
64 - lobby2
65 - lobby2
66 after: # Server names to which non-premium player connect after register.
67 - lobby1
68 - lobby2
69 time: 60 # 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: false # 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: # Unregister command aliases. If you want disable command, please set to []
81 - unregister
82 - unreg
83 auto-login:
84 commands: # Auto login command aliases. If you want disable command, please set to []
85 - autologin
86 - al
87 change-password:
88 commands: # Change password command aliases. If you want disable command, please set to []
89 - changepassword
90 - change
91 change-language:
92 commands: # Change language command aliases. If you want disable command, please set to []
93 - language
94 - lang
95 jpremium-register:
96 commands: # Register admin command aliases. If you want disable command, please set to []
97 - jregister
98 - jreg
99 jpremium-unregister:
100 commands: # Unregister admin command aliases. If you want disable command, please set to []
101 - junregister
102 - junreg
103 jpremium-change-password:
104 commands: # Change password admin command aliases. If you want disable command, please set to []
105 - jchangepassword
106 - jchpass
107 jpremium-change-language:
108 commands: # Change language admin command aliases. If you want disable command, please set to []
109 - jlanguage
110 - jlang
111 jpremium-verify:
112 commands: # Verify admin command aliases. If you want disable command, please set to []
113 - jverify
114 - jver
115messages:
116 fr:
117 servers-not-responding: "&c&lErreur ! &cLes serveurs d'authentification ne répondent pas, nous ne pouvons pas vérifier votre compte!"
118 max-ip-accounts: "&c&lErreur ! &cVous avez dépassé le nombre maximum d'utilisateur."
119 website-registration: "&a&lInscription sur le site! &aVous pouvoir se connecter vous devez vous s'inscrire sur le site solaria-mc.com."
120 update: "&a&lJMise à jour ! &aNouvelle version disponible, contacter l'administrateur"
121 disallow-address: "&c&lAdresse Interdite! &cVeuillez vous connecter au serveur en utilisant l'adresse play.solaria-mc.com."
122 disallow-staff-address: "&c&lAdresse Interdite! &cVeuillez vous connecter au serveur en utilisant l'adresse play.solaria-mc.com."
123 boss-bar: '&a&lSalut %PLAYER_NAME%, Tu es actuellement en train de jouer sur &6&lsolaria-mc.com &a&l!'
124 premium:
125 fadeIn: 1
126 stay: 3
127 fadeOut: 1
128 title: '&a&lBienvenue %PLAYER_NAME% sur &6&lsolaria-mc.com &a&l!'
129 subtitle: '&aVous vous êtes connecté avec un compte premium.'
130 header: |-
131 &f
132 &a&lBienvenue %PLAYER_NAME% sur &6&lSolaria &a&l!
133 &f
134 footer: |-
135 &f
136 &aTu es connecté avec ton compte premium.
137 &6play.solaria-mc.com
138 &f
139 chat: |-
140 &f
141 &a&lBienvenue %PLAYER_NAME% sur &6&lSolaria &a&l!
142 &aTu es connecté avec ton compte premium.
143 &f
144 non-premium:
145 login:
146 before:
147 fadeIn: 1
148 stay: 18
149 fadeOut: 1
150 title: '&e&lPour pouvoir se connecter tu dois te login avec:'
151 subtitle: '&6/login <mots-de-passe>'
152 header: |-
153 &f
154 &e&lPour pouvoir se connecter tu dois te login avec:
155 &f
156 footer: |-
157 &f
158 &6/login <mot-de-passe>
159 &f
160 chat: ''
161 after:
162 fadeIn: 1
163 stay: 3
164 fadeOut: 1
165 title: '&a&lBienvenue %PLAYER_NAME% sur &6&lsolaria-mc.com &a&l!'
166 subtitle: '&aYou has logged by non-premium account!'
167 header: |-
168 &f
169 &a&lBienvenue %PLAYER_NAME% sur &6&lSolaria &a&l!
170 &f
171 footer: |-
172 &f
173 &aTu es connecté avec ton compte non-premium.
174 &6play.solaria-mc.com
175 &f
176 chat: |-
177 &f
178 &a&lBienvenue %PLAYER_NAME% sur &6&lSolaria &a&l!
179 &aTu es connecté avec ton compte non-premium.
180 &f
181 error:
182 timeout: '&c&lTimeout ! &cRéessayez de rejoindre le serveur.'
183 registered: '&c&lInscription ! &cVous devez être inscrire pour vous connecter.'
184 logged: '&c&lConnecté ! &cVous êtes déjà connecté avec ce compte !'
185 enter-password: '&c&lArguments invalides! &cEntré un mot de passe correcte et réessayez.'
186 incorrect-password: '&c&lMot de passe incorrect ! &cEntrez le mot de passe correct et essayez à nouveau.'
187 incorrect-nickname: '&c&lPseudo incorrect ! &cConnecté en tant que %PLAYER_CORRECT_NAME%, et non pas avec %PLAYER_NAME%.'
188 register:
189 before:
190 fadeIn: 1
191 stay: 28
192 fadeOut: 1
193 title: '&e&lVeuillez vous inscrire en utilisant:'
194 subtitle: '&6/register <mot-de-passe> <mot-de-passe>'
195 header: |-
196 &f
197 &e&lVeuillez vous inscrire en utilisant:
198 &f
199 footer: |-
200 &f
201 &6/register <mot-de-passe> <mot-de-passe>
202 &f
203 chat: ''
204 after:
205 fadeIn: 1
206 stay: 3
207 fadeOut: 1
208 title: '&a&lBienvenue %PLAYER_NAME% sur &6&lsolaria-mc.com &a&l!'
209 subtitle: '&aVous vous êtes connecté avec un compte non premium!'
210 header: |-
211 &f
212 &a&lBienvenue %PLAYER_NAME% sur &6&lsolaria-mc.com &a&l!
213 &f
214 footer: |-
215 &f
216 &aTu es connecté avec ton compte non-premium.
217 &6play.solaria-mc.com
218 &f
219 chat: |-
220 &f
221 &a&lBienvenue %PLAYER_NAME% sur &6&lsolaria-mc.com &a&l!
222 &aTu es connecté avec ton compte non-premium.
223 &f
224 captcha: '&eVotre captcha de connection est &6%CAPTCHA%'
225 premium: "&a&lCompte premium détecté! &aSi vous avez un launcher premium et que vous souhaitez vous connecter automatiquement à votre compte, veuillez exécuter /autologin. &cN'exécutez pas cette commande si vous avez un compte non-premium."
226 error:
227 timeout: '&c&lTimeout ! &cRéessayez de rejoindre le serveur.'
228 registered: '&c&lInscription ! &cVous êtes déjà inscrit.'
229 enter-passwords: '&c&lArguments invalides ! &cEntrez le mot de passe, re-mot de passe et ressayez à nouveau!'
230 password-too-short: '&c&lMot de passe incorrect ! &cEntrez un mot de passe plus long.'
231 password-too-long: '&c&lMot de passe incorrect ! &cEntrez un mot de passe plus court.'
232 password-bad: '&c&lMot de passe incorrect ! &cEntrez un meilleur mot de passe.'
233 passwords-same: "&c&lMot de passe incorrect ! &cLe mot de passe n'est pas le même."
234 incorrect-captcha: '&c&lIncorrect captcha! &cEnter correct captcha and try again!'
235 unregister:
236 after: '&a&lDésincription ! &aVotre compte a bien été désincrit.'
237 error:
238 registered: "&c&lInscription ! &cVous n'êtes pas inscrit."
239 logged: "&c&lLogin ! &cVous n'êtes pas login."
240 premium: '&c&lVous êtes Premium &cVous ne pouvez pas désincrire votre compte premium.'
241 enter-password: '&c&lArguments invalides ! &cEntrez le mot de passe et ressayez à nouveau.'
242 incorrect-password: '&c&lMot de passe incorrect ! &cEntrez le mot de passe correct et ressayez à nouveau.'
243 auto-login:
244 after:
245 premium: "&a&lAuto Login! &aVous n'avez pas besoin d'utiliser un mot de passe pour vous connecter !"
246 password: '&a&lAuto Login! &aVous devez utiliser un mot de passe pour vous connecter !'
247 error:
248 premium: '&c&lVous êtes Premium &cVous ne pouvez pas vous connecter automatiquement compte avec un compte non-premium.'
249 disable-auto-login: '&c&lDésactivé! &cVous ne pouvez pas désactiver la connexion automatique !'
250 enter-passwords: '&c&lArguments invalides ! &cEnter password, re-password and try again!'
251 password-too-short: '&c&lMot de passe incorrect ! &cEntrez un mot de passe plus long.'
252 password-too-long: '&c&lMot de passe incorrect ! &cEntrez un mot de passe plus court.'
253 password-bad: '&c&lMot de passe incorrect ! &cEntrez un meilleur mot de passe.'
254 passwords-same: "&c&lMot de passe incorrect ! &cLe mot de passe n'est pas le même."
255 change-password:
256 after:
257 fadeIn: 1
258 stay: 3
259 fadeOut: 1
260 title: '&a&lConnection réussie !'
261 subtitle: '&aVotre mot de passe a bien été changé !'
262 header: |-
263 &f
264 &a&lBienvenue %PLAYER_NAME% sur &6&lsolaria-mc.com &a&l!
265 &f
266 footer: |-
267 &f
268 '&aVotre mot de passe a bien été changé !'
269 &f
270 chat: ''
271 error:
272 registred: "&c&lInscription ! &cVous n'êtes pas inscrit."
273 logged: "&c&lLogin ! &cVous n'êtes pas login."
274 premium: '&c&lVous êtes Premium &cVous ne pouvez pas changé votre password avec un compte premium.'
275 enter-passwords: '&c&lArguments invalides ! &cEnter old password, password, re-password and try again!'
276 incorrect-old-password: "&c&lAncien mot de passe invalide ! &cEntrez l'ancien mot de passe et essayez à nouveau!"
277 passwords-same: "&c&lMot de passe incorrect ! &cLe mot de passe n'est pas le même!"
278 change-language:
279 after:
280 fadeIn: 1
281 stay: 3
282 fadeOut: 1
283 title: '&a&lRéussie !'
284 subtitle: '&aVotre langue a bien été changée !'
285 header: |-
286 &f
287 &a&lBienvenue %PLAYER_NAME% sur &6&lsolaria-mc.com &a&l!
288 &f
289 footer: |-
290 &f
291 &aVotre langue a bien été changée!
292 &f
293 chat: ''
294 error:
295 registred: "&c&lInscription ! &cVous n'êtes pas inscrit."
296 logged: "&c&lLogin ! &cVous n'êtes pas login."
297 enter-language: '&c&lArguments invalides ! &cEntrez la langue!'
298 incorrect-language: '&c&lLangue invalide ! &cEntrez une langue correcte!'
299 jpremium-register:
300 after: '&a&lInscrit ! &aVous avez été enregistré nouveau joueur!'
301 error:
302 registered: "&c&lInscription ! &cVous n'êtes pas inscrit."
303 logged: "&c&lLogin ! &cVous n'êtes pas login."
304 enter-nickname-and-password: '&c&lArguments invalides ! &cEntrez le pseudo et le mot de passe du joueur !'
305 user-is-premium: "&c&lL'utilisateur est Premium. &cCet utilisateur est un joueur premium !"
306 user-is-exist: "&c&lL'utilisateur existant. &cCet utilisateur existe déjà !"
307 jpremium-unregister:
308 after:
309 user-kick: "&a&lNon enregistré &aTu as été dé-enregistré"
310 unregistered: "&a&lDé-enregistré &aL'utilisateur a été dé-enregistré!"
311 error:
312 registered: '&c&lRegistered! &cYou are not registered!'
313 logged: '&c&lLogged! &cYou are not logged!'
314 enter-nickname: '&c&lArguments invalides ! &cEnter player nickname!'
315 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
316 user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
317 user-is-not-registered: '&c&lUser is not registered! &cThis user is not registered!'
318 jpremium-change-password:
319 after:
320 user-kick: '&a&lPassword Changed! &aYour password has been changed!'
321 password-changed: '&a&lPassword Changed! &aPassword has been changed!'
322 error:
323 registered: '&c&lRegistered! &cYou are not registered!'
324 logged: '&c&lLogged! &cYou are not logged!'
325 enter-nickname-and-password: '&c&lArguments invalides ! &cEnter player nickname and password!'
326 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
327 user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
328 user-is-not-registered: '&c&lUser is not registered! &cThis user is not registered!'
329 jpremium-change-language:
330 after:
331 user-changed:
332 fadeIn: 1
333 stay: 3
334 fadeOut: 1
335 title: '&a&lSuccessful!'
336 subtitle: '&aYour language has been changed!'
337 header: |-
338 &f
339 &a&lWelcome %PLAYER_NAME%!
340 &f
341 footer: |-
342 &f
343 &aYour language has been changed!
344 &f
345 chat: ''
346 language-changed: '&a&lLanguage Changed! &aLanguage has been changed!'
347 error:
348 registred: '&c&lRegistered! &cYou are not registered!'
349 logged: '&c&lLogged! &cYou are not logged!'
350 enter-nickname-and-language: '&c&lArguments invalides ! &cEnter nickname and language!'
351 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
352 incorrect-language: '&c&lInvalid language! &cEnter correct language!'
353 jpremium-verify:
354 after:
355 premium: '&a&lPremium &aThis user is premium!'
356 non-premium: '&a&lNon-Premium &aThis user is non-premium!'
357 error:
358 registered: '&c&lRegistered! &cYou are not registered!'
359 logged: '&c&lLogged! &cYou are not logged!'
360 enter-nickname: '&c&lArguments invalides ! &cEnter player nickname!'
361 user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist in JPremium database!'