> 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/sacks-module/admin-tools.md).

# Admin Tools

## `/sacks view <player> [page]`

Requires `xstash.admin`. Opens a management view of a target player's sacks — works even offline, no ownership requirement.

**The selector** lists every sack in the catalog with the target's current tier for each, plus:

* A shortcut into the target's **Sack of Sacks** proxy view — a real, editable inventory of their actual stored sack items.
* A slot-count control button (left/right-click ±1, shift ±10) to adjust their Sack of Sacks capacity directly from here, instead of typing `/sacks addslots`.

**A sack's content view** shows every item that sack can hold with its current stored amount, editable directly:

* **Left-click** → remove one stack's worth.
* **Shift + left-click** → clear that item entirely.
* **Right-click** → add one stack's worth (capped at the tier's max).
* **Shift + right-click** → fill to the tier's max.
* A dedicated **tier control button** cycles the target's tier for that sack up/down, no cost, no permission check — a straight admin override.

### Live, bidirectional sync

The admin selector, the admin's Sack of Sacks proxy view, the admin's per-sack content view, and the target's own real menus (if open at the same time) all refresh automatically about once a second — a deposit, withdrawal, or tier change made on either side shows up on the other without needing to reopen anything.

## `/sacks give <sackId> [player]`

Requires `xstash.admin`. Hands over the sack item — see [Overview & Tiers](/home/xstash/sacks-module/sacks.md#obtaining-a-sack).

## `/sacks settier <sackId> <tierId> [player]`

Requires `xstash.admin`. Sets a player's tracked tier for a sack directly, skipping the normal upgrade cost — useful as a quest/event reward.

## `/sacks addslots` / `removeslots` / `clearslots`

Requires `xstash.admin`. See [Sack of Sacks](/home/xstash/sacks-module/sack-of-sacks.md#managing-slots).


---

# 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/sacks-module/admin-tools.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.
