> For the complete documentation index, see [llms.txt](https://adriansr.gitbook.io/battleroyale/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adriansr.gitbook.io/battleroyale/getting-started/run-mode.md).

# Run Mode

The plugin can run in four modes:

* **Bungee**: A single game instance in the server. Players will be introduced to the game when joining the server.
* **Multi-arena**: Multiple game instances in the server.
* **Shared**: Multiple game instances in the server; can run among another mini-games that support the shared mode. The players will join the battle royale lobby by executing a command.
* **Lobby**: The plugin will enable only the modules needed to enable the placeholders, player settings, and the shop. This mode is useful in case you want to display the ranks in a hub server.

To set the mode go to the file **BattleRoyaleConfiguration.yml**, then go to the section **mode** and enter in the option **type** the mode you want the plugin to run:

![](https://i.imgur.com/J20oF3V.png)

**Depending on the mode in which you are running the plugin, there will be some values that you will need to specify:**

## Bungee

### **arena**

The name of the only arena to be played in the server.

The reason the plugin needs this value is that, unlike multi-arena mode, players will be automatically introduced into the only arena that is enabled on the server; and as there could be more than one arena in the arenas folder (**plugins/BattleRoyale/arena**), **you have to tell the plugin which arena to load**.

### **restart-command**

Once the arena ends, the server will need to be restarted; It is up to you what command the plugin will execute to restart the server.

## Shared

### **command**

The command to join the battle royale lobby.

<br>
