# 🤖 Commands

## Commands

Below, you will find information on various commands available, their functionalities, and how to use them effectively.

**Command alias:** `/phoenixlobby`, `/plobby`

**Backend Commands**

| Command                          | Description                                 |
| -------------------------------- | ------------------------------------------- |
| `/plobby spawn`                  | Teleport to spawn location                  |
| `/plobby setspawn`               | Set spawn location                          |
| `/plobby createNpc <identifier>` | Create npc type                             |
| `/plobby deleteNpc <identifier>` | Delete npc type                             |
| `/plobby bypass`                 | Bypass world rules                          |
| `/plobby holograms movehere <identifier>` | Move a hologram to where you stand |
| `/plobby holograms teleportto <identifier>` | Teleport yourself to a hologram  |
| `/plobby setup <template>`       | Allows you to setup a template of npcs      |
| `/plobby editor`                 | Allows you to edit the plugin in-game       |
| `/plobby editlayout <menu>`      | Edit the layout of a menu in-game, see [Menu Layout Editor](../featues/menus/menu-layout-editor.md) |
| `/plobby reload`                 | Reload all PhoenixLobby configuration files |
| `/plobby changelog`              | Open the list of released builds and their changes |
| `/plobby doctor`                 | Run a health check of the license, proxy link, spawn, database and config files, see [Doctor and Dashboard](https://www.phoenixplugins.com/docs/phoenix-plugins/doctor-and-dashboard) |
| `/plobby dashboard`              | Show the state of the web dashboard, see [Doctor and Dashboard](https://www.phoenixplugins.com/docs/phoenix-plugins/doctor-and-dashboard) |
| `/plobby dashboard link`         | Get a code to show this server on phoenixplugins.com, see [Doctor and Dashboard](https://www.phoenixplugins.com/docs/phoenix-plugins/doctor-and-dashboard) |
| `/plobby link`                   | Link a free server to your account for more holograms and NPCs, see [Licensing](licensing.md#linking-a-free-server) |
| `/maintenance`                   | Close this server for maintenance           |
| `/alts`                          | Manage the accounts sharing an address      |

**Player Commands**

| Command                | Description                              |
| ---------------------- | ---------------------------------------- |
| `/spawn`               | Teleport to spawn location               |
| `/lobbies`             | Open the lobby selector                  |
| `/servers`             | Open the server selector                 |
| `/visibility`          | Show or hide the other players           |
| `/visibility <on/off>` | Set the state instead of toggling it     |
| `/music`               | Open the music menu                      |
| `/parkour`             | Start a parkour run                      |
| `/parkour <id>`        | Start that parkour in particular         |
| `/parkour stop`        | Leave the run                            |
| `/parkour top [id]`    | Show the parkour leaderboard             |
| `/playersettings`      | Open the player settings menu            |
| `/toggleactionbar`     | Turn the action bar on or off            |
| `/togglebossbar`       | Turn the bossbar on or off               |
| `/togglescoreboard`    | Turn the scoreboard on or off            |
| `/toggleannouncements` | Turn the chat announcements on or off    |
| `/plobby forms`        | Switch between Bedrock forms and chest menus, see [GeyserMC (Bedrock)](../configurations/geysermc-bedrock.md) |

**Proxy Commands**

| Command                    | Description                                           |
| -------------------------- | ----------------------------------------------------- |
| `/queue <server>`          | Join the queue for a specific server                  |
| `/server <server>`         | Join the queue for a specific server (requires setup) |
| `/leavequeue`              | Leave current queue                                   |
| `/lobby` or `/hub`         | Return back to the lobby                              |
| `/lobbies` (lobby command) | Swap between lobbies                                  |
| `/<shortcut>`              | Connect straight to a server (requires setup)         |
| `/maintenance`             | Close a server or the network for maintenance         |
| `/alts`                    | Manage the accounts sharing an address                |

## Aliases

A few of the player commands accept more than one word for the same thing, so an action or a menu item can be written whichever way reads best.

| Command             | Also accepts                          |
| ------------------- | ------------------------------------- |
| `/parkour start`    | `play`, `join`                        |
| `/parkour stop`     | `leave`, `quit`                       |
| `/parkour top`      | `leaderboard`                         |

`/parkour <id>` and `/parkour start <id>` do the same thing, and both are handy on an [NPC](../featues/npcs/) or a [hotbar item](../featues/hotbar-items.md) that should drop the player straight into one parkour.

## Setup templates

`/plobby setup` builds a set of NPCs for you rather than making you place them one by one. One template exists:

| Template    | Creates                                                     |
| ----------- | ----------------------------------------------------------- |
| `npcpackv1` | The five NPCs of the NPC Model Pack, using Model Engine     |

```
/plobby setup npcpackv1
```

It needs Model Engine installed with the pack's models already loaded, and it stops without changing anything if an NPC of the same name already exists.

## Enabling and renaming

Every command apart from the root one can be switched off, and renamed to whatever suits your server. Both live on the same option, in **Editor > Settings > Commands**.

Turning a command off unregisters it entirely, so it stops appearing in tab completion as well. Renaming it changes the name it is registered under, so setting the alternative of `/spawn` to **hub** means players type `/hub` and `/spawn` no longer exists. Both apply as soon as they are saved, and online players get the new command list straight away, so no restart is needed.

<figure><img src="../.gitbook/assets/commands/command-servers.png" alt="" width="563"><figcaption><p>Commands (Command "/servers")</p></figcaption></figure>

> **Info:**
Renaming a command is the way to hand it over to another plugin. See [How to make Essentials overwrite /spawn](questions-and-answers/README.md#how-to-make-essentials-overwrite-spawn-command) for that case.

Source: https://www.phoenixplugins.com/docs/phoenix-lobby/plugin-information/commands