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

# In-game editor

`/rncg editor` (permission `rnchatgames.editor`) opens a menu to change the settings without opening files. Every change is saved in `config.yml` right away (keeping your comments) and applied without stopping the running game.

<figure><img src="https://348500357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSlVHklG0EMAOmvfqcizu%2Fuploads%2FEtDtJuVWOodcvrSf7SFD%2Frncg-real-23.png?alt=media" alt="A game and one of its options in the editor"><figcaption><p>A game and one of its options in the editor</p></figcaption></figure>

## Pages

| Page        | What you can change                                                                                                                                                                                                                                                         |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Games**   | Click a game to turn it on or off. Right-click to open its settings: weight, time limit, winners, attempts, points, capital letters, accents, punctuation, hint, word display and the options of that game (e.g. the range of Guess The Number). In Math: the difficulties. |
| **General** | Automatic games and their times, minimum players, language, hide answers, titles, boss bar, action bars, toast, streaks, records, console output, update checker...                                                                                                         |
| **Worlds**  | Every world of the server, detected automatically. Click to turn games on or off in that world. The comparator switches between BLACKLIST and WHITELIST.                                                                                                                    |
| **Reload**  | Reads every file again (stops the running game).                                                                                                                                                                                                                            |

## Using the options

* **On/off options**: click to change.
* **Numbers**: click `+`, right-click `−`. With Shift the step is bigger.
* **Lists of values** (language, toast style, word display): click for the next, right-click for the previous.

Each option shows an explanation of what it does, its current value and the clicks you can use. The chat confirms each change: `Saved: Winners → 2`.

{% hint style="info" %}
If you edit `config.yml` by hand, the editor shows the new values a few seconds after you save the file (with `auto-reload` on).
{% endhint %}

## Changing the texts of the editor

Every text of the editor is in the language file, under `menus.editor`:

| Key                                                             | Text                                                                 |
| --------------------------------------------------------------- | -------------------------------------------------------------------- |
| `labels.<option>`                                               | Name of each option                                                  |
| `descriptions.<option>`                                         | The explanation (gray lines)                                         |
| `option-lore-toggle`, `option-lore-number`, `option-lore-cycle` | Layout of the lore. `{description}` marks where the explanation goes |
| `state-on`, `state-off`                                         | "On" / "Off"                                                         |
| `saved`, `save-failed`                                          | Chat messages                                                        |
