> 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/rnkoth/reference.md).

# Reference

Commands, permissions, placeholders, the API, the database 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/rnkoth/reference/commands.md">Commands and permissions</a></td></tr><tr><td><strong>Placeholders</strong></td><td>PlaceholderAPI values and the placeholders of every message.</td><td><a href="/rnsetups/rnkoth/reference/placeholders.md">Placeholders</a></td></tr><tr><td><strong>Developer API</strong></td><td>Events other plugins can listen to.</td><td><a href="/rnsetups/rnkoth/reference/api.md">Developer API</a></td></tr><tr><td><strong>Database</strong></td><td>SQLite or MySQL, and what is stored.</td><td><a href="/rnsetups/rnkoth/reference/database.md">Database (SQLite / MySQL)</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/rnkoth/reference/faq.md">FAQ and troubleshooting</a></td></tr></tbody></table>

## Most used commands

| Command                                    | What it does                                         |
| ------------------------------------------ | ---------------------------------------------------- |
| `/koth`                                    | Menu with every KOTH, the top players and your stats |
| `/koth create <name>`                      | New KOTH (gives the wand)                            |
| `/koth setzone <name>`                     | Use your wand selection as the area                  |
| `/koth editor [name]`                      | Change everything in a menu                          |
| `/koth start <name>` / `/koth stop <name>` | Start or stop an event                               |
| `/koth next`                               | When the next KOTH starts                            |
| `/koth claim`                              | The reward box                                       |

## Permissions in one minute

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

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

To let a builder set up KOTHs without other admin rights, give `rnkoth.editor`. That is enough for everything they need: the editor, the selection wand and `/koth setzone`.

## Quick checks when something is wrong

1. Run `/koth list`: it shows every KOTH, whether it has an area and when it starts.
2. During an event, run `/koth status <name>`: it shows who is inside and why each player counts or not.
3. Look at the console: a file with a mistake shows the exact line.
4. Still stuck? See the [FAQ](/rnsetups/rnkoth/reference/faq.md) or open a ticket on our [Discord](https://discord.gg/GzxW2FANPB).
