Advertisement
Guest User

generalConfig.yml

a guest
Jul 8th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.95 KB | None | 0 0
  1. # The general configuration for the jobs plugin mostly includes how often the plugin
  2. # saves user data (when the user is in the game), the storage method, whether
  3. # to broadcast a message to the server when a user goes up a skill level.
  4. # It also allows admins to set the maximum number of jobs a player can have at
  5. # any one time.
  6.  
  7. # Default language.
  8. # Example: en, ru
  9. # File in locale folder with same name should exist. Example: messages_ru.yml
  10. locale-language: en
  11. # storage method, can be MySQL, sqlite
  12. storage-method: sqlite
  13. # Requires Mysql.
  14. mysql-username: root
  15. mysql-password: ''
  16. mysql-hostname: localhost:3306
  17. mysql-database: minecraft
  18. mysql-table-prefix: jobs_
  19. # How often in minutes you want it to save. This must be a non-zero number
  20. save-period: 10
  21. # Should player data be saved on disconnect?
  22. # Player data is always periodically auto-saved and autosaved during a clean shutdown.
  23. # Only enable this if you have a multi-server setup, or have a really good reason for enabling this.
  24. # Turning this on will decrease database performance.
  25. save-on-disconnect: false
  26. # Tool used when selecting bounds for restricted area
  27. selectionTool: 294
  28. # Enable if you are using one data base for multiple servers across bungee network
  29. # This will force to load players data every time he is logging in to have most up to date data instead of having preloaded data
  30. # This will enable automaticaly save-on-disconnect feature
  31. MultiServerCompatability: false
  32. Optimizations:
  33. # When set to true staff will be informed about new Jobs plugin version
  34. # You need to have jobs.versioncheck permission node
  35. NewVersion: true
  36. DBCleaning:
  37. Jobs:
  38. # Warning!!! before enabling this feature, please make data base backup, just in case there will be some issues with data base cleaning
  39. # When set to true, jobs data base will be cleaned on each startup to avoid having not used jobs
  40. # keep in mind that this will only clean actual jobs, but not recorded players
  41. Use: false
  42. # Any one who has jobs level equal or less then set, hies job will be removed from data base
  43. Level: 1
  44. Users:
  45. # Warning!!! before enabling this feature, please make data base backup, just in case there will be some issues with data base cleaning
  46. # When set to true, data base will be cleaned on each startup from user data to avoid having old player data
  47. Use: false
  48. # Any one who not playied for defined amount of days, will be removed from data base
  49. Days: 60
  50. AutoJobJoin:
  51. # Use or not auto join jobs feature
  52. # If you are not using auto join feature, keep it disabled
  53. Use: false
  54. # Delay in seconds to perform auto join job if used after player joins server
  55. # If you using offline server, try to keep it slightly more than your login plugin gives time to enter password
  56. # For player to auto join job add permission node jobs.autojoin.[jobname]
  57. # Op players are ignored
  58. Delay: 15
  59. # When set to true players who gets negavite experience can delevel job up to level 1
  60. # ATTENTION! Set it to true only if you certain that commands performed on levelup will not cause issues if player start level and delevel in a row.
  61. AllowDelevel: false
  62. # With this set to true, offline player data will be taken from local player data files
  63. # This will eliminate small lag spikes when request is being send to mojangs servers for offline players data
  64. # Theroticali this should work without issues, but if you havving some, just disable
  65. # But then you can feal some small (100-200ms) lag spikes while performings some jobs commands
  66. UseLocalOfflinePlayersData: true
  67. DisabledWorlds:
  68. # By setting this to true, Jobs plugin will be disabled in given worlds
  69. # Only commands can be performed from disabled worlds with jobs.disabledworld.commands permission node
  70. Use: false
  71. List:
  72. - world
  73. Logging:
  74. # With this set to true all players jobs actions will be logged to database for easy to see statistics
  75. # This is still in development and in feature it will expand
  76. Use: false
  77. broadcast:
  78. on-skill-up:
  79. # Do all players get a message when somone goes up a skill level?
  80. use: false
  81. on-level-up:
  82. # Do all players get a message when somone goes up a level?
  83. use: false
  84. # For what levels you want to broadcast message? Keep it at 0 if you want for all of them
  85. levels:
  86. - 0
  87. # Maximum number of jobs a player can join.
  88. # Use 0 for no maximum
  89. # Keep in mind that jobs.max.[amount] will bypass this setting
  90. max-jobs: 1
  91. # Hide jobs from player if they lack the permission to join the job
  92. hide-jobs-without-permission: false
  93. # Hide jobs info from player if they lack the permission to join the job
  94. hide-jobsinfo-without-permission: false
  95. # Option to allow payment to be made when killing mobs from a spawner
  96. enable-pay-near-spawner: false
  97. # Option to allow payment to be made in creative mode
  98. enable-pay-creative: false
  99. # Option to allow payment to be made for exploring when player flyies
  100. enable-pay-for-exploring-when-flying: false
  101. # Adds the Jobs xp recieved to the player's Minecraft XP bar
  102. add-xp-player: false
  103. # Modifys chat to add chat titles. If you're using a chat manager, you may add the tag {jobs} to your chat format and disable this.
  104. modify-chat: true
  105. modify-chat-prefix: '&c'
  106. modify-chat-suffix: ' &r '
  107. modify-chat-separator: ' '
  108. # Do you want to use custom item/block/mob/enchant/color names
  109. # With this set to true names like Stone:1 will be translated to Granite
  110. # Name list is in TranslatableWords.yml file
  111. UseCustomNames: true
  112. # Changes how often, in seconds, players are paid out. Default is 5 seconds.
  113. # Setting this too low may cause tick lag. Increase this to improve economy performance (at the cost of delays in payment)
  114. economy-batch-delay: 5
  115. # Enable async economy calls.
  116. # Disable this if you have issues with payments or your plugin is not thread safe.
  117. economy-async: true
  118. Economy:
  119. # By disabling one of thies, players no longer will get particular payment.
  120. # Usefull for removing particular payment method without editing whole jobConfig file
  121. PaymentMethods:
  122. Money: true
  123. Points: true
  124. Exp: true
  125. MinimumOveralPayment:
  126. # Determines minimum payment. In example if player uses McMMO treefeller and earns only 20%, but at same time he gets 25% penalty from dynamic payment. He can 'get' negative amount of money
  127. # This will limit it to particular percentage
  128. # Works only when original payment is above 0
  129. use: true
  130. limit: 0.1
  131. MinimumOveralPoints:
  132. # Determines minimum payment. In example if player uses McMMO treefeller and earns only 20%, but at same time he gets 25% penalty from dynamic payment. He can 'get' negative amount of money
  133. # This will limit it to particular percentage
  134. # Works only when original payment is above 0
  135. use: true
  136. limit: 0.1
  137. DynamicPayment:
  138. # Do you want to use dinamic payment dependent on how many players already working for jobs
  139. # This can help automaticaly lift up payments for not so popular jobs and lower for most popular ones
  140. use: false
  141. equation: ((totalworkers / totaljobs) - jobstotalplayers)/10.0
  142. MaxPenalty: 25.0
  143. MaxBonus: 100.0
  144. # Server economy acount
  145. # With this enabled, players will get money from defined user (server account)
  146. # If this acount dont have enough money to pay for players for, player will get message
  147. UseServerAcount: false
  148. # Username should be with Correct capitalization
  149. AcountName: Server
  150. Taxes:
  151. # Do you want to use taxes feature for jobs payment
  152. use: false
  153. # Username should be with Correct capitalization, it can be same as settup in server account before
  154. AccountName: Server
  155. # Amount in percentage
  156. Amount: 15.0
  157. # Do you want to transfer taxes to server account
  158. TransferToServerAccount: true
  159. # With this true, taxes will be taken from players payment and he will get less money than its shown in jobs info
  160. # When its false player will get full payment and server account will get taxes amount to hes account
  161. TakeFromPlayersPayment: false
  162. Limit:
  163. # Money gain limit
  164. # With this enabled, players will be limited how much they can make in defined time
  165. # Time in seconds: 60 = 1min, 3600 = 1 hour, 86400 = 24 hours
  166. Money:
  167. Use: false
  168. # Do you want to stop money gain when exp limit reached?
  169. StopWithExp: false
  170. # Do you want to stop money gain when point limit reached?
  171. StopWithPoint: false
  172. # Equation to calculate max limit. Option to use totallevel to include players total amount levels of current jobs
  173. # You can always use simple number to set money limit
  174. # Default equation is: 500+500*(totallevel/100), this will add 1% from 500 for each level player have
  175. # So player with 2 jobs with level 15 and 22 will have 685 limit
  176. MoneyLimit: 500+500*(totallevel/100)
  177. # Time in seconds: 60 = 1min, 3600 = 1 hour, 86400 = 24 hours
  178. TimeLimit: 3600
  179. # Delay between announcements about reached money limit
  180. # Keep this from 30 to 5 min (300), as players can get annoyed of constant message displaying
  181. AnnouncmentDelay: 30
  182. # Point gain limit
  183. # With this enabled, players will be limited how much they can make in defined time
  184. Point:
  185. Use: false
  186. # Do you want to stop Point gain when exp limit reached?
  187. StopWithExp: false
  188. # Do you want to stop Point gain when money limit reached?
  189. StopWithMoney: false
  190. # Equation to calculate max limit. Option to use totallevel to include players total amount levels of current jobs
  191. # You can always use simple number to set limit
  192. # Default equation is: 500+500*(totallevel/100), this will add 1% from 500 for each level player have
  193. # So player with 2 jobs with level 15 and 22 will have 685 limit
  194. Limit: 500+500*(totallevel/100)
  195. # Time in seconds: 60 = 1min, 3600 = 1 hour, 86400 = 24 hours
  196. TimeLimit: 3600
  197. # Delay between announcements about reached limit
  198. # Keep this from 30 to 5 min (300), as players can get annoyed of constant message displaying
  199. AnnouncmentDelay: 30
  200. # Exp gain limit
  201. # With this enabled, players will be limited how much they can get in defined time
  202. # Time in seconds: 60 = 1min, 3600 = 1 hour, 86400 = 24 hours
  203. Exp:
  204. Use: false
  205. # Do you want to stop exp gain when money limit reached?
  206. StopWithMoney: false
  207. # Do you want to stop exp gain when point limit reached?
  208. StopWithPoint: false
  209. # Equation to calculate max money limit. Option to use totallevel to include players total amount of current jobs
  210. # You can always use simple number to set exp limit
  211. # Default equation is: 5000+5000*(totallevel/100), this will add 1% from 5000 for each level player have
  212. # So player with 2 jobs with level 15 and 22 will have 6850 limit
  213. Limit: 5000+5000*(totallevel/100)
  214. # Time in seconds: 60 = 1min, 3600 = 1 hour, 86400 = 24 hours
  215. TimeLimit: 3600
  216. # Delay between announcements about reached Exp limit
  217. # Keep this from 30 to 5 min (300), as players can get annoyed of constant message displaying
  218. AnnouncmentDelay: 30
  219. Repair:
  220. # Do you want to give money for only renaming items in anvil
  221. # Players will get full pay as they would for remairing two items when they only renaming one
  222. # This is not big issue, but if you want to disable it, you can
  223. PayForRenaming: true
  224. Crafting:
  225. # With this true, player will get money for all crafted items instead of each crafting action (like with old payment mechanic)
  226. # By default its false, as you can make ALOT of money if prices kept from old payment mechanics
  227. PayForEachCraft: false
  228. MilkingCow:
  229. # With this true, when timer is still going, cow milking event will be canceled
  230. # With this false, player will get bucket of milk, but still no payment
  231. CancelMilking: false
  232. # How ofter player can milk cows in seconds. Keep in mind that by default player can milk cow indefinetly and as often as he wants
  233. # Set to 0 if you want to disable timer
  234. Timer: 30
  235. ExploitProtections:
  236. General:
  237. # Enable blocks protection, like ore, from exploiting by placing and destroying same block again and again.
  238. # Modify restrictedBlocks.yml for blocks you want to protect
  239. PlaceAndBreakProtection: true
  240. # For how long in days to keep block protection data in data base
  241. # This will clean block data which ones have -1 as cooldown value
  242. # Data base cleannup will be performed on each server startup
  243. KeepDataFor: 14
  244. # All blocks will be protected X sec after player places it on ground.
  245. GlobalBlockTimer:
  246. use: true
  247. timer: 3
  248. # Enable silk touch protection.
  249. # With this enabled players wont get paid for breaked blocks from restrictedblocks list with silk touch tool.
  250. SilkTouchProtection: false
  251. MonsterDamage:
  252. # This section controls how much damage player should do to monster for player to get paid
  253. # This prevents from killing monsters in one hit when they suffer in example fall damage
  254. Use: false
  255. Percentage: 60
  256. # McMMO abilities
  257. McMMO:
  258. # Players will get part of money from cutting trees with treefeller ability enabled.
  259. # 0.2 means 20% of original price
  260. TreeFellerMultiplier: 0.2
  261. # Players will get part of money from braking blocks with gigaDrill ability enabled.
  262. # 0.2 means 20% of original price
  263. gigaDrillMultiplier: 0.2
  264. # Players will get part of money from braking blocks with super breaker ability enabled.
  265. # 0.2 means 20% of original price
  266. superBreakerMultiplier: 0.2
  267. # MythicMobs plugin support
  268. # Disable if you having issues with it or using old version
  269. MythicMobs:
  270. enabled: true
  271. Spawner:
  272. # Prevent slime spliting when they are from spawner
  273. # Protects agains exploiting as new splited slimes is treated as naturaly spawned and not from spawner
  274. PreventSlimeSplit: true
  275. # Prevent magmacube spliting when they are from spawner
  276. PreventMagmaCubeSplit: true
  277. # Breeder finder.
  278. # If you are not using breeding payment, you can disable this to save little resources. Really little.
  279. use-breeder-finder: true
  280. # Old job save
  281. # Players can leave job and return later with some level loss during that
  282. # You can fix players level if hes job level is at max level
  283. old-job:
  284. level-loss-percentage: 30
  285. fix-at-max-level: true
  286. ActionBars:
  287. Messages:
  288. # When this set to true player will see action bar messages by default
  289. EnabledByDefault: true
  290. BossBar:
  291. # Enables BossBar feature
  292. # Works only from 1.9 mc version
  293. Enabled: true
  294. Messages:
  295. # When this set to true player will see Bossbar messages by default
  296. EnabledByDefault: true
  297. # If enabled boss bar will update after each action
  298. # If disabled, BossBar will update only on each payment. This can save some server resources
  299. ShowOnEachAction: false
  300. # How long in sec to show BossBar for player
  301. # If you have disabled ShowOnEachAction, then keep this number higher than payment interval for better experience
  302. Timer: 6
  303. # You can enable/disable message shown for players in action bar
  304. ShowActionBars:
  305. OnTitleChange: true
  306. OnLevelChange: true
  307. OnEmptyServerAcount: true
  308. # Chat messages
  309. # You can enable/disable message shown for players in chat
  310. ShowChatMessage:
  311. OnTitleChange: true
  312. OnLevelChange: true
  313. OnEmptyServerAcount: true
  314. # Sounds
  315. # Extra sounds on some events
  316. # All sounds can be found in https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  317. Sounds:
  318. LevelUp:
  319. use: true
  320. sound: ENTITY_PLAYER_LEVELUP
  321. volume: 1
  322. pitch: 3
  323. TitleChange:
  324. use: true
  325. sound: ENTITY_PLAYER_LEVELUP
  326. volume: 1
  327. pitch: 3
  328. # You can disable this to save SMALL amount of server resources
  329. Signs:
  330. Enable: true
  331. Colors:
  332. ColorizeJobName: true
  333. # This is update for same job signs, to avoid huge lag if you have bunch of same type signs. Keep it from 1 to as many sec you want
  334. InfoUpdateInterval: 5
  335. Scoreboard:
  336. # This will enables to show top list in scoreboard instead of chat
  337. ShowToplist: true
  338. # For how long to show scoreboard
  339. interval: 10
  340. JobsBrowse:
  341. # Do you want to show total amount of workers for job in jobs browse window
  342. ShowTotalWorkers: true
  343. # Do you want to show GUI when performing /jobs join command
  344. ShowPenaltyBonus: true
  345. JobsGUI:
  346. # Do you want to show GUI when performing /jobs browse command
  347. OpenOnBrowse: true
  348. # Do you want to show chat information when performing /jobs browse command
  349. ShowChatBrowse: true
  350. # With true left mouse button will join job and right will show more info
  351. # With false left mouse button will show more info, rigth will join job
  352. # Dont forget to adjust locale file
  353. SwitcheButtons: false
  354. OpenOnJoin: true
  355. BackButton:
  356. Material: JACK_O_LANTERN
  357. Data: 0
  358. Filler:
  359. Material: STAINED_GLASS_PANE
  360. Data: 15
  361. Schedule:
  362. Boost:
  363. # Do you want to enable scheduler for global boost
  364. Enable: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement