DeleteMetaInf

DJP config

Feb 1st, 2020
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.39 KB | None | 0 0
  1. ################################################################################################
  2. # ____ _ _ _ #
  3. # | _ \ ___ _ __ __ _ | |_ ___ _ __ | | ___ (_) _ __ _ #
  4. # | | | | / _ \ | '_ \ / _` | | __| / _ \ | '__| _ | | / _ \ | | | '_ \ _| |_ #
  5. # | |_| | | (_) | | | | | | (_| | | |_ | (_) | | | | |_| | | (_) | | | | | | | |_ _| #
  6. # |____/ \___/ |_| |_| \__,_| \__| \___/ |_| \___/ \___/ |_| |_| |_| |_| #
  7. # #
  8. ################################################################################################
  9.  
  10. # Debugging mode, this will help you give extra information if something is not working.
  11. debug: false
  12.  
  13. storage:
  14. # Possible storage types: FILE:JSON, FILE:YAML, MYSQL, SQLITE, H2. If using H2 or SQLITE, make sure to set max-pool-size to 1!
  15. type: 'FILE:JSON'
  16.  
  17. # FILE only: when set to true, the data will be written to disk every time a toggle happens.
  18. # THIS CAN BE VERY INEFFICIENT, especially on larger servers.
  19. # When on false, file only gets saved when server shuts down (data can get lost with f.e. crashes)
  20. save-per-change: false
  21.  
  22. # The hostname (IP) to connect to
  23. hostname: '127.0.0.1'
  24. # Port to be used
  25. port: 3306
  26. # The database / scheme name
  27. database: 'database'
  28. # The username, should at least have write & read access to the database above!
  29. username: 'username'
  30. # The password corresponding to the username above
  31. password: 'password'
  32. # Should DonatorJoinPlus try to establish a SSL connection? (only for SQL)
  33. useSSL: false
  34.  
  35. pool:
  36. # How many connections are allowed to be made?
  37. # Find more information at:
  38. # https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  39. # Pool sizing SHOULD BE SET TO 1 WHEN USING H2 OR SQLITE
  40. max-pool-size: 5
  41. # How many idle connections should be maintained?
  42. # It is recommended to set this to the same value as the max-pool-size
  43. min-idle: 5
  44. # Maximum lifetime of a connection. Time in seconds.
  45. max-lifetime: 1500
  46. # How long should DonatorJoinPlus wait before timing out a connection?
  47. connection-timeout: 8
  48.  
  49. # Set to false to disable default MC join message.
  50. joinmessage: true
  51.  
  52. # Set to false to disable default MC quit message.
  53. quitmessage: true
  54.  
  55. # If true, only the highest priority rank will be broadcasted!
  56. # If false, a broadcast for any found rank will be sent.
  57. usepriorities: true
  58.  
  59. # If false, DonatorJoinPlus will use the 'name' you set in the ranks below as group identifiers.
  60. # People with a group with the same name as the rank will get the join message.
  61. #
  62. # If true, DonatorJoinPlus will use the 'permission' you set in the ranks below as identifier.
  63. # If the user has the permission it will send the highest priority join message,
  64. # or all if usepriorities is set to false.
  65. usepermissions: true
  66.  
  67. messages:
  68. prefix: '&e&lDonatorJoin&b&l+ &7» '
  69. never-joined: '&cThat player didn''t join before!'
  70. no-perm: '&cYou are not allowed to do this!'
  71. reloaded: '&aThe plugin has been reloaded successfully!'
  72. enabled: '&aJoin & quit messages are now enabled!'
  73. enabled-other: '&aJoin & quit messages are now enabled for &b{player}!'
  74. disabled: '&cJoin & quit messages are now disabled!'
  75. disabled-other: '&aJoin & quit messages are now enabled for &b{player}!'
  76. not-for-console: '&cThe console cannot use this!'
  77. usage: '&ePlease use &b{usage}&e!'
  78. group-not-found: '&eSlotGroup &b{group} &ewas not found!'
  79. group-set: '&b{player}''s &eslot group has been set to &b{group}&e!'
  80. error: '&cAn error occured, check the console for more info!'
  81.  
  82. firstjoin:
  83. enabled: false
  84. message:
  85. - '&eWelcome &b{player} &eto the network! &7&oGood luck and have fun!'
  86.  
  87. # Some permission plugins do not load permissions quicky enough for this to work.
  88. # If your permission plugin seems to be one of them, please use: /djp setslotgroup (player) (groupname / none) instead
  89. # DO NOTE THAT THIS FEATURE IS EXPERIMENTAL, NOT MUCH TESTING HAS BEEN DONE
  90. slotforcer:
  91. enabled: false
  92.  
  93. # This in total would allow the maxplayers on a server to go up with 23 slots.
  94. # If your hosting service RESTRICTS the max players, then YOU SHOULD NOT USE THIS (as your server can be suspended)
  95. limits:
  96. # Make sure the name is UNIQUE (this is CASE INSENSITIVE)
  97. - name: 'vip'
  98. # These are ADDITIONAL slots that can be allocated.
  99. # For example with maxplayers set to 20, then 5 extra people with a permission can join.
  100. additional: 5
  101. # The permission to identify the limit with
  102. permission: 'donatorjoin.limit.exceed.vip'
  103. - name: 'mvp'
  104. additional: 8
  105. permission: 'donatorjoin.limit.exceed.mvp'
  106. - name: 'staff'
  107. additional: 10
  108. permission: 'donatorjoin.limit.exceed.staff'
  109.  
  110. ranks:
  111. - name: 'donator'
  112. permission: 'djp.donator'
  113. priority: 1
  114. join:
  115. enabled: false
  116. message: ''
  117. sound:
  118. enabled: true
  119. sound: ENTITY_VINDICATOR_CELEBRATE
  120. firework: false
  121. commands:
  122. enabled: false
  123. commands:
  124. # TitleManager example
  125. - 'tm bc &a&lVIP &b{player} %nl% &ehas joined the game!'
  126. - name: 'superdonator'
  127. permission: 'djp.superdonator'
  128. priority: 2
  129. join:
  130. enabled: false
  131. message: '&6[&aElite&6] &b{player} &ehas joined the game!'
  132. sound:
  133. enabled: true
  134. sound: ENTITY_VINDICATOR_CELEBRATE
  135. firework: false
  136. commands:
  137. enabled: false
  138. commands:
  139. # TitleManager example
  140. - 'tm bc &a&lElite &b{player} %nl% &ehas joined the game!'
  141. quit:
  142. enabled: false
  143. message: '&e{player} has left the game'
  144. sound:
  145. enabled: false
  146. sound: ENTITY_IRONGOLEM_DEATH
  147. firework: false
  148. commands:
  149. enabled: false
  150. commands:
  151. # TitleManager example
  152. - 'tm bc &a&lVIP &b{player} %nl% &ehas left the game!'
  153. world:
  154. join:
  155. enabled: false
  156. message: '&8(&cServer&8) &7(&aVIP&7) &b{player} &ehas joined the world!'
  157. sound:
  158. enabled: false
  159. sound: ENTITY_IRONGOLEM_DEATH
  160. firework: false
  161. commands:
  162. enabled: false
  163. commands:
  164. # TitleManager example
  165. - 'tm bc &a&lVIP &b{player} %nl% &ehas joined the world!'
  166. quit:
  167. enabled: false
  168. message: '&8(&cServer&8) &7(&aVIP&7) &b{player} &ehas left the world!'
  169. sound:
  170. enabled: false
  171. sound: ENTITY_IRONGOLEM_DEATH
  172. firework: false
  173. commands:
  174. enabled: false
  175. commands:
  176. # TitleManager example
  177. - 'tm bc &a&lVIP &b{player} %nl% &ehas left the world!'
  178. - name: 'überdonator'
  179. permission: 'djp.überdonator'
  180. priority: 3
  181. join:
  182. enabled: true
  183. message: ''
  184. sound:
  185. enabled: true
  186. sound: ENTITY_VINDICATOR_CELEBRATE
  187. firework: true
  188. commands:
  189. enabled: false
  190. commands:
  191. # TitleManager example
  192. - 'tm bc &9&lMVP &b{player} %nl% &ehas joined the game!'
  193. quit:
  194. enabled: false
  195. message: '&8(&cServer&8) &7(&9MVP&7) &b{player} &ehas left the game!'
  196. sound:
  197. enabled: false
  198. sound: BLOCK_PORTAL_TRAVEL
  199. firework: false
  200. commands:
  201. enabled: false
  202. commands:
  203. # TitleManager example
  204. - 'tm bc &9&lMVP &b{player} %nl% &ehas left the game!'
  205. world:
  206. join:
  207. enabled: false
  208. message: '&8(&cServer&8) &7(&9MVP&7) &b{player} &ehas joined the world!'
  209. sound:
  210. enabled: false
  211. sound: BLOCK_PORTAL_TRAVEL
  212. firework: false
  213. commands:
  214. enabled: false
  215. commands:
  216. # TitleManager example
  217. - 'tm bc &9&lMVP &b{player} %nl% &ehas joined the world!'
  218. quit:
  219. enabled: false
  220. message: '&8(&cServer&8) &7(&9MVP&7) &b{player} &ehas left the world!'
  221. sound:
  222. enabled: false
  223. sound: BLOCK_PORTAL_TRAVEL
  224. firework: false
  225. commands:
  226. enabled: false
  227. commands:
  228. # TitleManager example
  229. - 'tm bc &9&lMVP &b{player} %nl% &ehas left the world!'
Add Comment
Please, Sign In to add comment