Advertisement
wonka101

Untitled

Dec 9th, 2019 (edited)
1,145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.81 KB | None | 0 0
  1. # Maximum weight (once this limit is reached a player's speed will no longer decrease)
  2. # a higher value means there will be a higher variance in speed
  3. weightLimit: 500
  4. # If set to true, upon reaching [weightLimit], the player will be unable to walk
  5. # until their weight decreases. (Note: Player can still move by jumping)
  6. disableMovement: true
  7.  
  8. # Sets the walking speed when a player has an empty inventory(max) and when a player has a weight greater than
  9. # or equal to the weight limit(min) (Note: .20 is the default walk speed in Minecraft)
  10. # values must be between 1.0 and 0.0 and min speed must be less than max speed
  11. maxWalkSpeed: .20
  12. minWalkSpeed: .20
  13.  
  14. # The % of the weight limit that a player must reach before their speed begins to decrease
  15. # Up until this value the player will have the max walk speed. Leaving it at 0.0 will result in default behavior.
  16. beginSlowdown: 0.0
  17.  
  18. # Time in seconds where the plugin will recalculate each player's weight
  19. # A lower number results in more frequent updates
  20. checkInventoryTimer: 2
  21.  
  22. # Sets the default weight for all items not specified
  23. defaultWeight: 1
  24.  
  25. # List of materials and their weights, if a material is not listed then it assumes the default value
  26. # list of materials can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  27. materialWeights:
  28.   - material: IRON_PICKAXE
  29.     weight: 5
  30.   - material: IRON_SWORD
  31.     weight: 10
  32.   - material: BROWN_MUSHROOM
  33.     weight: 0.5
  34.   - material: WHEAT_SEEDS
  35.     weight: 1.5
  36.   - material: DIAMOND_SWORD
  37.     weight: 5
  38.  
  39. # Weights based on the item display name. This weight enforced ahead of the material-based item name.
  40. customItemWeights:
  41.   - name: Diamond Sword of Doom
  42.     weight: 20
  43.  
  44. # If true a player will be notified each time their inventory weight changes
  45. showWeightChange: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement