# 🔨 Create an arena

## Set up an Arena

The first step is to set up the arena, defining the region the plugin will recognize as the designated location for dueling.

<figure><img src="../../.gitbook/assets/Screenshot 2024-09-26 013808.png" alt=""><figcaption><p>Creating Template Menu</p></figcaption></figure>

### Map Type

Before defining any locations, a new map asks you to pick its type:

* **Free Mode** - the default. You manually define every arena instance's locations yourself, as described in the steps below.
* **Grid Mode** (Premium) - the plugin automatically pastes copies of your arena in a grid, based on a column/row count and the spacing between them, instead of you placing each instance by hand. See [grid-mode.md](grid-mode.md "mention").

<figure><img src="../../.gitbook/assets/create-a-map/free-mode.png" alt="" width="563"><figcaption><p>Edit Maps (Free Mode)</p></figcaption></figure>

<figure><img src="../../.gitbook/assets/create-a-map/grid-mode.png" alt="" width="563"><figcaption><p>Edit Maps (Grid Mode)</p></figcaption></figure>

<figure><img src="../../.gitbook/assets/create-a-map/what-is-this.png" alt="" width="563"><figcaption><p>Edit Maps (What is this?)</p></figcaption></figure>

### Step 1:&#x20;

As shown in the screenshot below, the Universal Region refers to the entire arena build that you'll need to define. This helps protect your arena and makes cloning it quicker and easier.

<figure><img src="../../.gitbook/assets/Screenshot 2024-09-26 015450.png" alt="" width="491"><figcaption><p>Creating Template Menu</p></figcaption></figure>

The process to set it up is similar to creating a region using WorldGuard for a build, ensuring smooth setup and management of your arena.

<div><figure><img src="../../.gitbook/assets/Screenshot 2024-09-26 023142 (1).png" alt=""><figcaption><p>Left-Click to define the first position</p></figcaption></figure> <figure><img src="../../.gitbook/assets/Screenshot 2024-09-26 023406.png" alt=""><figcaption><p>Right-Click to define the second position</p></figcaption></figure></div>

As shown above, I selected a cubic region that spans from one side of the arena to the other. This is how you define the Universal Region, which includes the entire arena build.

### Step 2:

As shown in the screenshot below, the Battle Region is the designated area where players will duel.&#x20;

<figure><img src="../../.gitbook/assets/Screenshot 2024-09-26 024707.png" alt="" width="491"><figcaption><p>Creating Template Menu</p></figcaption></figure>

Defining this region is done in the same way as for the Universal Region, by selecting a cubic area that covers the intended battle zone within the region.<br>

<div><figure><img src="../../.gitbook/assets/Screenshot 2024-09-26 030040.png" alt="" width="563"><figcaption><p>Left-Click to define the first position</p></figcaption></figure> <figure><img src="../../.gitbook/assets/Screenshot 2024-09-26 030148 (1) (1).png" alt="" width="563"><figcaption><p>Right-Click to define the second position</p></figcaption></figure></div>

As shown above, I selected a cubic region that spans from one side of the arena to the other. This is how you define the Battle Region, which includes the part of the arena that the players duel.

### Step 3:

Next, we will set up the First and Second Team Positions. These are the specific locations where players will spawn when the duel begins, ensuring both teams are placed correctly for the start of the match.

<figure><img src="../../.gitbook/assets/Screenshot 2024-09-26 031106.png" alt="" width="522"><figcaption><p>Creating Template Menu</p></figcaption></figure>

<figure><img src="../../.gitbook/assets/Screenshot 2024-09-26 031336.png" alt="" width="524"><figcaption><p>Sneak + Left-Click to set the position</p></figcaption></figure>

As shown, all you need to do is stand on the block where you want the team position to be. The plugin will automatically copy your player's current position and set it as the team's spawn point. Repeat this same process to set the **Second** Team Position as well.

You can add more than one position to a team. Every position you add becomes another spawn point for that team, which is what a 2v2, 3v3 or 4v4 arena needs so teammates do not all land on the same block.

### Step 4: (Optional)

The same menu also offers a **Third** and **Fourth** Team Position, set exactly like the first two.

These are only used by **Multi Team Fight**, where a party splits into up to four teams instead of two. If you never intend to run `/party multifight` on this map, you can skip them.

> **Warning:**
A mode with `PARTY_MULTI_TEAM_FIGHT` enabled cannot be played on a map that has no third and fourth team positions, because there is nowhere to put the extra teams.

### Step 5: (Optional)

This step is optional, but you can set up the FFA position where users will spawn when playing FFA mode with their party.

<figure><img src="../../.gitbook/assets/Screenshot 2025-01-17 191512.png" alt="" width="563"><figcaption><p>Creating Template Menu</p></figcaption></figure>

### Step 6: (Optional)

This step is optional, but you can set a specific position for spectators to spawn in the map. If no location is specified, spectators will spawn directly on top of the player they are watching.

<figure><img src="../../.gitbook/assets/Screenshot 2025-01-17 192304.png" alt="" width="563"><figcaption><p>Creating Template Menu</p></figcaption></figure>

### Step 7:

Now that the required steps are done, you can create your arena template.&#x20;

<figure><img src="../../.gitbook/assets/Screenshot 2025-01-17 192853.png" alt="" width="563"><figcaption><p>Creating Template Menu</p></figcaption></figure>

Your arena is now ready to be customized!

## Quick Tip

Still struggling to understand the difference between the universal arena and the battle arena? Be sure to check the following for clarification:

[What is the difference between the Battle Region and the Universal Region?](../../plugins/questions-and-answers/README.md#what-is-the-difference-between-battle-region-and-the-universal-region)

Source: https://www.phoenixplugins.com/docs/phoenix-duels/main-features/create-a-map/create-an-arena