# Custom Durability

## information

Custom durability is a really powerful system that allows you to create items with a set amount of uses. All items can have a Max Durability stat, which defines how many times the item can be used before either breaking or becoming unusable.

* **bar style - you also can use any you want symbol**\ <img src="https://346409645-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfCOFOaKjfZfQmicNaF%2F-MfD-CJXFsdda-Iw2aeG%2F-MfD1GB6IjzjwQYNplKl%2Fcustom-durability-bar.png?alt=media&#x26;token=9e7c5252-d4b5-472d-a4a9-5d1de7bc358c" alt="" data-size="line">&#x20;
* **basic style- this is default set**\ <img src="https://346409645-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfCOFOaKjfZfQmicNaF%2F-MfD-CJXFsdda-Iw2aeG%2F-MfD1VG7lfBYD1CvkHUQ%2Fcustom-durability-basic.png?alt=media&#x26;token=8fdd2ce8-f9b3-4a28-9449-3da9d439a772" alt="" data-size="line">&#x20;
* **ratio style - durability ratio (from 0% to 100%).** \ <img src="https://346409645-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfCOFOaKjfZfQmicNaF%2F-MfD-CJXFsdda-Iw2aeG%2F-MfD1tOU0ZtDbX0LGDyj%2Fcustom-durability-ratio.png?alt=media&#x26;token=efb98f2e-3296-4562-ba38-d5ce69b3b61e" alt="" data-size="line">&#x20;

Item Brokn message \ <img src="https://346409645-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfCOFOaKjfZfQmicNaF%2F-MfD2SVnMjHnOYqK9lWr%2F-MfD3BuMXHsHU5wUnwZ7%2Frepair-message.png?alt=media&#x26;token=4dd9267f-be56-4016-b261-37bc09ac29a6" alt="" data-size="line">&#x20;

## Configuration

This setting is in config.yml

```
Configuration:
  Basic:
    #basic, bar or ratio
    Durability_Type: "basic"  
    #you also can use ✦, ∎ or any you want symbol
    Durability_Display_style: "|" 
    #This is symbol amount
    Durability_Display_style_Amount: 40
    #if false, when item broken, player can't watch prompt message
    Enable_Item_Broken_Message: true

```
