# Commands, Permissions & Placeholders

## User Commands (/crates)

{% hint style="success" %}
**Grant them all permissions for admin commands**

`runithcrates.user.*` or `runithcrates.user.use` for /crates usage
{% endhint %}

<table><thead><tr><th width="251.22216796875">Command</th><th>Description</th><th>Permissions</th></tr></thead><tbody><tr><td><code>crates</code></td><td>Open crate's menu</td><td>runithcrates.user.keys</td></tr></tbody></table>

## Admin Commands (/rcrates)

{% hint style="success" %}
**Grant them all permissions for admin commands**

`runithcrates.admin.*` or `runithcrates.admin.use` for /rcrates usage
{% endhint %}

| Command                                                                  | Description                            | Permissions                      |
| ------------------------------------------------------------------------ | -------------------------------------- | -------------------------------- |
| `keys (set/add/remove/multiply/divide) (amount) (crateName) (player) -s` | Manages a player's keys                | runithcrates.admin.keys          |
| `giveall (amount) (crateName)`                                           | Give keys to everyone                  | runithcrates.admin.giveall       |
| `addlocation`                                                            | Create a crate location to set it      | runithclans.admin.addlocation    |
| `removelocation`                                                         | Delete a crate location to remove it   | runithclans.admin.removelocation |
| `reload`                                                                 | Reload the plugin configuration files. | runithcrates.admin.reload        |

## Placeholders

<table><thead><tr><th width="374">Placeholder</th><th>Description</th></tr></thead><tbody><tr><td><code>%runithcrates_(crateId)_displayName%</code></td><td>Display the crate name</td></tr><tr><td><code>%runithcrates_(crateId)%</code></td><td>Display the player's keys for a crate</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://runith.gitbook.io/runith/products/crates/commands-permissions-and-placeholders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
