> 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/xplayerexp/reference/commands.md).

# Commands

{% hint style="info" %}
Every keyword shown here — the main command, its aliases, and each subcommand/argument — reflects the **defaults**. All of them are renameable via config; see [Custom Commands](/home/xplayerexp/features/custom-commands.md). Console can always run every subcommand regardless of permission checks that only apply to in-game senders — see the notes below.
{% endhint %}

## `/bottlexp` (aliases: `/xexp`, `/expbottle` by default)

Running the command with no arguments (in-game only) opens the in-game help menu listing whichever subcommands the player has permission for.

| Usage                                              | Permission                  | Description                                                                             |
| -------------------------------------------------- | --------------------------- | --------------------------------------------------------------------------------------- |
| `/bottlexp create <amount>`                        | `xplayerexp.bottle.create`  | **Player only.** Converts `<amount>` of the player's own XP into a bottle.              |
| `/bottlexp give <player> <amount>`                 | `xplayerexp.admin.give`     | Console or player. Hands `<player>` a bottle worth `<amount>`, no XP taken from anyone. |
| `/bottlexp reload`                                 | `xplayerexp.admin.reload`   | Console or player. Reloads `config.yml`, the active language file, and `doublexp.yml`.  |
| `/bottlexp doublexp start <multiplier> [duration]` | `xplayerexp.doublexp.start` | Console or player. Starts a Double XP event. `duration` in seconds, default `3600`.     |
| `/bottlexp doublexp end`                           | `xplayerexp.doublexp.end`   | Console or player. Ends the running Double XP event.                                    |

{% hint style="warning" %}
`give` and `reload`'s permission checks only apply to **in-game senders** — console always passes them, by design (console is trusted by definition). The same is true for `doublexp start`/`end`.
{% endhint %}

## Consuming a bottle

Not a command — right-click while holding a bottle to drink it. Needs `xplayerexp.bottle.use`. See [XP Bottles](/home/xplayerexp/features/bottles.md).

See [Permissions](/home/xplayerexp/reference/permissions.md) for the full reference, and each feature page for the underlying mechanics.


---

# 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/xplayerexp/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.
