Guest User

Untitled

a guest
Aug 18th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.24 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: false
  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. - world
  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: false
  89. # For what levels you want to broadcast message? Keep it at 0 if you want for all of them
  90. levels:
  91. - 0
  92. DailyQuests:
  93. # Defines time in 24hour format when we want to give out new daily quests
  94. # Any daily quests given before reset will be invalid and new ones will be given out
  95. ResetTime:
  96. Hour: 4
  97. Minute: 0
  98. # Maximum number of jobs a player can join.
  99. # Use 0 for no maximum
  100. # Keep in mind that jobs.max.[amount] will bypass this setting
  101. max-jobs: 3
  102. # Hide jobs from player if they lack the permission to join the job
  103. hide-jobs-without-permission: false
  104. # Hide jobs info from player if they lack the permission to join the job
  105. hide-jobsinfo-without-permission: false
  106. # Option to allow payment to be made when killing mobs from a spawner.
  107. # 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
  108. enable-pay-near-spawner: false
  109. # Option to allow payment to be made in creative mode. This ignoring when a group has 'jobs.paycreative' permission.
  110. enable-pay-creative: false
  111. # Option to allow payment to be made for exploring when player flies
  112. enable-pay-for-exploring-when-flying: false
  113. # Option to allow payment to be made for exploring when player gliding.
  114. enable-pay-for-exploring-when-gliding: false
  115. # Disables the payment when the player riding on an entity.
  116. disablePaymentIfRiding: false
  117. # Adds the Jobs xp received to the player's Minecraft XP bar
  118. add-xp-player: false
  119. # Allows, when losing maximum durability of item then it does not pay the player until it is repaired.
  120. # E.g. the player wants to enchant a item with enchanting table and the item has durability loss then not paying.
  121. allow-pay-for-durability-loss: true
  122. # 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.
  123. modify-chat:
  124. use: false
  125. prefix: '&c['
  126. suffix: '&c]&r '
  127. separator: ' '
  128. # Do you want to use custom item/block/mob/enchant/color names?
  129. # With this set to true names like Stone:1 will be translated to Granite
  130. # Name list is in TranslatableWords.yml file
  131. UseCustomNames: true
  132. # Changes how often, in seconds, players are paid out. Default is 5 seconds.
  133. # Setting this too low may cause tick lag. Increase this to improve economy performance (at the cost of delays in payment)
  134. economy-batch-delay: 5
  135. # Enable async economy calls.
  136. # Disable this if you have issues with payments or your plugin is not thread safe.
  137. economy-async: true
  138. Economy:
  139. # By disabling one of these, players no longer will get particular payment.
  140. # Useful for removing particular payment method without editing whole jobConfig file
  141. PaymentMethods:
  142. Money: true
  143. Points: true
  144. Exp: true
  145. # Can be used to change payment amounts for all jobs and all actions if you want to readjust them
  146. # Amounts are in percentage, above 0 will increase payments
  147. # Amount belove 0 will decrease payments
  148. # If action pays negative amount, then value above 0 will increase that negative value
  149. # 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
  150. # If you are getting paid 10 for placing wood, then same value of 50 for money income, will result in you getting 15 bucks
  151. # This only effects base income value
  152. GeneralMulti:
  153. MONEY: 0.0
  154. EXP: 0.0
  155. POINTS: 0.0
  156. MinimumOveralPayment:
  157. # 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
  158. # This will limit it to particular percentage
  159. # Works only when original payment is above 0
  160. use: true
  161. limit: 0.1
  162. MinimumOveralPoints:
  163. # 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
  164. # This will limit it to particular percentage
  165. # Works only when original payment is above 0
  166. use: true
  167. limit: 0.1
  168. DynamicPayment:
  169. # Do you want to use dynamic payment dependent on how many players already working for jobs?
  170. # This can help automatically lift up payments for not so popular jobs and lower for most popular ones
  171. use: false
  172. equation: ((totalworkers / totaljobs) - jobstotalplayers)/10.0
  173. MaxPenalty: 25.0
  174. MaxBonus: 100.0
  175. MaxPayment:
  176. curve:
  177. # 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)```
  178. use: false
  179. factor: 10
  180. # Server economy account
  181. # With this enabled, players will get money from defined user (server account)
  182. # If this account don't have enough money to pay for players for, player will get message
  183. UseServerAccount: false
  184. # Username should be with Correct capitalization
  185. AccountName: Server
  186. Taxes:
  187. # Do you want to use taxes feature for jobs payment?
  188. use: false
  189. # Username should be with Correct capitalization, it can be same as setup in server account before
  190. AccountName: Server
  191. # Amount in percentage
  192. Amount: 15.0
  193. # Do you want to transfer taxes to server account?
  194. TransferToServerAccount: true
  195. # With this true, taxes will be taken from players payment and he will get less money than its shown in jobs info
  196. # When its false player will get full payment and server account will get taxes amount to hes account
  197. TakeFromPlayersPayment: false
  198. Limit:
  199. # Money gain limit
  200. # With this enabled, players will be limited how much they can make in defined time
  201. # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
  202. Money:
  203. Use: false
  204. # Do you want to stop money gain when exp limit reached?
  205. StopWithExp: false
  206. # Do you want to stop money gain when point limit reached?
  207. StopWithPoint: false
  208. # Equation to calculate max limit. Option to use total level to include players total amount levels of current jobs
  209. # You can always use simple number to set money limit
  210. # Default equation is: 500+500*(totallevel/100), this will add 1% from 500 for each level player have
  211. # So player with 2 jobs with level 15 and 22 will have 685 limit
  212. MoneyLimit: 500+500*(totallevel/100)
  213. # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
  214. TimeLimit: 3600
  215. # Delay between announcements about reached money limit
  216. # Keep this from 30 to 5 min (300), as players can get annoyed of constant message displaying
  217. AnnouncementDelay: 30
  218. # Point gain limit
  219. # With this enabled, players will be limited how much they can make in defined time
  220. Point:
  221. Use: false
  222. # Do you want to stop Point gain when exp limit reached?
  223. StopWithExp: false
  224. # Do you want to stop Point gain when money limit reached?
  225. StopWithMoney: false
  226. # Equation to calculate max limit. Option to use total level to include players total amount levels of current jobs
  227. # You can always use simple number to set limit
  228. # Default equation is: 500+500*(totallevel/100), this will add 1% from 500 for each level player have
  229. # So player with 2 jobs with level 15 and 22 will have 685 limit
  230. Limit: 500+500*(totallevel/100)
  231. # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
  232. TimeLimit: 3600
  233. # Delay between announcements about reached limit
  234. # Keep this from 30 to 5 min (300), as players can get annoyed of constant message displaying
  235. AnnouncementDelay: 30
  236. # Exp gain limit
  237. # With this enabled, players will be limited how much they can get in defined time
  238. # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
  239. Exp:
  240. Use: false
  241. # Do you want to stop exp gain when money limit reached?
  242. StopWithMoney: false
  243. # Do you want to stop exp gain when point limit reached?
  244. StopWithPoint: false
  245. # Equation to calculate max money limit. Option to use total level to include players total amount of current jobs
  246. # You can always use simple number to set exp limit
  247. # Default equation is: 5000+5000*(totallevel/100), this will add 1% from 5000 for each level player have
  248. # So player with 2 jobs with level 15 and 22 will have 6850 limit
  249. Limit: 5000+5000*(totallevel/100)
  250. # Time in seconds: 60 = 1 min, 3600 = 1 hour, 86400 = 24 hours
  251. TimeLimit: 3600
  252. # Delay between announcements about reached Exp limit
  253. # Keep this from 30 to 5 min (300), as players can get annoyed of constant message displaying
  254. AnnouncementDelay: 30
  255. Repair:
  256. # Do you want to give money for only renaming items in anvil?
  257. # Players will get full pay as they would for remaining two items when they only rename one
  258. # This is not a big issue, but if you want to disable it, you can
  259. PayForRenaming: true
  260. Enchant:
  261. # Do you want to give money for enchanting items in anvil?
  262. PayForEnchantingOnAnvil: false
  263. Crafting:
  264. # With this true, player will get money for all crafted items instead of each crafting action (like with old payment mechanic)
  265. # By default its false, as you can make ALOT of money if prices kept from old payment mechanics
  266. PayForEachCraft: false
  267. MilkingCow:
  268. # With this true, when timer is still going, cow milking event will be canceled
  269. # With this false, player will get bucket of milk, but still no payment
  270. CancelMilking: false
  271. # 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
  272. # Set to 0 if you want to disable timer
  273. Timer: 30
  274. ExploitProtections:
  275. Furnaces:
  276. # When enabled, players interacted furnaces will be saved into a file and will be reassigned after restart to keep giving out money
  277. # Players will no longer need to click on furnace to get paid from it after server restart
  278. Reassign: true
  279. # Defines max available furnaces each player can have to get paid from
  280. # This can be overridden with jobs.maxfurnaces.[amount] permission node
  281. MaxDefaultAvailable: 20
  282. BrewingStands:
  283. # When enabled, players interacted brewing stands will be saved into file and will be reassigned after restart to keep giving out money
  284. # Players will no longer need to click on brewing stand to get paid from it after server restart
  285. Reassign: true
  286. # Defines max available brewing stands each player can have to get paid from
  287. # Set to 0 if you want to disable this limitation
  288. # This can be overridden with jobs.maxbrewingstands.[amount] permission node
  289. MaxDefaultAvailable: 20
  290. General:
  291. # Enable blocks protection, like ore, from exploiting by placing and destroying same block again and again.
  292. # Modify restrictedBlocks.yml for blocks you want to protect
  293. PlaceAndBreakProtection: true
  294. # For how long in days to keep block protection data in data base
  295. # This will clean block data which ones have -1 as cooldown value
  296. # Data base cleanup will be performed on each server startup
  297. KeepDataFor: 14
  298. # All blocks will be protected X sec after player places it on ground.
  299. GlobalBlockTimer:
  300. use: true
  301. timer: 3
  302. # Enable silk touch protection.
  303. # With this enabled players wont get paid for broken blocks from restrictedblocks list with silk touch tool.
  304. SilkTouchProtection: false
  305. MonsterDamage:
  306. # This section controls how much damage player should do to monster for player to get paid
  307. # This prevents from killing monsters in one hit when they suffer in example fall damage
  308. Use: false
  309. Percentage: 60
  310. # McMMO abilities
  311. McMMO:
  312. # Players will get part of money from cutting trees with treefeller ability enabled.
  313. # 0.2 means 20% of original price
  314. TreeFellerMultiplier: 0.2
  315. # Players will get part of money from braking blocks with gigaDrill ability enabled.
  316. # 0.2 means 20% of original price
  317. gigaDrillMultiplier: 0.2
  318. # Players will get part of money from braking blocks with super breaker ability enabled.
  319. # 0.2 means 20% of original price
  320. superBreakerMultiplier: 0.2
  321. # MythicMobs plugin support
  322. # Disable if you having issues with it or using old version
  323. MythicMobs:
  324. enabled: true
  325. Spawner:
  326. # Prevent slime splitting when they are from spawner
  327. # Protects agains exploiting as new splited slimes is treated as naturally spawned and not from spawner
  328. PreventSlimeSplit: true
  329. # Prevent magmacube splitting when they are from spawner
  330. PreventMagmaCubeSplit: true
  331. Smelt:
  332. # Prevent payments when hoppers moving items into furnace
  333. # Player will not get paid, but items will be smelted
  334. PreventHopperFillUps: true
  335. Brew:
  336. PreventBrewingStandFillUps: true
  337. # Breeder finder.
  338. # If you are not using breeding payment, you can disable this to save little resources. Really little.
  339. use-breeder-finder: true
  340. # Old job save
  341. # Players can leave job and return later with some level loss during that
  342. # You can fix players level if his job level is at max level
  343. old-job:
  344. level-loss-percentage: 30
  345. fix-at-max-level: true
  346. # Percentage to loose when leaving job at max level
  347. # Only works when fix-at-max-level is set to false
  348. level-loss-from-max-level: 30
  349. ActionBars:
  350. Messages:
  351. # When this set to true player will see action bar messages by default
  352. EnabledByDefault: true
  353. BossBar:
  354. # Enables BossBar feature
  355. # Works only from 1.9 mc version
  356. Enabled: true
  357. Messages:
  358. # When this set to true player will see Bossbar messages by default
  359. EnabledByDefault: true
  360. # If enabled boss bar will update after each action
  361. # If disabled, BossBar will update only on each payment. This can save some server resources
  362. ShowOnEachAction: false
  363. # How long in sec to show BossBar for player
  364. # If you have disabled ShowOnEachAction, then keep this number higher than payment interval for better experience
  365. Timer: 6
  366. # You can enable/disable message shown for players in action bar
  367. ShowActionBars:
  368. OnTitleChange: true
  369. OnLevelChange: true
  370. OnEmptyServerAccount: true
  371. # Chat messages
  372. # You can enable/disable message shown for players in chat
  373. ShowChatMessage:
  374. OnTitleChange: true
  375. OnLevelChange: true
  376. OnEmptyServerAccount: true
  377. # Sounds
  378. # Extra sounds on some events
  379. # All sounds can be found in https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  380. Sounds:
  381. LevelUp:
  382. use: true
  383. sound: ENTITY_PLAYER_LEVELUP
  384. volume: 1
  385. pitch: 3
  386. TitleChange:
  387. use: true
  388. sound: ENTITY_PLAYER_LEVELUP
  389. volume: 1
  390. pitch: 3
  391. # Extra firework shooting in some events
  392. Fireworks:
  393. LevelUp:
  394. use: false
  395. # Makes the firework to randomize, such as random colors, type, power and so on.
  396. # These are under settings will not be work, when this enabled.
  397. Random: true
  398. flicker: true
  399. trail: true
  400. # Firework types
  401. # All types can be found in https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/FireworkEffect.Type.html
  402. type: STAR
  403. colors:
  404. - 230,0,0
  405. - 0,90,0
  406. - 0,0,104
  407. power: 1
  408. # Fire shooting time in ticks.
  409. # Example: 20 tick = 1 second
  410. ShootTime: 20
  411. # You can disable this to save SMALL amount of server resources
  412. Signs:
  413. Enable: true
  414. Colors:
  415. ColorizeJobName: true
  416. # 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
  417. InfoUpdateInterval: 5
  418. Scoreboard:
  419. # This will enable to show top list in scoreboard instead of chat
  420. ShowToplist: true
  421. # For how long to show scoreboard
  422. interval: 10
  423. JobsBrowse:
  424. # Do you want to show total amount of workers for job in jobs browse window?
  425. ShowTotalWorkers: true
  426. # Do you want to show penalty and bonus in jobs browse window? Only works if this feature is enabled
  427. ShowPenaltyBonus: true
  428. # Defines if you want to use new /jobs browse look or old one
  429. UseNewLook: true
  430. # Defines amount of jobs to be shown in one page for /jobs browse
  431. AmountToShow: 5
  432. JobsGUI:
  433. # Do you want to show GUI when performing /jobs browse command?
  434. OpenOnBrowse: true
  435. # Do you want to show chat information when performing /jobs browse command?
  436. ShowChatBrowse: true
  437. # With true left mouse button will join job and right will show more info
  438. # With false left mouse button will show more info, right will join job
  439. # Don't forget to adjust locale file
  440. SwitcheButtons: false
  441. # Defines size in rows of GUI
  442. Rows: 5
  443. # Defines back button slot in GUI
  444. BackButtonSlot: 37
  445. # Defines start position in gui from which job icons will be shown
  446. StartPosition: 11
  447. # Defines by how many jobs we need to group up
  448. GroupAmount: 7
  449. # Defines by how many slots we need to skip after group
  450. SkipAmount: 2
  451. BackButton:
  452. Material: JACK_O_LANTERN
  453. Filler:
  454. Material: GREEN_STAINED_GLASS_PANE
  455. JobsTop:
  456. # Defines amount of players to be shown in one page for /jobs top & /jobs gtop
  457. AmountToShow: 15
  458. JobsLeave:
  459. # Allows to confirm the /jobs leave and leaveall commands, to confirm the leave.
  460. EnableConfirmation: false
  461. # Specify the confirm expiry time.
  462. # Time in seconds.
  463. ConfirmExpiryTime: 10
Add Comment
Please, Sign In to add comment