repair.chain.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #
  2. # Repair configuration
  3. # Last updated on ${project.version}-b${BUILD_NUMBER}
  4. #
  5. # Any file named repair.*.yml in the mcmmmo folder will be loaded as a repair config
  6. # All repair configs have a main section titled "Repairables"
  7. # Afterwards, all sub-items are considered a Repairable to be loaded. The names of each subitem should be the exact material name.
  8. # The bare minimum of a Repairable is that it have a RepairMaterial and a MaximumDurability
  9. #
  10. # ItemType: This is the type of item to be repaired, this is only important to permissions.
  11. ## Valid values are ARMOR, TOOL, and OTHER.
  12. ## This defaults to OTHER.
  13. #
  14. # MaterialType: This is the type of the material of the item to be repaired, this is only important for permissions.
  15. ## Valid values are STRING, LEATHER, WOOD, STONE, IRON, GOLD, DIAMOND, and OTHER
  16. ## This defaults to OTHER.
  17. #
  18. # RepairMaterial: This is the material name of the item used to repair this repairable.
  19. ## This is required to be set.
  20. #
  21. # RepairMaterialMetadata: This is the metadata of the item used to repair this repairable.
  22. ## A value of -1 means to ignore all metadata when repairing.
  23. ## This defaults to -1
  24. #
  25. # MaximumDurability: This is the maximum durability of the item.
  26. ## This is required to be set.
  27. #
  28. # MinimumLevel: This is the minimum repair level needed to repair this item.
  29. ## Valid values are => 0
  30. ## This defaults to 0
  31. #
  32. # MinimumQuantity: This is the minimum number of items needed to repair this item ignoring all other repair bonuses.
  33. ## This is typically the number of the repair material needed to create a new item, for example for a sword it is 2, for an axe it is 3
  34. ## This defaults to 2
  35. #
  36. # XpMultiplier: This is the amount to multiply the xp bonus by.
  37. ## This defaults to 1
  38. #
  39. #
  40. # The following is an example of a repair.*.yml config which adds the ability to repair Chainmail armor using fire.
  41. #
  42. #
  43. ###
  44. Repairables:
  45. #
  46. # Chainmail repairables
  47. ###
  48. # Armor
  49. CHAINMAIL_HELMET:
  50. RepairMaterial: FIRE
  51. XpMultiplier: 2
  52. CHAINMAIL_CHESTPLATE:
  53. RepairMaterial: FIRE
  54. XpMultiplier: 2
  55. CHAINMAIL_LEGGINGS:
  56. RepairMaterial: FIRE
  57. XpMultiplier: 2
  58. CHAINMAIL_BOOTS:
  59. RepairMaterial: FIRE
  60. XpMultiplier: 2