> For the complete documentation index, see [llms.txt](https://wiki.helpch.at/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.helpch.at/helpchat-plugins/chatchat/commands.md).

# Commands

ChatChat commands, aliases, permissions, and channel command setup.

## Plugin commands

| Command                             | Aliases | Permission             | Description                                                                       |
| ----------------------------------- | ------- | ---------------------- | --------------------------------------------------------------------------------- |
| `/chatchat`                         | —       | None                   | Shows the plugin name and version.                                                |
| `/chatchat reload`                  | —       | `chatchat.admin`       | Reloads ChatChat configuration and locale files.                                  |
| `/chatchat test <format> <message>` | —       | `chatchat.test.format` | Previews a configured global format.                                              |
| `/chatdump [file]`                  | —       | `chatchat.dump`        | Creates and uploads a diagnostic dump, optionally limited to one file.            |
| `/togglechat`                       | —       | `chatchat.togglechat`  | Toggles your ability to send and receive public chat.                             |
| `/rangedchat`                       | —       | `chatchat.rangedchat`  | Toggles radius filtering for your own reception when you have radius bypass.      |
| `/separate <player1> <player2>`     | —       | `chatchat.separate`    | Prevents two players from seeing one another in public chat and private messages. |
| `/unseparate <player1> <player2>`   | —       | `chatchat.unseparate`  | Removes a staff-enforced separation.                                              |
| `/ignore <player>`                  | —       | `chatchat.ignore`      | Adds a player to your ignore list.                                                |
| `/unignore <player>`                | —       | `chatchat.ignore`      | Removes a player from your ignore list.                                           |
| `/ignorelist`                       | —       | `chatchat.ignorelist`  | Lists players you ignore and players separated from you by staff.                 |

## Private messaging commands

These commands are registered only when `private-messages.enabled` is `true`. See [Private messaging](/helpchat-plugins/chatchat/private-messaging.md).

| Command                       | Aliases                                  | Permission           | Description                                       |
| ----------------------------- | ---------------------------------------- | -------------------- | ------------------------------------------------- |
| `/whisper <player> <message>` | `/tell`, `/w`, `/msg`, `/message`, `/pm` | `chatchat.pm`        | Sends a private message.                          |
| `/reply <message>`            | `/r`                                     | `chatchat.pm`        | Replies to the most recent private conversation.  |
| `/togglemsg`                  | `/toggledms`, `/togglepms`               | `chatchat.pm.toggle` | Toggles whether you can receive private messages. |
| `/socialspy [on\|off]`        | `/sspy`, `/pmspy`, `/spy`                | `chatchat.socialspy` | Enables or disables private-message social spy.   |

## Mention command

| Command                              | Alias         | Permission                                                             | Description                           |
| ------------------------------------ | ------------- | ---------------------------------------------------------------------- | ------------------------------------- |
| `/togglemention <personal\|channel>` | `/toggleping` | `chatchat.mention.personal.block` or `chatchat.mention.everyone.block` | Toggles the selected kind of mention. |

## Channel commands

Each channel can register one or more commands through its `toggle-command` list in `channels.yml`. For a channel named `staff`, a configured command such as `staffchat` lets a player use `/staffchat` to switch channels or `/staffchat <message>` to send a message directly. The default channel does not require a channel-use permission; other channels require `chatchat.channel.use.<channel-name>`.

Channel command names are registered when ChatChat starts. Restart the server after changing `toggle-command`.

A `message-prefix` is a separate quick-send option. For example, with `message-prefix: '#'`, a player can type `#message` without switching channels.

## Command conflicts

If another plugin owns an alias such as `/msg`, use Bukkit's `commands.yml` to route it to ChatChat. For example:

```yaml
aliases:
  msg:
    - chatchat:msg $1-
```

Restart after editing `commands.yml`.


---

# 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://wiki.helpch.at/helpchat-plugins/chatchat/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.
