CrazyCrates: setting up crates
Creating a crate, keys, chances, preview, and animations: the full setup cycle and what to check before selling.
Updated August 13, 2026
The general logic of crates is covered in Crates and keys. This page covers the specific setup.
Crate file
plugins/CrazyCrates/crates/vip.yml:
Crate:
CrateName: '&6VIP Crate'
CrateType: CSGO
Preview-Toggle: true
Prizes:
'1':
DisplayName: '&fDiamonds x16'
DisplayItem: DIAMOND
MaxRange: 100
Chance: 40
Items:
- 'Item:DIAMOND, Amount:16'
'2':
DisplayName: '&6Premium Key'
DisplayItem: TRIPWIRE_HOOK
Chance: 5
Commands:
- 'crazycrates give physical premium 1 %player%'
Keys
/crazycrates give physical vip 1 Nick
/crazycrates give virtual vip 1 Nick
A physical key is an item, a virtual key is a counter. Virtual keys are more convenient: they can't be lost or stolen.
Mandatory preview
Preview-Toggle: true — the player must see the contents and odds before opening. This eliminates most complaints and is mandatory if crates are sold for money — Donations and rules.
Pre-sale checks
- Open the crate 10 times with a test account.
- Check that command prizes are granted (permissions, money).
- Check that the item isn't lost when the inventory is full.
- Check that it works after a restart.
Load
Animations spawn entities and particles. When crates are opened in bulk (for example, after handing out keys to everyone), the server takes a noticeable hit — limit simultaneous openings in the config.
