Advertisement
Guest User

generalConfig.yml

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