> For the complete documentation index, see [llms.txt](https://cubixor.gitbook.io/cubixors-plugins/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cubixor.gitbook.io/cubixors-plugins/slenderman/overview-slenderman/arena-setup.md).

# Arena setup

For a complete list of commands and permissions, open `Commands and Permssions` tab. Here are only these necessary for setup.

You can create multiple arenas on one server and even multiple arenas in one world.

## Creating an arena

1. Create an arena using `/sm create <arena_name>`
2. Set the minimum and maximum number of players using `/sm setminplayers <arena> <count>` and `/sm set maxplayers <arena> <count>`.
3. Set the main lobby using `/sm setmainlobby <arena>`. Players will be teleported there when they leave the game.
4. Set the waiting lobby using `/sm setwaitinglobby <arena>`. Players will wait there until the game starts.
5. \[OPTIONAL] Make the arena accessible only for VIPs using `/sm setvip <arena> <true/false>`. VIPs are players with permission `sm.vip`
6. Set the slenderman spawn location using `/sm setslenderspawn <arena>`.
7. Add players' spawns using `/sm addplayers <arena>`. You should add at least as many locations as you set the maximum number of players to.
8. Add cards' spawns using `/sm addcards <arena>`. You should add at least as many locations as the number of cards required to win is set to in the config.yml (default: 10).
9. Use `/sm setactive <arena> <true>` to activate the newly created arena.

## Creating signs

### Arena sign

To create a sign for a specific arena, place a sign and put `[slenderman]` in the first line and arena name in the second line.

### Quick join sign

To create a quick join sign (which will select an arena for a player automatically),\
place a sign and put `[slenderman]` in the first line and `quickjoin` in the second line.

### Removing signs

To remove a sign destroy it while sneaking

## Joining an arena

* Use `/sm join <arena>` command
* Use `/sm quickjoin` command to let the plugin choose the best arena for you and automatically join it
* Use `/sm arenasmenu` to open a menu with all available arenas
* Click a game sign or quick join sign.

You can also create NPCs or menus using external plugins and make them execute any of the commands above.
