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

# Configuration

Every file of the plugin, explained, and where to change each thing.

Everything in rnChatGames can be changed: how often games start, what they ask, every text players see, the rewards and the menus. Most options can be changed in game with `/rncg editor`; the rest are in the files of `plugins/rnChatGames/`.

<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>config.yml</strong></td><td>Automatic games, worlds, titles, boss bar, sounds, records and streaks.</td><td><a href="/rnsetups/rnchatgames/configuration/config.md">config.yml</a></td></tr><tr><td><strong>In-game editor</strong></td><td>Change the settings from a menu, with an explanation of each option.</td><td><a href="/rnsetups/rnchatgames/configuration/editor.md">In-game editor</a></td></tr><tr><td><strong>Words and questions</strong></td><td>The words, trivia, multiple choice and phrases of each language.</td><td><a href="/rnsetups/rnchatgames/configuration/content.md">Words and questions (content)</a></td></tr><tr><td><strong>Messages and languages</strong></td><td>Every text players see, and how to add a language.</td><td><a href="/rnsetups/rnchatgames/configuration/messages.md">Messages and languages</a></td></tr><tr><td><strong>Rewards</strong></td><td>Commands, items, chances and weighted rewards for each place.</td><td><a href="/rnsetups/rnchatgames/configuration/rewards.md">Rewards</a></td></tr><tr><td><strong>Menus</strong></td><td>Materials, slots and texts of the stats and top menus.</td><td><a href="/rnsetups/rnchatgames/configuration/menus.md">Menus</a></td></tr></tbody></table>

## Where do I change...?

| I want to...                                    | Go to                                                                              |
| ----------------------------------------------- | ---------------------------------------------------------------------------------- |
| Make games start more or less often             | `config.yml` → `automatic-games` or `/rncg editor` → General                       |
| Turn a game off, or change its time and winners | `config.yml` → `games.<game>` or `/rncg editor` → Games                            |
| Allow games only in some worlds                 | `config.yml` → `worlds` or `/rncg editor` → Worlds                                 |
| Change the prefix or the colors of a message    | `languages/<language>.yml`                                                         |
| Add my own words or questions                   | `content/<language>.yml`                                                           |
| Give money, items or ranks to winners           | `rewards.yml`                                                                      |
| Turn off titles, the boss bar or the toast      | `config.yml` → `display`                                                           |
| Change menu items and slots                     | `menus.yml`                                                                        |
| Use MySQL to share stats between servers        | `config.yml` → `storage` ([Database](/rnsetups/rnchatgames/reference/database.md)) |

## Tips

* **Start with the editor.** `/rncg editor` covers almost every option of `config.yml` and saves it for you, keeping your comments.
* **No reload needed.** With `auto-reload: true` (default), saved files are applied a few seconds later and the running game keeps going.
* **A mistake never breaks the plugin.** If a file has an error, it is not applied and the console shows the exact line to fix.
* **Backups are automatic.** Before the plugin changes one of your files, a copy is saved in `backups/`.
* **YAML basics:** use spaces, never tabs, and write `''` for a `'` inside a text (`'Time''s up!'`).

{% hint style="info" %}
Colors work everywhere: MiniMessage (`<gold>`, `<gradient:#ff5f6d:#ffc371>`) and legacy codes (`&6`, `&#ff8800`) can be mixed. Start a line with `<center>` to center it in the chat.
{% endhint %}
