> For the complete documentation index, see [llms.txt](https://docs.aethercube.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aethercube.fr/developers/running-a-server/console-and-commands.md). Agents can also search and read this documentation through its [MCP server](https://docs.aethercube.fr/~gitbook/mcp).

# Console and commands

Everything you can type to run a server, from the console or in game, is listed here. Read it if you administer a server; plugin authors who add commands should also see [Commands and permissions](https://docs.aethercube.fr/developers/plugins/commands-and-permissions.md).

## The console

The server reads standard input. Each line is a command, and the leading `/` is optional. The console holds every permission, so you never need to op yourself there.

In game, a player types `/` followed by the command. Chat and commands share these limits:

| Limit               | Value                                                                                                                                                           |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Chat message length | 1 to 256 characters                                                                                                                                             |
| Chat rate           | 5 lines per 10 seconds                                                                                                                                          |
| Command rate        | 10 per second                                                                                                                                                   |
| Command line length | At most 256 characters                                                                                                                                          |
| Characters          | No control characters, no invisible format characters (bidirectional overrides, zero-width characters), no line or paragraph separators, no unpaired surrogates |

A chat message that breaks the character rule is refused with `Chat messages must be 1-256 characters, without control characters.` A command line that is too long or breaks the rule is refused with `Commands are at most 256 characters, without control or invisible characters.` It is refused before it is logged or run, so a player cannot forge a log line. A ban reason has the same characters replaced by spaces.

## Native commands

Every command has the node `server.command.<name>`. Operators can use all of them. Everyone can use `help`, `version`, `list` and `spawn`.

### General

| Command                      | Effect                                                                                                                                                                        |
| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `help [page]` (alias `?`)    | List the commands the sender may use.                                                                                                                                         |
| `version`                    | Server and game version.                                                                                                                                                      |
| `list`                       | Online players.                                                                                                                                                               |
| `stop`                       | Shut the server down in order.                                                                                                                                                |
| `save-all`                   | Save the world and the players now.                                                                                                                                           |
| `backup now` / `backup list` | Take a complete backup now, or list the backups. See [Worlds, saves and backups](https://docs.aethercube.fr/developers/running-a-server/worlds-saves-and-backups.md#backups). |
| `plugins` (alias `pl`)       | List the plugins and their state.                                                                                                                                             |
| `plugin info <name>`         | Details of a plugin.                                                                                                                                                          |
| `plugin disable <name>`      | Disable a plugin.                                                                                                                                                             |
| `plugin reload <name>`       | Always refused. Plugins are not hot-reloadable. Restart the server.                                                                                                           |
| `permissions` (alias `perm`) | See [Operators and permissions](https://docs.aethercube.fr/developers/running-a-server/operators-and-permissions.md).                                                         |

### Access control

Details, durations and file formats are in [Whitelist and bans](https://docs.aethercube.fr/developers/running-a-server/whitelist-and-bans.md).

| Command                                              | Effect                                                                                               |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `whitelist on\|off\|add <name>\|remove <name>\|list` | Manage who may join.                                                                                 |
| `ban <name> [duration] [reason...]`                  | Ban an account, for a while or for good.                                                             |
| `ban-ip <address\|name> [duration] [reason...]`      | Ban an IP address, or the address of a connected player. An IPv6 address bans its whole /64 network. |
| `pardon <name>`                                      | Lift an account ban.                                                                                 |
| `pardon-ip <address>`                                | Lift an address ban.                                                                                 |
| `banlist [players\|ips]`                             | List the bans.                                                                                       |

### Players

| Command                                                                                  | Effect                                                                                         |
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `tp <player> <target>` / `tp <player> <x> <y> <z>` / `tp <x> <y> <z>` (alias `teleport`) | Teleport.                                                                                      |
| `spawn`                                                                                  | Go to the world spawn.                                                                         |
| `give <player> <item> [amount]`                                                          | Give items. The namespace of `<item>` defaults to `core`.                                      |
| `gamemode <survival\|creative\|spectator\|0\|1\|2> [player]`                             | Change the game mode. Uses its own nodes, see above. Creative needs `gameplay.allow_creative`. |
| `kill <player\|entity id>`                                                               | Kill a player or an entity.                                                                    |
| `xp [player]`                                                                            | Show experience.                                                                               |
| `xp add <amount> [player]`                                                               | Add experience.                                                                                |
| `xp set-level <level> [player]`                                                          | Set the level.                                                                                 |
| `effect give <player> <effect> <seconds> [amplifier]`                                    | Apply a status effect.                                                                         |
| `effect clear <player> [effect]`                                                         | Remove one effect or all.                                                                      |
| `quest list [player]`                                                                    | List quests.                                                                                   |
| `quest start\|complete\|reset <player> <id>`                                             | Change a quest.                                                                                |

### World

| Command                                                                               | Effect                            |
| ------------------------------------------------------------------------------------- | --------------------------------- |
| `time [set <HH:MM\|dawn\|day\|noon\|dusk\|night\|midnight>]`                          | Show or set the time of day.      |
| `weather [clear\|rain\|thunder [seconds]]`                                            | Show or set the weather.          |
| `worldborder [set <diameter> \| center <x> <z> \| damage <amount>]`                   | Show or change the border.        |
| `difficulty [peaceful\|easy\|normal\|hard]`                                           | Show or set the difficulty.       |
| `world [info\|list]`                                                                  | World details.                    |
| `structure list` / `structure locate <id>` / `structure place <id> [0\|90\|180\|270]` | Find and place structures.        |
| `biome [locate <biome>]`                                                              | Show the biome here, or find one. |

### Creatures

| Command                                                                          | Effect                               |
| -------------------------------------------------------------------------------- | ------------------------------------ |
| `summon <type> [<x> <y> <z>] [traits <t,t,...>] [pack <n>]`                      | Spawn a creature, optionally a pack. |
| `creature info [entity id]` / `creature camps`                                   | Inspect creatures and camps.         |
| `boss spawn <id>` / `boss list` / `boss kill [id]` / `boss damage <amount> [id]` | Manage bosses.                       |
| `npc spawn <type>` / `npc list` / `npc remove <entity id>`                       | Manage NPCs.                         |

### Diagnostics

| Command  | Effect                                                                              |
| -------- | ----------------------------------------------------------------------------------- |
| `tps`    | Ticks per second now and averaged over 1, 5 and 15 minutes.                         |
| `mspt`   | Mean, 95th and 99th percentile tick duration, slow ticks and overloads.             |
| `gc`     | Heap, non-heap and collector figures. It does not force a collection.               |
| `health` | One line: TPS, tick time, players, chunks, entities, queue, heap and plugin counts. |

Plugins add their own commands. When two owners use the same name, the second is reachable as `owner:name`.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aethercube.fr/developers/running-a-server/console-and-commands.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
