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

# In-game editor

Change settings, flags, the shop and templates without leaving the game.

`/psmenu editor` (permission `rnpsmenu.editor`), also from **Main menu > Admin > Editor**.

<figure><img src="https://i.imgur.com/80BGAPH.png" alt="The editor: one page for each file"><figcaption><p>The editor: one page for each file</p></figcaption></figure>

<figure><img src="https://i.imgur.com/n4nA87I.png" alt="Settings: on / off options show their value and switch with a click"><figcaption><p>Settings: on / off options show their value and switch with a click</p></figcaption></figure>

<figure><img src="https://i.imgur.com/9QNip4Y.png" alt="Flags: show or hide each flag in the flags menu and change its icon"><figcaption><p>Flags: show or hide each flag in the flags menu and change its icon</p></figcaption></figure>

<figure><img src="https://i.imgur.com/NmfCByT.png" alt="Shop: price, amount and icon of each protection block"><figcaption><p>Shop: price, amount and icon of each protection block</p></figcaption></figure>

| Page      | What you can change                                                                                                                                                                                                                                                                                         |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Settings  | The options of `config.yml` (also the `/ps` commands that open menus, teleport costs, expel time and operators). On/off options show **ON** or **OFF** and switch with a click; options with a few values (language, `click-block`, `kick-to`...) go to the next value; numbers and texts are typed in chat |
| Flags     | The flags players can meet in the flags menus (the `allowed_flags` of every block type plus `flags.extra-allowed`), in the menu's order: left click shows / hides a flag in the flags menu, right click sets its icon to the item in your hand                                                              |
| Shop      | Left click: on sale or not. Right click: price. Shift + left: amount (1 to 64). Shift + right: icon from your hand (empty hand = the block itself). Q: place in the shop menu (`-1` = automatic)                                                                                                            |
| Templates | Right click: icon from your hand. Shift + right: delete (asks first)                                                                                                                                                                                                                                        |

Changes are written to the files keeping every comment and applied right away. Changing `language` (or `per-player-language`) opens the editor again in the new language. New templates are saved from **Region menu > Flag templates > Save as template**.

Lists, colors, the border size, world names, `map-markers` and the flag locks of `flags.yml` (`types`, `permission`) are changed in the files.
