> 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/chests-module/travel-backpack.md).

# Travel Backpack

A single carryable item that opens the chest selector when right-clicked — not a new storage space, just a shortcut for players who'd rather not type `/xstash`.

```yaml
travel-backpack:
  enabled: true
  material: ""    # a plain, inert vanilla item id - left blank by default
  head: "..."      # or a custom head texture, used instead of "material" if set
  name: "&6Travel Backpack"
  lore:
    - "&7Right-click to open your"
    - "&7chest selector."
```

Give one out with:

```
/xstash backpack [player]
```

(requires `xstash.admin`; without a player argument, gives one to yourself).

## Optional crafting recipe

```yaml
travel-backpack:
  craft:
    enabled: false
    permission: ""   # leave empty to let anyone with a crafting table craft it

    # SHAPED (grid position matters) - only matches a real 3x3 crafting table:
    #shape:
    #  - "LLL"
    #  - "LCL"
    #  - "LLL"
    #keys:
    #  L: LEATHER
    #  C: CHEST

    # SHAPELESS (used only while "shape" above is empty) - item key -> how many of the
    # 9 grid slots must hold it:
    ingredients:
      LEATHER: 4
      CHEST: 1
```

Ingredients accept the same four forms everywhere sacks accept item keys:

* A plain vanilla `Material` name.
* `Material:CustomModelData` — for a resource-pack-skinned custom item.
* `ei:<id>` — an ExecutableItems item, by its own id.
* `pdc:<namespace>:<key>:<value>` — a PersistentDataContainer tag another plugin uses to mark its items.

If `shape` is filled in, it takes priority and the recipe becomes shaped (character position in the grid matters, like a vanilla `ShapedRecipe`); otherwise `ingredients` is used as a shapeless recipe (only the count of each ingredient matters, not position).


---

# 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/chests-module/travel-backpack.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.
