> For the complete documentation index, see [llms.txt](https://zanisdev.gitbook.io/supperforge-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zanisdev.gitbook.io/supperforge-wiki/configurate/mechanic/durability-system.md).

# Durability System

see in config.yml

{% hint style="info" %}
Don't change < > inside ' '
{% endhint %}

* durability\_system:&#x20;
  * break: \<true/false>: <mark style="color:green;">does item break when it's durability equals zero?</mark>
  * messages:&#x20;
    * broken: \<string>: <mark style="color:green;">message when item break</mark>
    * out\_of\_durability: \<string>: <mark style="color:green;">message when item's durability is zero</mark>
  * slots:\ <mark style="color:green;">ID slot show in messages above</mark>
    * helmet: \<string>
    * chestplate: \<string>
    * leggings: \<string>
    * boots: \<string>
    * item: \<string>

### Repair cost:&#x20;

cost per durability

* LEVEL: <mark style="color:green;">player level</mark>
* MONEY (vault hook): <mark style="color:green;">money</mark>
* ITEM: <mark style="color:green;">list item required</mark>

  * \<material> is vanilla material (EX: STONE,...) or material in materials.yml
  * \<integer> is amount material required

  Example: You have an item have durability (set by sstat) \[5/10] then cost is 5\*LEVEL, 5\*MONEY, 5\*ITEM
