# 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

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wayne87060271.gitbook.io/customitemgui/features/custom-durability.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
