Advertisement
Ted_2001

config.yml

Oct 11th, 2022 (edited)
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.49 KB | None | 0 0
  1. #####################################################################
  2. #                                                                   #
  3. #                                                                   #
  4. #                  Weight RPG Plugin Configuration                  #
  5. #                          Author Ted_2001                          #
  6. #         https://www.spigotmc.org/members/ted_2001.66700/          #
  7. #                                                                   #
  8. #                                                                   #
  9. #####################################################################
  10.  
  11.  
  12.  
  13. # Here, set up options for weight levels. The effects will be used when the players have more weight than your typed value or permission value.
  14. # Messages can support placeholders. List of placeholders
  15. # %playername% for player's name.
  16. # %displayname% for player's display name.
  17. # %weight% for player's weight.
  18. # %maxweight% for global max weight. (if you have enabled level 3 then level 3 is the maximum if you have disabled level 3 but enabled level 2 then level 2 is the max.)
  19. # %world% for player's world.
  20. # %level1% for weight level 1 value %level2% for level 2 and %level3% for level 3.
  21. # %percentage% for weight percentage ( weight * 100 / ( max weight + boost items ) )
  22. # %percentageweight% for percentage bar animation.
  23. # %pluginprefix% for plugin's prefix.
  24.  
  25.  
  26. message-before-level1-enabled: true
  27. # The message that will send to the player before reaching level 1 value.
  28. message-before-level1: "%displayname%: &eWeight &a%weight% &2/ &c%level1% %percentageweight%"
  29.  
  30. # Permission mode will get the weight values from the player's permission. (default false)
  31. # You need to use permissions like this. weight.level1.(value), weight.level2.(value), weight.level3.(value)
  32. # If the permission doesn't exist then the value of the weight level will be the value under the weight level on the config.yml file
  33. # NOT RECOMMENDED the usage of it will be heavy.
  34. # Max value for level 1 and level 2 is 10000 and for level 3 is 20000 on permission mode
  35. # permission mode will only work with multiples of 100. For example (1000, 1500, 2300, etc).
  36. # This is for performance reasons.
  37. permission-mode: false
  38.  
  39. weight-level-1:
  40.  # when this level will take effect.
  41.   # if you have permission mode on true ignore this option and configure the other options.
  42.   # but remember this value will be on players that they will not have the weight.level1.x permission
  43.   value: 1000
  44.   # normal speed is 0.2, accepted values 0 between 1.
  45.   speed: 0.15
  46.   # Disable jump for players in this level when they are carrying too many items. (default is false)
  47.   disable-jump: false
  48.   # Prevent the player from picking up items when his weight reaches this level.
  49.   disable-pick-up: false
  50.   # the sound that will play when this level takes effect. Write 'none' for no sound. List of sounds https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  51.   sound: none
  52.   # If the message send to the player when he will reach this level (default is true)
  53.   message-enabled: true
  54.   # The message that will send to the player when he will be over the weight value.
  55.   message: "%displayname%: &eI am carrying too many items. &e%weight% &2/ &c%level2% %percentageweight%"
  56. weight-level-2:
  57.   enabled: true
  58.   value: 1500
  59.   speed: 0.1
  60.   disable-jump: false
  61.   disable-pick-up: false
  62.   sound: ENTITY_PLAYER_HURT
  63.   message-enabled: true
  64.   message: "%displayname%: &6I am carrying too many items. &e%weight% &2/ &c%level3% %percentageweight%"
  65. weight-level-3:
  66.   enabled: true
  67.   value: 2000
  68.   speed: 0.05
  69.   disable-jump: true
  70.   disable-pick-up: false
  71.   sound: ENTITY_PLAYER_HURT
  72.   message-enabled: true
  73.   message: "%displayname%: &cI am carrying too many items. &4%weight% %percentageweight%"
  74.  
  75. # Should messages send as actionbar messages? (if you set it in false messages will be sent on chat, default is true)
  76. actionbar-messages: true
  77.  
  78. # Couldown in seconds before the next 'level message' and sound sent to the player. (default is 30)
  79. messages-cooldown: 30
  80.  
  81. # Check everyone's inventory in seconds. Only integers value. (default is 3)
  82. check-weight: 3
  83.  
  84. # Cooldown in seconds before the player can drop items. (default is 0.5)
  85. drop-cooldown:
  86.   enabled: true
  87.   cooldown: 0.5
  88.  
  89. # Should the plugin calculate the storage inside a shulker box? (default is true)
  90. # It will also calculate the custom items and boost items' weight.
  91. shulker-boxes: true
  92.  
  93. # Here add customs items name for custom weight.
  94. # Don't add space after and before '='. Use '&' for color codes.
  95. # Υou can use RGB colors by specifying them in the format "&#RRGGBB"
  96. custom-items-weight:
  97. # - "customitemname=weight"
  98.   - "&c&lThunder Sword=20"
  99.   - "&#FFD700&lAmazing Pickaxe=14"
  100.  
  101.  
  102. # Here add boost items' names and their respective weight to increase the player's carrying capacity.
  103. # Don't add space after and before '='. Use '&' for color codes.
  104. # Υou can use RGB colors by specifying them in the format "&#RRGGBB"
  105. # Boost items don't have any weight.
  106. boost-items:
  107. # - "itemname=boost_weight"
  108.   - "&aSuper Backpack=50"
  109.   - "&#1cebee&lEnhanced Bag=100"
  110.  
  111. plugin-prefix: "&7[&eWeight-RPG&7]&f: "
  112.  
  113. # Notify all the players that have the weight.notify permission that an item isn't in the weight files.
  114. # You can add the item with /weight add command.
  115. # Cooldown in seconds (default is 30)
  116. notify-permission-cooldown: 30
  117.  
  118. # Disable the plugin on this world(s). It can be empty.
  119. disabled-worlds:
  120.  #- world_nether
  121.   #- world_the_end
  122.   #- world2
  123.   #- world_3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement