Pietro0135

Untitled

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