> For the complete documentation index, see [llms.txt](https://acestudios.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://acestudios.gitbook.io/docs/inventory-and-items/compensation-stashes.md).

# Compensation Stashes

Create compensation stashes for players, with a staff menu and Discord logging.

**Compensation Stashes** (`ace_compstashes`) gives staff a simple way to compensate players. Staff create a stash, fill it with items, and the player claims it with a command. It includes a stash management menu, commands to open, empty and inspect stashes, a join reminder for players with a waiting stash, and Discord logs for every action.

|                   |                                                |
| ----------------- | ---------------------------------------------- |
| **Resource name** | `ace_compstashes`                              |
| **Version**       | 1.0.0                                          |
| **Framework**     | QBCore (the only supported framework)          |
| **Inventory**     | `ox_inventory`                                 |
| **Dependencies**  | `ox_lib`, `oxmysql`, `ox_inventory`, `qb-core` |
| **Storage**       | JSON files in `db/` (optional, on by default)  |

## Features

* **Stash management menu** for staff
* **Create** compensation stashes, then **claim** them as a player
* **Open** compensation stashes or **any stash by name**
* **Empty** stashes
* **Join reminder** for players who have a stash waiting
* **Saved to JSON** (`db/createdstashes.json`, `db/stashids.json`) so stashes survive restarts
* **Configurable stash size:** slots, max weight and label prefix
* **Permissions** through ACE or a license list
* **Discord logging** with a separate webhook per action

## Default commands

| Command       | Who     | Description                      |
| ------------- | ------- | -------------------------------- |
| `/stashmenu`  | Staff   | Opens the stash management menu. |
| `/createcomp` | Staff   | Creates a compensation stash.    |
| `/opencomp`   | Staff   | Opens compensation stashes.      |
| `/openstash`  | Staff   | Opens a stash by name (global).  |
| `/emptystash` | Staff   | Clears a stash.                  |
| `/claimcomp`  | Players | Claims your compensation stash.  |

See [Commands & Permissions](/docs/inventory-and-items/compensation-stashes/commands-and-permissions.md).

{% content-ref url="/pages/b4cuufXWTob0Op3O8jmZ" %}
[Installation](/docs/inventory-and-items/compensation-stashes/installation.md)
{% endcontent-ref %}
