> For the complete documentation index, see [llms.txt](https://docs.hyper-code.eu/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hyper-code.eu/documentation/case-system/general.md).

# Case System

Case System is a FiveM loot-case script (ESX and QBCore) with opening animation, five rarity tiers and item, weapon, money or vehicle rewards.

Case System (`hc_cases`) turns any item into an openable case:

* **Usable case items** – every case is an item. Using it opens a spinning case UI with sound.
* **Five rarity tiers** – Common to Legendary, each with its own drop weight and colour.
* **Four reward types** – items, weapons, money (cash, bank or any account) and vehicles.
* **Optional key item** – a case can require a second item (for example a case key) to open.
* **Announcements and logs** – optional win announcement and Discord webhook log.

[Buy Case System](https://shop.hyper-code.eu/package/6496315)

## At a glance

|              |                                                      |
| ------------ | ---------------------------------------------------- |
| Framework    | ESX Legacy or QBCore                                 |
| Requirements | ESX Legacy or QBCore, `oxmysql`                      |
| Optional     | `ox_inventory` (item list is detected automatically) |
| Database     | No SQL file needed                                   |
| Escrow       | Escrow-protected (Cfx) · config files fully editable |
