repair.chain.yml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #
  2. # Any file named repair.*.yml in the mcmmmo folder will be loaded as a repair config
  3. # All repair configs have a main section titled "Repairables"
  4. # Afterwards, all sub-items are considered a Repairable to be loaded
  5. # The bare minimum of a Repairable is that it have an ItemId, a RepairMaterialId, and a MaximumDurability
  6. #
  7. # ItemId: This is the id of the item to be repairable.
  8. ## This is required to be set.
  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. # RepairMaterialId: This is the id 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. ChainHelmet:
  46. ItemId: 302
  47. ItemType: ARMOR
  48. RepairMaterialId: 51
  49. MaximumDurability: 165
  50. MinimumQuantity: 5
  51. XpMultiplier: 2
  52. ChainChest:
  53. ItemId: 303
  54. ItemType: ARMOR
  55. RepairMaterialId: 51
  56. MaximumDurability: 240
  57. MinimumQuantity: 8
  58. XpMultiplier: 2
  59. ChainLegs:
  60. ItemId: 304
  61. ItemType: ARMOR
  62. RepairMaterialId: 51
  63. MaximumDurability: 225
  64. MinimumQuantity: 7
  65. XpMultiplier: 2
  66. ChainBoots:
  67. ItemId: 305
  68. ItemType: ARMOR
  69. RepairMaterialId: 51
  70. RepairMaterialMetadata: -1
  71. MaximumDurability: 195
  72. MinimumQuantity: 4
  73. XpMultiplier: 2