> For the complete documentation index, see [llms.txt](https://docs.xandtech.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xandtech.fr/home/xstash/reference/commands.md).

# Commands

## `/xstash` (default aliases: `/xs`, `/storage`)

| Usage                                       | Permission     | Description                                                                                                                                                                             |
| ------------------------------------------- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `/xstash`                                   | `xstash.use`   | Opens the chest selector.                                                                                                                                                               |
| `/xstash <number>`                          | `xstash.use`   | Opens a specific chest directly.                                                                                                                                                        |
| `/xstash reload`                            | `xstash.admin` | Reloads XStash's configuration files.                                                                                                                                                   |
| `/xstash backpack [player]`                 | `xstash.admin` | Gives the travel backpack item (to yourself if no player given).                                                                                                                        |
| `/xstash logs <player> [page]`              | `xstash.admin` | Shows that player's chest activity history.                                                                                                                                             |
| `/xstash view <player> [page]`              | `xstash.admin` | Opens the admin management view of that player's chests.                                                                                                                                |
| `/xstash export <csv\|yaml\|json> [player]` | `xstash.admin` | Exports the chest transaction log to `plugins/XStash/exports/` — that one player's history, or every player's if omitted. See [Admin Tools](/home/xstash/chests-module/admin-tools.md). |

`/xstash` itself always works, no matter what — its aliases (`xs`, `storage` by default) are configurable in `config.yml`, see [Installation & Setup](/home/xstash/getting-started/getting-started.md#custom-command-names).

## `/sacks` (default aliases: `/sack`, `/sos`)

| Usage                                       | Permission         | Description                                             |
| ------------------------------------------- | ------------------ | ------------------------------------------------------- |
| `/sacks`                                    | `xstash.sacks.use` | Opens your own Sack of Sacks.                           |
| `/sacks give <sackId> [player]`             | `xstash.admin`     | Hands over a sack item.                                 |
| `/sacks settier <sackId> <tierId> [player]` | `xstash.admin`     | Sets a player's tier for that sack directly.            |
| `/sacks view <player> [page]`               | `xstash.admin`     | Opens the admin management view of that player's sacks. |
| `/sacks addslots <player> <amount>`         | `xstash.admin`     | Grants Sack of Sacks slots.                             |
| `/sacks removeslots <player> <amount>`      | `xstash.admin`     | Removes Sack of Sacks slots.                            |
| `/sacks clearslots <player>`                | `xstash.admin`     | Resets a player's Sack of Sacks slots to the default.   |

`/sacks` itself always works, no matter what — its aliases (`sack`, `sos` by default) are configurable in `config.yml`, see [Installation & Setup](/home/xstash/getting-started/getting-started.md#custom-command-names).

See [Permissions](/home/xstash/reference/permissions.md) for the full permission reference beyond command access — most in-game actions (renaming, utility bar buttons, sack tiers...) have their own additional permission nodes.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.xandtech.fr/home/xstash/reference/commands.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
