> 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/inventory/general.md).

# Inventory

Inventory is a lightweight, modular ESX inventory for FiveM with trading, item drops, vehicle storage, job storages, crafting, shops and external stashes.

Inventory (`hc_inventory`) replaces the default ESX inventory with a drag-and-drop UI:

* **Player inventory** – use, drop and give items with drag and drop. Cash and black money are shown as items.
* **Trading** – a trade window with ready / accept confirmation between two players.
* **Item drops** – drop items on the ground. Nearby drops are merged into one bag, which is removed after a set time.
* **Vehicle storage** – trunk and glovebox with weight and slot limits per vehicle class or model. Saved for owned vehicles.
* **Weapons** – weapons with ammo, attachments and tints. Ammo clip, attachment and tint items work out of the box.
* **Item categories and descriptions** – stored in the `items` table and shown in the UI.
* **Discord logs** – for using, giving, dropping, trading and storing items.

Included plugins (each can be configured or switched off on its own):

| Plugin      | What it does                                                   |
| ----------- | -------------------------------------------------------------- |
| Crafting    | Crafting stations with as many recipes as you like             |
| Shops       | Shops with item and weapon sales, optionally owned by a job    |
| Job storage | Shared storage per job with a minimum grade                    |
| External    | Stashes for housing or other scripts, opened through an export |
| Frisk       | Open another player's inventory as a second inventory          |

[Buy Inventory](https://shop.hyper-code.eu/package/6800161)

{% hint style="info" %}
Items have no metadata. All items with the same name are identical (no serial numbers, durability or similar per-item data).
{% endhint %}

## At a glance

|              |                                                                   |
| ------------ | ----------------------------------------------------------------- |
| Framework    | ESX Legacy                                                        |
| Requirements | `es_extended`, `oxmysql`                                          |
| Optional     | `esx_society` / `esx_addonaccount` (money of job-owned shops)     |
| Database     | SQL file included (`items.sql`), tables are created automatically |
| Escrow       | Escrow-protected (Cfx) · config files fully editable              |
