Advertisement
Guest User

generalconfig.yml

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