# Evidence Locker

The Evidence Locker is a secure, database-driven storage system for items confiscated from players. Items are sent here when a staff member confiscates an item via the Player Profile or a Container during Mod Mode.

### Accessing the Locker

The locker is accessed via commands. The view depends on your permissions and the arguments provided.

| Command            | Permission                                                                         | Description                                                                               |
| ------------------ | ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| `/locker`          | <p><code>crown.profile.editinventory</code></p><p><code>crown.mod.use</code>  </p> | Opens **your** personal locker containing items you have confiscated.                     |
| `/locker <player>` | `crown.locker.admin`                                                               | Opens the locker of a specific staff member.                                              |
| `/locker all`      | `crown.locker.admin`                                                               | Opens the **Global Locker**, showing all confiscated items from all staff sorted by date. |

{% hint style="info" %}
**Note:** The Locker menu is **paginated**. Use the arrows in the bottom corners to navigate through history.
{% endhint %}

### Managing Evidence

Items in the locker act differently than a standard chest. Specific key binds are used to manage the evidence to prevent accidental loss.

#### 1. Adding Items

To manually add an item to the locker without punishing a player:

* Open your locker using `/locker`.
* **Left-Click** an item in your **own inventory** (bottom).
* The item will be serialized and uploaded to the database immediately.

#### 2. Retrieving Items

* **Right-Click** an item in the locker to **Take** it. This removes it from the database and places it in your inventory.
* **Shift + Right-Click** an item to **Copy** it. This gives you a duplicate while keeping the original evidence in the locker.

{% hint style="danger" %}
You can't **COPY**, **TAKE** or **ADD** items while in **Mod Mode**.
{% endhint %}

#### 3. Deleting Items

To permanently destroy evidence:

* Hover over the item in the locker.
* Press the **Drop Key (Q)**.
* Press **Q again** within 2 seconds to confirm deletion.
