Create new arena - AlonsoAliaga/AlonsoPvP GitHub Wiki

How to create new arena?

To create new arenas you need to follow these steps.

Before creating the arena

You need to decide the spawn location, the identifier, the name and mode.
In this example the identifier (name used internally) will be developer-map
Name will be Developer_Map so replacing spaces with underscores we have Developer Map
And we decide it will have elytra mode enabled, so we use true
(If you don't want it to have elytra mode enabled, simply use false)

⚠️ Note: Don't use color nodes. It's not supported.

Creating the empty arena

Go to the spawn location (the main spawn) and run the next command:
/alonsopvp arena create developer-map Developer_Map true

Selecting spawn locations

As in the original plugin, we can select different spawns with a unique icon.
Select an item (for the icon) and hold it in your main hand, go to the spawn location for the new spawn.
The spawn identifier (internal) will be wood-stairs
The spawn name will be Wood_stairs (We use underscore for the space)
Run the next command while holding the item in hand:
/alonsopvp arena add developer-map wood-stairs Wood_stairs\

The item will be used as spawn icon, you can add more spawns!
If you want to override an old spawn, simply hold the new item in hand and type the command again.

Enabling the arena

Once you have selected all spawns you want, run the next command:
/alonsopvp arena toggle developer-map

🎉 Congratulations! You have created a new map! 🪅

To create new maps follow the steps above again. Once you have created all maps you want continue.
If you want the maps to rotate enabled Rotation-mode in config.yml
Make sure you at least have 2 maps created for rotation mode.

In order to enable the map you need to restart the server, reload or run the next command:
/alonsopvp arena reload
However restart is highly recommended.