# Commands and Permissions

## Commands

| Command                                | Description                                                                               |
| -------------------------------------- | ----------------------------------------------------------------------------------------- |
| `/minechess create <arena>`            | Creates a new arena.                                                                      |
| `/minechess build <arena>`             | Builds an arena on your current position.                                                 |
| `/minechess edit <arena>`              | Opens the editing GUI for an arena.                                                       |
| `/minechess delete <arena>`            | Deletes an arena.                                                                         |
| `/minechess join <arena>`              | Joins an arena.                                                                           |
| `/minechess joinrandom`                | Joins a random arena.                                                                     |
| `/minechess joincomputer <difficulty>` | <p><strong>MineChess+</strong> exclusive feature.<br>Joins a player vs computer game.</p> |
| `/minechess leave`                     | Leaves the arena.                                                                         |
| `/minechess spectate <arena/player>`   | Spectates an arena or a player.                                                           |
| `/minechess arenas`                    | <p><strong>MineChess+</strong> exclusive feature.</p><p>Opens the arenas GUI.</p>         |
| `/minechess setmainlobby`              | Sets the Main Lobby.                                                                      |
| `/minechess enable <arena>`            | Enables an arena.                                                                         |
| `/minechess disable <arena>`           | Disables an arena.                                                                        |
| `/minechess verify`                    | Checks the plugin for errors.                                                             |
| `/minechess reload`                    | Reloads the config.                                                                       |

## Permissions

| Permission               | Description                                                                                                                                     | Enabled by default |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| `minechess.join`         | Permission to join arenas using the command.                                                                                                    | true               |
| `minechess.joincomputer` | <p><strong>MineChess+</strong> exclusive feature.</p><p>Permission to join player vs computer games.</p>                                        | true               |
| `minechess.leave`        | Permission to leave from arenas using the command.                                                                                              | true               |
| `minechess.spectate`     | Permission to spectate arenas using the command.                                                                                                | true               |
| `minechess.arenas`       | <p><strong>MineChess+</strong> exclusive feature.</p><p>Permission to join/spectate arenas using the arenas GUI (/minechess arenas command)</p> | true               |
| `minechess.admin`        | Access to all commands.                                                                                                                         | false              |


---

# Agent Instructions: 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:

```
GET https://ajneb97.gitbook.io/minechess/commands-and-permissions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
