> For the complete documentation index, see [llms.txt](https://esmp-fun.gitbook.io/plugins/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://esmp-fun.gitbook.io/plugins/community-chat/reference/commands.md).

# Commands & permissions

## For players

| Command    | What it does                                          |
| ---------- | ----------------------------------------------------- |
| `/ctoggle` | Show or hide network chat for yourself                |
| `/link`    | Link your Minecraft account to Discord (network-wide) |
| `/unlink`  | Remove your Discord link                              |

## For server admins (`crosschat.admin`, default: op)

| Command                       | What it does                                                                                                             |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| `/crosschat status`           | Is this server connected, and as which community?                                                                        |
| `/crosschat menu`             | In-game settings menu                                                                                                    |
| `/crosschat pause` / `resume` | Disconnect / reconnect this server, both directions                                                                      |
| `/crosschat reload`           | Re-read the plugin config, no restart needed                                                                             |
| `/crosschat importdiscordsrv` | One-shot import of DiscordSRV's linked accounts into the network (safe to re-run — existing links are never overwritten) |

## For network staff (`crosschat.mod`, default: op)

| Command                               | What it does                                    |
| ------------------------------------- | ----------------------------------------------- |
| `/gmute <player> [duration] [reason]` | Mute network-wide (no duration = until unmuted) |
| `/gunmute <player>`                   | Lift a network mute                             |
| `/gban <player> [duration] [reason]`  | Ban from network chat                           |
| `/gunban <player>`                    | Lift a network chat ban                         |
| `/gwarn <player> <reason>`            | Record a warning                                |

## Staff chat (`crosschat.staff`, default: op)

| Command         | What it does                                                                                                                                                                                                                          |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `/sc <message>` | Talk in the network-wide staff channel. Only players with `crosschat.staff` see it, on every server — and it's bridged to each community's private staff Discord channel if one is configured (`staffChannelId` in the relay config). |

The same five exist as Discord slash commands (role-gated per community), plus Discord-only: `/playerlist`, `/whois`, `/history`.

## Permissions

| Permission             | Default  | What it does                                           |
| ---------------------- | -------- | ------------------------------------------------------ |
| `crosschat.send`       | everyone | The player's chat is relayed to the network            |
| `crosschat.muted`      | nobody   | Grant to silently keep a player's chat OFF the network |
| `crosschat.admin`      | op       | `/crosschat` pause/resume/reload/menu                  |
| `crosschat.mod`        | op       | The `/g...` moderation commands                        |
| `crosschat.staff`      | op       | See and use the network staff channel (`/sc`)          |
| `crosschat.silentjoin` | nobody   | This player's joins never announced to the network     |
| `crosschat.silentquit` | nobody   | This player's quits never announced to the network     |
