Advertisement
szumielxd

JobsGeneralConfig

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