Guest User

General Config

a guest
Mar 25th, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.48 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:
  12. # storage method, can be MySQL or sqlite
  13. method: sqlite
  14. # Requires Mysql.
  15. mysql:
  16. username: root
  17. password: ''
  18. hostname: localhost:3306
  19. database: minecraft
  20. table-prefix: jobs_
  21. verify-server-certificate: false
  22. use-ssl: false
  23. auto-reconnect: true
  24. # How often in minutes you want it to save. This must be a non-zero number
  25. save-period: 10
  26. # Should player data be saved on disconnect?
  27. # Player data is always periodically auto-saved and autosaved during a clean shutdown.
  28. # Only enable this if you have a multi-server setup, or have a really good reason for enabling this.
  29. # Turning this on will decrease database performance.
  30. save-on-disconnect: false
  31. # Tool used when selecting bounds for restricted area.
  32. selectionTool: golden_hoe
  33. # Enable if you are using one data base for multiple servers across bungee network
  34. # 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
  35. # This will enable automatically save-on-disconnect feature
  36. MultiServerCompatability: false
  37. Optimizations:
  38. # When set to true staff will be informed about new Jobs plugin version
  39. # You need to have jobs.versioncheck permission node
  40. NewVersion: true
  41. DecimalPlaces:
  42. # Decimal places to be shown
  43. Money: 2
  44. Exp: 2
  45. Points: 2
  46. DBCleaning:
  47. Jobs:
  48. # Warning!!! before enabling this feature, please make data base backup, just in case there will be some issues with data base cleaning
  49. # When set to true, jobs data base will be cleaned on each startup to avoid having not used jobs
  50. # keep in mind that this will only clean actual jobs, but not recorded players
  51. Use: true
  52. # Any one who has jobs level equal or less then set, hies job will be removed from data base
  53. Level: 1
  54. Users:
  55. # Warning!!! before enabling this feature, please make data base backup, just in case there will be some issues with data base cleaning
  56. # When set to true, data base will be cleaned on each startup from user data to avoid having old player data
  57. Use: false
  58. # Any one who not played for defined amount of days, will be removed from data base
  59. Days: 60
  60. AutoJobJoin:
  61. # Use or not auto join jobs feature
  62. # If you are not using auto join feature, keep it disabled
  63. Use: false
  64. # Delay in seconds to perform auto join job if used after player joins server
  65. # If you using offline server, try to keep it slightly more than your login plugin gives time to enter password
  66. # For player to auto join job add permission node jobs.autojoin.[jobname]
  67. # Op players are ignored
  68. Delay: 15
  69. # When set to true players who gets negative experience can delevel job up to level 1
  70. # ATTENTION! Set it to true only if you certain that commands performed on level up will not cause issues if player start level and delevel in a row.
  71. AllowDelevel: false
  72. DisabledWorlds:
  73. # By setting this to true, Jobs plugin will be disabled in given worlds
  74. # Only commands can be performed from disabled worlds with jobs.disabledworld.commands permission node
  75. Use: false
  76. List:
  77. - spigot-1.13.2
  78. Logging:
  79. # With this set to true all players jobs actions will be logged to database for easy to see statistics
  80. # This is still in development and in feature it will expand
  81. Use: false
  82. broadcast:
  83. on-skill-up:
  84. # Do all players get a message when someone goes up a skill level?
  85. use: false
  86. on-level-up:
  87. # Do all players get a message when someone goes up a level?
  88. use: true
  89. # For what levels you want to broadcast message? Keep it at 0 if you want for all of them
  90. levels:
  91. - 10
  92. - 100
  93. - 200
  94. - 300
  95. - 400
  96. - 500
  97. - 600
  98. - 700
  99. - 800
  100. - 900
  101. - 1000
  102. DailyQuests:
  103. # Defines time in 24hour format when we want to give out new daily quests
  104. # Any daily quests given before reset will be invalid and new ones will be given out
  105. ResetTime:
  106. Hour: 4
  107. Minute: 0
  108. # Maximum number of jobs a player can join.
  109. # Use 0 for no maximum
  110. # Keep in mind that jobs.max.[amount] will bypass this setting
  111. max-jobs: 2
  112. # Hide jobs from player if they lack the permission to join the job
  113. hide-jobs-without-permission: false
  114. # Hide jobs info from player if they lack the permission to join the job
  115. hide-jobsinfo-without-permission: false
  116. # Option to allow payment to be made when killing mobs from a spawner.
  117. # Use jobs.nearspawner.[amount] to define multiplayer. Example jobs.nearspawner.-0.5 will pay half of payment, jobs.nearspawner.-1 will not pay at all
  118. enable-pay-near-spawner: true
  119. # Option to allow payment to be made in creative mode. This ignoring when a group has 'jobs.paycreative' permission.
  120. enable-pay-creative: false
  121. # Option to allow payment to be made for exploring when player flies
  122. enable-pay-for-exploring-when-flying: false
  123. # Option to allow payment to be made for exploring when player gliding.
  124. enable-pay-for-exploring-when-gliding: true
  125. # Adds the Jobs xp received to the player's Minecraft XP bar
  126. add-xp-player: true
  127. # Allows, when losing maximum durability of item then it does not pay the player until it is repaired.
  128. # E.g. the player wants to enchant a item with enchanting table and the item has durability loss then not paying.
  129. enable-pay-when-item-durability-loss: true
  130. # 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.
  131. modify-chat:
  132. use: false
  133. prefix: '&c['
  134. suffix: '&c]&r '
  135. separator: ' '
  136. # Do you want to use custom item/block/mob/enchant/color names?
  137. # With this set to true names like Stone:1 will be translated to Granite
  138. # Name list is in TranslatableWords.yml file
  139. UseCustomNames: true
  140. # Changes how often, in seconds, players are paid out. Default is 5 seconds.
  141. # Setting this too low may cause tick lag. Increase this to improve economy performance (at the cost of delays in payment)
  142. economy-batch-delay: 30
  143. # Enable async economy calls.
  144. # Disable this if you have issues with payments or your plugin is not thread safe.
  145. economy-async: true
  146. Economy:
  147. # By disabling one of these, players no longer will get particular payment.
  148. # Useful for removing particular payment method without editing whole jobConfig file
  149. PaymentMethods:
  150. Money: true
  151. Points: true
  152. Exp: true
  153. # Can be used to change payment amounts for all jobs and all actions if you want to readjust them
  154. # Amounts are in percentage, above 0 will increase payments
  155. # Amount belove 0 will decrease payments
  156. # If action pays negative amount, then value above 0 will increase that negative value
  157. # So if placing diamond ore takes 10 bucks from you, then by setting 50 for money income, you will be charged 15 bucks for placing it
  158. # If you are getting paid 10 for placing wood, then same value of 50 for money income, will result in you getting 15 bucks
  159. # This only effects base income value
  160. GeneralMulti:
  161. MONEY: -25.0
  162. EXP: -25.0
  163. POINTS: -25.0
  164. MinimumOveralPayment:
  165. # 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
  166. # This will limit it to particular percentage
  167. # Works only when original payment is above 0
  168. use: true
  169. limit: 0.1
  170. MinimumOveralPoints:
  171. # 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
  172. # This will limit it to particular percentage
  173. # Works only when original payment is above 0
  174. use: true
  175. limit: 0.1
  176. DynamicPayment:
  177. # Do you want to use dynamic payment dependent on how many players already working for jobs?
  178. # This can help automatically lift up payments for not so popular jobs and lower for most popular ones
  179. use: true
  180. equation: ((totalworkers / totaljobs) - jobstotalplayers)/10.0
  181. MaxPenalty: 50.0
  182. MaxBonus: 150.0
  183. MaxPayment:
  184. curve:
  185. # Enabling this feature will mean players will still earn once they reach cap but will loose a percentage the higher over cap they go. Controlled by a factor. math is ```100/((1/factor*percentOver^2)+1)```
  186. use: true
  187. factor: 10
  188. # Server economy account
  189. # With this enabled, players will get money from defined user (server account)
  190. # If this account don't have enough money to pay for players for, player will get message
  191. UseServerAccount: false
  192. # Username should be with Correct capitalization
  193. AccountName: Server
  194. Taxes:
  195. # Do you want to use taxes feature for jobs payment?
  196. use: false
  197. # Username should be with Correct capitalization, it can be same as setup in server account before
  198. AccountName: Server
  199. # Amount in percentage
  200. Amount: 15.0
  201. # Do you want to transfer taxes to server account?
  202. TransferToServerAccount: true
  203. # With this true, taxes will be taken from players payment and he will get less money than its shown in jobs info
  204. # When its false player will get full payment and server account will get taxes amount to hes account
  205. TakeFromPlayersPayment: false
  206. Limit:
  207. # Money gain limit
  208. # With this enabled, players will be limited how much they can make in defined time
  209. # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
  210. Money:
  211. Use: false
  212. # Do you want to stop money gain when exp limit reached?
  213. StopWithExp: false
  214. # Do you want to stop money gain when point limit reached?
  215. StopWithPoint: false
  216. # Equation to calculate max limit. Option to use total level to include players total amount levels of current jobs
  217. # You can always use simple number to set money limit
  218. # Default equation is: 500+500*(totallevel/100), this will add 1% from 500 for each level player have
  219. # So player with 2 jobs with level 15 and 22 will have 685 limit
  220. MoneyLimit: 500+500*(totallevel/100)
  221. # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
  222. TimeLimit: 3600
  223. # Delay between announcements about reached money limit
  224. # Keep this from 30 to 5 min (300), as players can get annoyed of constant message displaying
  225. AnnouncementDelay: 30
  226. # Point gain limit
  227. # With this enabled, players will be limited how much they can make in defined time
  228. Point:
  229. Use: false
  230. # Do you want to stop Point gain when exp limit reached?
  231. StopWithExp: false
  232. # Do you want to stop Point gain when money limit reached?
  233. StopWithMoney: false
  234. # Equation to calculate max limit. Option to use total level to include players total amount levels of current jobs
  235. # You can always use simple number to set limit
  236. # Default equation is: 500+500*(totallevel/100), this will add 1% from 500 for each level player have
  237. # So player with 2 jobs with level 15 and 22 will have 685 limit
  238. Limit: 500+500*(totallevel/100)
  239. # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
  240. TimeLimit: 3600
  241. # Delay between announcements about reached limit
  242. # Keep this from 30 to 5 min (300), as players can get annoyed of constant message displaying
  243. AnnouncementDelay: 30
  244. # Exp gain limit
  245. # With this enabled, players will be limited how much they can get in defined time
  246. # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
  247. Exp:
  248. Use: false
  249. # Do you want to stop exp gain when money limit reached?
  250. StopWithMoney: false
  251. # Do you want to stop exp gain when point limit reached?
  252. StopWithPoint: false
  253. # Equation to calculate max money limit. Option to use total level to include players total amount of current jobs
  254. # You can always use simple number to set exp limit
  255. # Default equation is: 5000+5000*(totallevel/100), this will add 1% from 5000 for each level player have
  256. # So player with 2 jobs with level 15 and 22 will have 6850 limit
  257. Limit: 5000+5000*(totallevel/100)
  258. # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
  259. TimeLimit: 3600
  260. # Delay between announcements about reached Exp limit
  261. # Keep this from 30 to 5 min (300), as players can get annoyed of constant message displaying
  262. AnnouncementDelay: 30
  263. Repair:
  264. # Do you want to give money for only renaming items in anvil?
  265. # Players will get full pay as they would for remaining two items when they only rename one
  266. # This is not a big issue, but if you want to disable it, you can
  267. PayForRenaming: true
  268. Enchant:
  269. # Do you want to give money for enchanting items in anvil?
  270. PayForEnchantingOnAnvil: true
  271. Crafting:
  272. # With this true, player will get money for all crafted items instead of each crafting action (like with old payment mechanic)
  273. # By default its false, as you can make ALOT of money if prices kept from old payment mechanics
  274. PayForEachCraft: false
  275. MilkingCow:
  276. # With this true, when timer is still going, cow milking event will be canceled
  277. # With this false, player will get bucket of milk, but still no payment
  278. CancelMilking: false
  279. # How ofter player can milk cows in seconds. Keep in mind that by default player can milk cow indefinitely and as often as he wants
  280. # Set to 0 if you want to disable timer
  281. Timer: 60
  282. ExploitProtections:
  283. Furnaces:
  284. # When enabled, players interacted furnaces will be saved into a file and will be reassigned after restart to keep giving out money
  285. # Players will no longer need to click on furnace to get paid from it after server restart
  286. Reassign: true
  287. # Defines max available furnaces each player can have to get paid from
  288. # This can be overridden with jobs.maxfurnaces.[amount] permission node
  289. MaxDefaultAvailable: 20
  290. BrewingStands:
  291. # When enabled, players interacted brewing stands will be saved into file and will be reassigned after restart to keep giving out money
  292. # Players will no longer need to click on brewing stand to get paid from it after server restart
  293. Reassign: true
  294. # Defines max available brewing stands each player can have to get paid from
  295. # Set to 0 if you want to disable this limitation
  296. # This can be overridden with jobs.maxbrewingstands.[amount] permission node
  297. MaxDefaultAvailable: 20
  298. General:
  299. # Enable blocks protection, like ore, from exploiting by placing and destroying same block again and again.
  300. # Modify restrictedBlocks.yml for blocks you want to protect
  301. PlaceAndBreakProtection: true
  302. # For how long in days to keep block protection data in data base
  303. # This will clean block data which ones have -1 as cooldown value
  304. # Data base cleanup will be performed on each server startup
  305. KeepDataFor: 14
  306. # All blocks will be protected X sec after player places it on ground.
  307. GlobalBlockTimer:
  308. use: true
  309. timer: 3
  310. # Enable silk touch protection.
  311. # With this enabled players wont get paid for broken blocks from restrictedblocks list with silk touch tool.
  312. SilkTouchProtection: false
  313. MonsterDamage:
  314. # This section controls how much damage player should do to monster for player to get paid
  315. # This prevents from killing monsters in one hit when they suffer in example fall damage
  316. Use: true
  317. Percentage: 5
  318. # McMMO abilities
  319. McMMO:
  320. # Players will get part of money from cutting trees with treefeller ability enabled.
  321. # 0.2 means 20% of original price
  322. TreeFellerMultiplier: 0.2
  323. # Players will get part of money from braking blocks with gigaDrill ability enabled.
  324. # 0.2 means 20% of original price
  325. gigaDrillMultiplier: 0.2
  326. # Players will get part of money from braking blocks with super breaker ability enabled.
  327. # 0.2 means 20% of original price
  328. superBreakerMultiplier: 0.2
  329. # MythicMobs plugin support
  330. # Disable if you having issues with it or using old version
  331. MythicMobs:
  332. enabled: true
  333. Spawner:
  334. # Prevent slime splitting when they are from spawner
  335. # Protects agains exploiting as new splited slimes is treated as naturally spawned and not from spawner
  336. PreventSlimeSplit: true
  337. # Prevent magmacube splitting when they are from spawner
  338. PreventMagmaCubeSplit: true
  339. Smelt:
  340. # Prevent payments when hoppers moving items into furnace
  341. # Player will not get paid, but items will be smelted
  342. PreventHopperFillUps: true
  343. Brew:
  344. PreventBrewingStandFillUps: true
  345. # Breeder finder.
  346. # If you are not using breeding payment, you can disable this to save little resources. Really little.
  347. use-breeder-finder: true
  348. # Old job save
  349. # Players can leave job and return later with some level loss during that
  350. # You can fix players level if his job level is at max level
  351. old-job:
  352. level-loss-percentage: 30
  353. fix-at-max-level: true
  354. # Percentage to loose when leaving job at max level
  355. # Only works when fix-at-max-level is set to false
  356. level-loss-from-max-level: 30
  357. ActionBars:
  358. Messages:
  359. # When this set to true player will see action bar messages by default
  360. EnabledByDefault: true
  361. BossBar:
  362. # Enables BossBar feature
  363. # Works only from 1.9 mc version
  364. Enabled: true
  365. Messages:
  366. # When this set to true player will see Bossbar messages by default
  367. EnabledByDefault: true
  368. # If enabled boss bar will update after each action
  369. # If disabled, BossBar will update only on each payment. This can save some server resources
  370. ShowOnEachAction: false
  371. # How long in sec to show BossBar for player
  372. # If you have disabled ShowOnEachAction, then keep this number higher than payment interval for better experience
  373. Timer: 6
  374. # You can enable/disable message shown for players in action bar
  375. ShowActionBars:
  376. OnTitleChange: true
  377. OnLevelChange: true
  378. OnEmptyServerAccount: true
  379. # Chat messages
  380. # You can enable/disable message shown for players in chat
  381. ShowChatMessage:
  382. OnTitleChange: true
  383. OnLevelChange: true
  384. OnEmptyServerAccount: true
  385. # Sounds
  386. # Extra sounds on some events
  387. # All sounds can be found in https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  388. Sounds:
  389. LevelUp:
  390. use: true
  391. sound: ENTITY_PLAYER_LEVELUP
  392. volume: 1
  393. pitch: 4
  394. TitleChange:
  395. use: true
  396. sound: ENTITY_PLAYER_LEVELUP
  397. volume: 1
  398. pitch: 2
  399. # You can disable this to save SMALL amount of server resources
  400. Signs:
  401. Enable: false
  402. Colors:
  403. ColorizeJobName: true
  404. # 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
  405. InfoUpdateInterval: 5
  406. Scoreboard:
  407. # This will enable to show top list in scoreboard instead of chat
  408. ShowToplist: true
  409. # For how long to show scoreboard
  410. interval: 10
  411. JobsBrowse:
  412. # Do you want to show total amount of workers for job in jobs browse window?
  413. ShowTotalWorkers: true
  414. # Do you want to show penalty and bonus in jobs browse window? Only works if this feature is enabled
  415. ShowPenaltyBonus: true
  416. # Defines if you want to use new /jobs browse look or old one
  417. UseNewLook: true
  418. # Defines amount of jobs to be shown in one page for /jobs browse
  419. AmountToShow: 5
  420. JobsGUI:
  421. # Do you want to show GUI when performing /jobs browse command?
  422. OpenOnBrowse: true
  423. # Do you want to show chat information when performing /jobs browse command?
  424. ShowChatBrowse: true
  425. # With true left mouse button will join job and right will show more info
  426. # With false left mouse button will show more info, right will join job
  427. # Don't forget to adjust locale file
  428. SwitcheButtons: false
  429. # Defines size in rows of GUI
  430. Rows: 5
  431. # Defines back button slot in GUI
  432. BackButtonSlot: 37
  433. # Defines start position in gui from which job icons will be shown
  434. StartPosition: 11
  435. # Defines by how many jobs we need to group up
  436. GroupAmount: 7
  437. # Defines by how many slots we need to skip after group
  438. SkipAmount: 2
  439. BackButton:
  440. Material: JACK_O_LANTERN
  441. Filler:
  442. Material: GREEN_STAINED_GLASS_PANE
  443. JobsTop:
  444. # Defines amount of players to be shown in one page for /jobs top & /jobs gtop
  445. AmountToShow: 15
Add Comment
Please, Sign In to add comment