> For the complete documentation index, see [llms.txt](https://docs.sarry20.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sarry20.com/products/minions/upgrades.md).

# Upgrades

You can create custom upgrades for your minions to make your server more personalized and attractive.

| 🆙Level Upgrade Options    | Expected Value                                                                                                                                                                   |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Chest/Leggings/Boots Color | WHITE, BLACK, RED, GREEN, GRAY, CYAN, PINK, PURPLE, BROWN, YELLOW, BLUE                                                                                                          |
| Tool                       | [Material](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)                                                                                                    |
| Head                       | [Head Value](https://minecraft-heads.com/custom-heads)                                                                                                                           |
| ActionTime                 | Number                                                                                                                                                                           |
| SlotsNumber                | Number                                                                                                                                                                           |
| Upgrade.Money.Available    | Boolean (Requires [Vault](https://www.spigotmc.org/resources/vault.34315/))                                                                                                      |
| Upgrade.Money.Amount       | Number (Requires [Vault](https://www.spigotmc.org/resources/vault.34315/))                                                                                                       |
| Upgrade.Items.Available    | Boolean                                                                                                                                                                          |
| Upgrade.Items.ItemList     | String List, you can use EcoItems **ecoitems#id\_material#amount**, or other minions **minion#minion\_type#minion\_material#level** or simply vanilla items, **material#amount** |

{% hint style="info" %}
In the configuration section **Upgrade** It is the cost needed to reach **that same level**, that is, you are configuring what is needed for **that level.**
{% endhint %}

{% hint style="info" %}
If you will use a minion to upgrade another minion keep in mind that the player will need two of the same level, one in hand and the other that is placed.
{% endhint %}

How to add custom upgrade:

```yaml
Level_3:
    ChestColor: WHITE
    LeggingsColor: WHITE
    BootsColor: WHITE
    Tool: WOODEN_PICKAXE
    Head: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTczMDkyY2FlYTg5ZGQxMmQzNjgzNzVmMWEwOTc3OTZlM2JjODhmODA5YWNjZjMyMDcwNmJkYzA0OGNkNGM1ZSJ9fX0=
    ActionTime: 3
    SlotsNumber: 15
    Upgrade:
      Money:
        Available: false
        Amount: 0
      Items:
        Available: true
        CraftingId: '#'
        ItemList:
        - COBBLESTONE:32
        - IRON_ORE:32
        - minion#MINER#IRON_ORE#1
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sarry20.com/products/minions/upgrades.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
