Skip to content
MaksyKun edited this page Jul 25, 2026 · 3 revisions

22 — Repair

Repair restores durability through experience, materials, Vault money, or an anvil interaction.

Files

Commands and permissions

  • rpgrepair open [player] — divinity.repair.cmd.open
  • GUI access — divinity.repair.gui
  • Shared item commands and reload — divinity.admin

Configuration and example

Enable or disable repair types under repair.types. Material groups map ingredients to eligible target materials; anvil.enabled and open-action control anvil support.

items/sample_tool.yml — bundled repair tool
material: IRON_AXE
name: 'Repair Tool'
tier: common
level:
  min: 1
  max: 5
uses-by-level:
  '1': 1
  '2': 3
repair-by-level:
  '1': 10
  '2': 20
  '3': 30
  '4': 40
  '5': 50
target-requirements:
  type:
    - 'WEAPON'
    - 'ARMOR'
  module:
    - '*'

Clone this wiki locally