# Armors

## armors.yml

{% hint style="warning" %}
Armors are special items which can't have custom texture, but they can have a custom color, so you can have a green armor made of emeralds
{% endhint %}

This is the file where all custom armors behaviour and config are stored.

This is an example armor piece, you'll notice iit has some specific properties for amors.

```yaml
ruby_chest:
  enabled: true
  permission: rubyarmor
  name: '&fRuby chestplate'
  specific_properties:
    armor: 7
    armor_color: ff0000
    armor_type: chest
  craft_recipe:
    enabled: true
    pattern:
      - rXr
      - rrr
      - rrr
    ingredients:
      r: ruby
```

{% hint style="danger" %}
**IMPORTANT**\
If you set an HEX color that starts with a digit (example: 2F0000) you have to wrap it between "" like this or the plugin will not work:

```yaml
armor_color: "2f0000"
```

{% endhint %}

## Specific properties for armors <a href="#specific-properties-for-swords" id="specific-properties-for-swords"></a>

```yaml
  specific_properties:
    armor: 7 #armor strenght
    toughness: #armor toughness
    armor_color: ff0000 #hex color
    armor_type: chest #armor piece type
```

### armor\_type values

* head
* chest
* legs
* boots


---

# 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://lonedev.gitbook.io/itemsadder/specific-items/armors.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.
