Guest User

Untitled

a guest
Mar 31st, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.88 KB | None | 0 0
  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
  4. settings:
  5. mysql:
  6. host: localhost
  7. port: 3306
  8. user: root
  9. password: MySQL127
  10. database: heros
  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: MiChiamoLuca127 # 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: 2 # 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: en # 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. - mc.herospvp.net
  44. - herospvp.net
  45. - 185.25.204.181
  46. staff-addresses: # Using only these addresses player with 'jpremium.staff' permission can join to the server.
  47. - admin.example.com
  48. login:
  49. commands: # Login command aliases. The first command is main command.
  50. - login
  51. - l
  52. server: # Server names to which non-premium player connect in order to login.
  53. - hub
  54. after: # Server names to which non-premium and premium player connect after login.
  55. - faction
  56. time: 20 # How many time has non-premium player to login.
  57. kick-when-bad-password: false # Whether to kick non-premium player when he enter wrong password.
  58. register:
  59. commands: # Register command aliases. If you want disable command, please set to []
  60. - register
  61. - r
  62. server: # Server names to which non-premium player connect in order to login.
  63. - hub
  64. after: # Server names to which non-premium and premium player connect after login.
  65. - faction
  66. time: 60 # How many time has non-premium player to register.
  67. password-min-length: 5 # What is the minimum number of characters in the password
  68. password-max-length: 30 # What is the maximal number of characters in the password
  69. case-sensitive-bad-passwords: true # Whether to check case sensitive of bad passwords.
  70. bad-passwords: # The passwords are considered as unsafe and non-premium player cannot set they as password.
  71. - 12345
  72. - qwerty
  73. - abcdef
  74. - ciao123
  75. - porcodio
  76. - diocane
  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
  115. messages:
  116. en:
  117. servers-not-responding: '&c&lError! &cAuthentication servers do not respond, we can not verify your account!'
  118. max-ip-accounts: '&c&lError! &cYour ip address has already been registered with the maximum number of accounts!'
  119. website-registration: '&a&lWebsite registration! &aPlease visit www.example.com/register to register your account!'
  120. update: '&a&lJPremium update! &aA new version of plugin! Download now from https://www.spigotmc.org/resources/jpremium.27766/'
  121. disallow-address: '&c&lDisallow address! &cPlease connect to server using example.com address!'
  122. disallow-staff-address: '&c&lDisallow address! &cPlease connect to server using example.com address!'
  123. boss-bar: '&a&lHello %PLAYER_NAME%, You are playing on the &6&lEXAMPLE.COM&a&l!'
  124. premium:
  125. fadeIn: 1
  126. stay: 3
  127. fadeOut: 1
  128. title: '&a&lWelcome %PLAYER_NAME%!'
  129. subtitle: '&aYou has logged by premium account!'
  130. header: |-
  131. &f
  132. &a&lWelcome %PLAYER_NAME%!
  133. &f
  134. footer: |-
  135. &f
  136. &aYou has logged by premium account!
  137. &f
  138. chat: |-
  139. &f
  140. &a&lWelcome %PLAYER_NAME%!
  141. &aYou has logged by premium account!
  142. &f
  143. non-premium:
  144. login:
  145. before:
  146. fadeIn: 1
  147. stay: 18
  148. fadeOut: 1
  149. title: '&e&lPlease login using:'
  150. subtitle: '&6/login <password>'
  151. header: |-
  152. &f
  153. &e&lPlease login using:
  154. &f
  155. footer: |-
  156. &f
  157. &6/login <password>
  158. &f
  159. chat: ''
  160. after:
  161. fadeIn: 1
  162. stay: 3
  163. fadeOut: 1
  164. title: '&a&lWelcome %PLAYER_NAME%!'
  165. subtitle: '&aYou has logged by non-premium account!'
  166. header: |-
  167. &f
  168. &a&lWelcome %PLAYER_NAME%!
  169. &f
  170. footer: |-
  171. &f
  172. &aYou has logged by non-premium account!
  173. &f
  174. chat: |-
  175. &f
  176. &a&lWelcome %PLAYER_NAME%!
  177. &aYou has logged by non-premium account!
  178. &f
  179. error:
  180. timeout: '&c&lTimeout! &cJoin to the server and try again!'
  181. registered: '&c&lRegistered! &cYou must registered to login!'
  182. logged: '&c&lLogged! &cYou are already logged!'
  183. enter-password: '&c&lInvalid arguments! &cEnter password and try again!'
  184. incorrect-password: '&c&lIncorrect password! &cEnter correct password and try again!'
  185. incorrect-nickname: '&c&lIncorrect nickname! &cLogin with %PLAYER_CORRECT_NAME% player name, not with %PLAYER_NAME%!'
  186. register:
  187. before:
  188. fadeIn: 1
  189. stay: 28
  190. fadeOut: 1
  191. title: '&e&lPlease register using:'
  192. subtitle: '&6/register <password> <re-password> <captcha>'
  193. header: |-
  194. &f
  195. &e&lPlease register using:
  196. &f
  197. footer: |-
  198. &f
  199. &6/register <password> <re-password> <captcha>
  200. &f
  201. chat: ''
  202. after:
  203. fadeIn: 1
  204. stay: 3
  205. fadeOut: 1
  206. title: '&a&lWelcome %PLAYER_NAME%!'
  207. subtitle: '&aYou has logged by non-premium account!'
  208. header: |-
  209. &f
  210. &a&lWelcome %PLAYER_NAME%!
  211. &f
  212. footer: |-
  213. &f
  214. &aYou has logged by non-premium account!
  215. &f
  216. chat: |-
  217. &f
  218. &a&lWelcome %PLAYER_NAME%!
  219. &aYou has logged by non-premium account!
  220. &f
  221. captcha: '&eYour captcha is &6%CAPTCHA%'
  222. premium: '&a&lDetected premium! &aIf you have premium launcher and you want to auto login your account, please execute /autologin! &cDo not execute this command on the cracked launcher!'
  223. error:
  224. timeout: '&c&lTimeout! &cJoin to the server and try again!'
  225. registered: '&c&lRegistered! &cYou are already registered!'
  226. enter-passwords: '&c&lInvalid arguments! &cEnter password, re-password, captcha and try again!'
  227. password-too-short: '&c&lInvalid password! &cEnter longer password!'
  228. password-too-long: '&c&lInvalid password! &cEnter shorter password!'
  229. password-bad: '&c&lInvalid password! &cEnter better password!'
  230. passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
  231. incorrect-captcha: '&c&lIncorrect captcha! &cEnter correct captcha and try again!'
  232. unregister:
  233. after: '&a&lUnregistered! &aYou have been unregistered!'
  234. error:
  235. registered: '&c&lRegistered! &cYou are not registered!'
  236. logged: '&c&lLogged! &cYou are not logged!'
  237. premium: '&c&lYou are Premium &cYou can not unregister premium account!'
  238. enter-password: '&c&lInvalid arguments! &cEnter password and try again!'
  239. incorrect-password: '&c&lIncorrect password! &cEnter correct password and try again!'
  240. auto-login:
  241. after:
  242. premium: '&a&lAuto Login! &aYou do not need use password to login!'
  243. password: '&a&lAuto Login! &aYou need use password to login!'
  244. error:
  245. premium: '&c&lYou are not Premium &cYou can not auto login non-premium account!'
  246. disable-auto-login: '&c&lDisabled! &cYou could not to disable auto login!'
  247. enter-passwords: '&c&lInvalid arguments! &cEnter password, re-password and try again!'
  248. password-too-short: '&c&lInvalid password! &cEnter longer password!'
  249. password-too-long: '&c&lInvalid password! &cEnter shorter password!'
  250. password-bad: '&c&lInvalid password! &cEnter better password!'
  251. passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
  252. change-password:
  253. after:
  254. fadeIn: 1
  255. stay: 3
  256. fadeOut: 1
  257. title: '&a&lSuccessful!'
  258. subtitle: '&aYour password has been changed!'
  259. header: |-
  260. &f
  261. &a&lWelcome %PLAYER_NAME%!
  262. &f
  263. footer: |-
  264. &f
  265. &aYour password has been changed!
  266. &f
  267. chat: ''
  268. error:
  269. registred: '&c&lRegistered! &cYou are not registered!'
  270. logged: '&c&lLogged! &cYou are not logged!'
  271. premium: '&c&lYou are Premium &cYou can not change password for premium account!'
  272. enter-passwords: '&c&lInvalid arguments! &cEnter old password, password, re-password and try again!'
  273. incorrect-old-password: '&c&lInvalid old password! &cEnter old password na try again!'
  274. passwords-same: '&c&lInvalid passwords! &cPassword are not same!'
  275. change-language:
  276. after:
  277. fadeIn: 1
  278. stay: 3
  279. fadeOut: 1
  280. title: '&a&lSuccessful!'
  281. subtitle: '&aYour language has been changed!'
  282. header: |-
  283. &f
  284. &a&lWelcome %PLAYER_NAME%!
  285. &f
  286. footer: |-
  287. &f
  288. &aYour language has been changed!
  289. &f
  290. chat: ''
  291. error:
  292. registred: '&c&lRegistered! &cYou are not registered!'
  293. logged: '&c&lLogged! &cYou are not logged!'
  294. enter-language: '&c&lInvalid arguments! &cEnter language!'
  295. incorrect-language: '&c&lInvalid language! &cEnter correct language!'
  296. jpremium-register:
  297. after: '&a&lRegistered! &aYou have been registered new player!'
  298. error:
  299. registered: '&c&lRegistered! &cYou are not registered!'
  300. logged: '&c&lLogged! &cYou are not logged!'
  301. enter-nickname-and-password: '&c&lInvalid arguments! &cEnter player nickname and password!'
  302. user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
  303. user-is-exist: '&c&lUser is exist! &cThis user is already exist!'
  304. jpremium-unregister:
  305. after:
  306. user-kick: '&a&lUnregistered &aYou have been unregistered!'
  307. unregistered: '&a&lUnregistered &aUser has been unregistered!'
  308. error:
  309. registered: '&c&lRegistered! &cYou are not registered!'
  310. logged: '&c&lLogged! &cYou are not logged!'
  311. enter-nickname: '&c&lInvalid arguments! &cEnter player nickname!'
  312. user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
  313. user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
  314. user-is-not-registered: '&c&lUser is not registered! &cThis user is not registered!'
  315. jpremium-change-password:
  316. after:
  317. user-kick: '&a&lPassword Changed! &aYour password has been changed!'
  318. password-changed: '&a&lPassword Changed! &aPassword has been changed!'
  319. error:
  320. registered: '&c&lRegistered! &cYou are not registered!'
  321. logged: '&c&lLogged! &cYou are not logged!'
  322. enter-nickname-and-password: '&c&lInvalid arguments! &cEnter player nickname and password!'
  323. user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
  324. user-is-premium: '&c&lUser is Premium! &cThis user is premium player!'
  325. user-is-not-registered: '&c&lUser is not registered! &cThis user is not registered!'
  326. jpremium-change-language:
  327. after:
  328. user-changed:
  329. fadeIn: 1
  330. stay: 3
  331. fadeOut: 1
  332. title: '&a&lSuccessful!'
  333. subtitle: '&aYour language has been changed!'
  334. header: |-
  335. &f
  336. &a&lWelcome %PLAYER_NAME%!
  337. &f
  338. footer: |-
  339. &f
  340. &aYour language has been changed!
  341. &f
  342. chat: ''
  343. language-changed: '&a&lLanguage Changed! &aLanguage has been changed!'
  344. error:
  345. registred: '&c&lRegistered! &cYou are not registered!'
  346. logged: '&c&lLogged! &cYou are not logged!'
  347. enter-nickname-and-language: '&c&lInvalid arguments! &cEnter nickname and language!'
  348. user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist!'
  349. incorrect-language: '&c&lInvalid language! &cEnter correct language!'
  350. jpremium-verify:
  351. after:
  352. premium: '&a&lPremium &aThis user is premium!'
  353. non-premium: '&a&lNon-Premium &aThis user is non-premium!'
  354. error:
  355. registered: '&c&lRegistered! &cYou are not registered!'
  356. logged: '&c&lLogged! &cYou are not logged!'
  357. enter-nickname: '&c&lInvalid arguments! &cEnter player nickname!'
  358. user-is-not-exist: '&c&lUser is not exist! &cThis user is not exist in JPremium database!'
Add Comment
Please, Sign In to add comment