Advertisement
Guest User

Untitled

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