Guest User

Untitled

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