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

# Commands and permissions

Every command and permission of rnPsMenu, and the ProtectionStones permissions it uses.

## Commands

| Command                                                                  | What it does                                                                                                                             | Permission                                                                 |
| ------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `/psmenu` or `/psmenu main` (`/psm`, `/rnpsmenu`, `/ps menu`, `/ps gui`) | Main menu                                                                                                                                | `rnpsmenu.use`                                                             |
| `/psmenu help`                                                           | The list of commands                                                                                                                     |                                                                            |
| `/psmenu here`                                                           | Menu of the region you stand in                                                                                                          | `rnpsmenu.use`                                                             |
| `/ps`, `/ps home`, `/ps flag` or `/ps flags` (typed alone)               | Main menu / Homes list / flags menu of the region you stand in, instead of ProtectionStones' chat lists (`open.replace-ps-commands`)     | `rnpsmenu.use` (+ `protectionstones.home` / `protectionstones.flags`)      |
| `/psmenu regions` / `shared` / `homes`                                   | Your regions / shared with you / homes                                                                                                   | `rnpsmenu.use` (homes: + `protectionstones.home` or `protectionstones.tp`) |
| `/psmenu region <id or name> [world]`                                    | Menu of one region                                                                                                                       | `rnpsmenu.use`                                                             |
| `/psmenu shop`                                                           | Protection block shop                                                                                                                    | `rnpsmenu.shop`                                                            |
| `/psmenu market`                                                         | Regions for sale and for rent                                                                                                            | `rnpsmenu.market`                                                          |
| `/psmenu admin [player]`                                                 | Admin menu / a player's regions                                                                                                          | `rnpsmenu.admin`                                                           |
| `/psmenu editor`                                                         | In-game editor                                                                                                                           | `rnpsmenu.editor`                                                          |
| `/psmenu open <menu> <player> [region]`                                  | Opens a menu for a player (NPCs, menu plugins, console). Menus: `main`, `regions`, `shared`, `homes`, `here`, `shop`, `market`, `region` | `rnpsmenu.open`                                                            |
| `/psmenu info <world> <region>`                                          | The region's data: readable in game, one line of data in the console (for scripts and support)                                           | `rnpsmenu.admin`                                                           |
| `/psmenu reload`                                                         | Reads every file again                                                                                                                   | `rnpsmenu.reload`                                                          |
| `/psmenu version`                                                        | Installed and newest version                                                                                                             | `rnpsmenu.update`                                                          |

<figure><img src="https://i.imgur.com/VlxUpEq.png" alt="/psmenu help"><figcaption><p>/psmenu help</p></figcaption></figure>

<figure><img src="https://i.imgur.com/zaCWFld.png" alt="Homes: left click teleports, right click manages the region"><figcaption><p>Homes: left click teleports, right click manages the region</p></figcaption></figure>

<figure><img src="https://i.imgur.com/RpMHRaW.png" alt="Admin view of every region on the server"><figcaption><p>Admin view of every region on the server</p></figcaption></figure>

## rnPsMenu permissions

| Permission                 | Default  | What it gives                                             |
| -------------------------- | -------- | --------------------------------------------------------- |
| `rnpsmenu.player`          | everyone | All the player permissions below                          |
| `rnpsmenu.use`             | everyone | The menus                                                 |
| `rnpsmenu.ban`             | everyone | Ban and expel players from your own regions               |
| `rnpsmenu.presets`         | everyone | Flag templates and copying flags                          |
| `rnpsmenu.activity`        | everyone | Region history                                            |
| `rnpsmenu.border`          | everyone | Border particles                                          |
| `rnpsmenu.shop`            | everyone | The shop                                                  |
| `rnpsmenu.market`          | everyone | The market                                                |
| `rnpsmenu.market.visit`    | everyone | Visit regions on the market with a right click            |
| `rnpsmenu.hologram`        | everyone | Show or hide the hologram over your own protection blocks |
| `rnpsmenu.admin`           | op       | Every permission, admin views                             |
| `rnpsmenu.editor`          | op       | `/psmenu editor`                                          |
| `rnpsmenu.reload`          | op       | `/psmenu reload`                                          |
| `rnpsmenu.open`            | op       | `/psmenu open`                                            |
| `rnpsmenu.update`          | op       | Update notices and `/psmenu version`                      |
| `rnpsmenu.bypass.ban`      | op       | Region bans don't apply, and can't be banned or expelled  |
| `rnpsmenu.bypass.cooldown` | op       | No teleport and flag cooldowns                            |
| `rnpsmenu.bypass.cost`     | op       | Teleports to regions are free (`teleport.cost`)           |
| `rnpsmenu.bypass.lock`     | op       | Change locked flags with visitors inside                  |

## ProtectionStones permissions used by the menus

Every action also needs the ProtectionStones permission of the same `/ps` command, and the player must own the region (or be an [operator](/rnsetups/rnpsmenu/guides/players.md#operators) with that right, or have `protectionstones.superowner`). ProtectionStones gives most of these to operators only, so give your players the ones you want them to use:

`protectionstones.home` (or `protectionstones.tp`), `protectionstones.sethome`, `protectionstones.name`, `protectionstones.flags`, `protectionstones.members`, `protectionstones.owners`, `protectionstones.hide`, `protectionstones.unhide`, `protectionstones.priority`, `protectionstones.unclaim`, `protectionstones.unclaim.remote`, `protectionstones.merge`, `protectionstones.buysell`, `protectionstones.rent`, `protectionstones.tax`, `protectionstones.toggle`.

`protectionstones.tp.bypasswait` skips the wait before a teleport. `protectionstones.superowner` lets admins edit any region from the admin views. `protectionstones.info.others` lets a player see (not change) other players' regions.
