> For the complete documentation index, see [llms.txt](https://kox-core.gitbook.io/loot-box-1.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kox-core.gitbook.io/loot-box-1.0/add-a-new-crate.md).

# Add a new Crate

## IMPORTANT

{% hint style="danger" %}
Each case must contain at least 2 items and one of them has at least 1000 of winrate
{% endhint %}

## How to add new Crate ?

{% hint style="info" %}
Check the "[Customize your crate](/loot-box-1.0/client-reference/customize-your-crate.md)" section for exemple and full documentation.
{% endhint %}

{% hint style="warning" %}
Check the "[winRate & Rarity](/loot-box-1.0/client-reference/winrate-and-rarity.md)" section for winRate
{% endhint %}

{% code title="config.js" %}

```javascript
{
        Item : "(ITEM NAME)", 
        Label : "(LABEL OF CASE)",
        NameColor: "(CRATE NAME COLOR)",
        BgColor: "(BACKGROUND COLOR)",
        BgShadow : "(BACKGROUND SHADOW)",
        TxtShadow : "(TEXT SHADOW)",
        ImgShadow : "(CRATE SHADOW)",
        Lid : lid."(COLOR NAME)",
        Front : front."(COLOR NAME)",
        Inside : inside."(COLOR NAME)",
        
        // at least 2 items and one of them must have at least 1000 of winrate
        
        Items : [
            {
                ItemLabel : "(ITEM LABEL)",
                ItemName : "(ITEM NAME OR WEAPON NAME OR money_)", // for money (prefix = money_) : example (money_cash)
                winRate : "(WIN RATE)" // 1000 = Common / 750 = Rare /  500 = VeryRare / 250 = Epic / 50 = Legendary / 5 = Extra (best item)
                Count : "(AMOUNT WIN ITEM)" // if not Count -> default = 1
            },
        ]
    },
```

{% endcode %}

{% embed url="<https://discord.gg/pY5bdD7mZ3>" %}
