> For the complete documentation index, see [llms.txt](https://realisticnode.gitbook.io/rnsetups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://realisticnode.gitbook.io/rnsetups/rnchatgames/reference.md).

# Reference

Commands, permissions, placeholders, the database, Bedrock and common questions.

Quick answers for server owners: what each command does, which permission it needs, the placeholders for scoreboards and holograms, and how to solve the most common problems.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Commands and permissions</strong></td><td>Every command, its permission and who has it by default.</td><td><a href="/rnsetups/rnchatgames/reference/commands.md">Commands and permissions</a></td></tr><tr><td><strong>Placeholders</strong></td><td>PlaceholderAPI values: next game countdown, points, rankings and records.</td><td><a href="/rnsetups/rnchatgames/reference/placeholders.md">Placeholders</a></td></tr><tr><td><strong>Database</strong></td><td>SQLite or MySQL, and how to move your stats between them.</td><td><a href="/rnsetups/rnchatgames/reference/database.md">Database (SQLite / MySQL)</a></td></tr><tr><td><strong>Bedrock players</strong></td><td>Windows for the games that need clicking or hovering.</td><td><a href="/rnsetups/rnchatgames/reference/bedrock.md">Bedrock players</a></td></tr><tr><td><strong>FAQ and troubleshooting</strong></td><td>Solutions to the most common questions and problems.</td><td><a href="/rnsetups/rnchatgames/reference/faq.md">FAQ and troubleshooting</a></td></tr></tbody></table>

## Most used commands

| Command                     | What it does                                            |
| --------------------------- | ------------------------------------------------------- |
| `/rncg start [game]`        | Start a game now (random if no game is given)           |
| `/rncg stop`                | Stop the running game                                   |
| `/rncg next`                | When the next automatic game starts, or why it does not |
| `/rncg editor`              | Change the settings in game                             |
| `/rncg preview <game>`      | See how a game looks, only you                          |
| `/rncg top` / `/rncg stats` | Rankings and stats menus                                |
| `/rncg toggle`              | A player hides or shows the games for themselves        |

## Permissions in one minute

Players get everything they need by default (`rnchatgames.player`) and operators get every admin command (`rnchatgames.admin`). With LuckPerms, for example:

```
/lp group default permission set rnchatgames.player true
/lp group admin permission set rnchatgames.admin true
```

To let only some ranks play, set `players.require-permission: true` in `config.yml` and give them `rnchatgames.play`.

## Quick checks when something is wrong

1. Run `/rncg next`: it says if games are waiting for players, turned off or about to start.
2. Look at the console: a file with a mistake shows the exact line.
3. Check that your world is not disabled (`worlds` in `config.yml`).
4. Still stuck? See the [FAQ](/rnsetups/rnchatgames/reference/faq.md) or open a ticket on our [Discord](https://discord.gg/GzxW2FANPB).
