> For the complete documentation index, see [llms.txt](https://wayne87060271.gitbook.io/customitemgui/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wayne87060271.gitbook.io/customitemgui/features/custom-durability.md).

# 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="/files/-MfD1GB6IjzjwQYNplKl" alt="" data-size="line">&#x20;
* **basic style- this is default set**\ <img src="/files/-MfD1VG7lfBYD1CvkHUQ" alt="" data-size="line">&#x20;
* **ratio style - durability ratio (from 0% to 100%).** \ <img src="/files/-MfD1tOU0ZtDbX0LGDyj" alt="" data-size="line">&#x20;

Item Brokn message \ <img src="/files/-MfD3BuMXHsHU5wUnwZ7" 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

```
