# Map Setup

{% hint style="warning" %}
Make sure you have enabled build-mode for yourself! You'll need to do this to be able to place or break blocks. Required when setting the player spawns and spectator location.
{% endhint %}

1. /map create \<arenaName>
2. /map  min \<name>
3. /map max \<name>
4. /map save \<name>

## Tutorial

1. Enable build mode, use /build

   <figure><img src="https://1337201036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIcA27SjpkLh3sL7kHVC%2Fuploads%2FErvKXTLXr1dMXPZqpHUF%2Fimage.png?alt=media&#x26;token=67f10dec-421d-4390-8677-6cb36ff06477" alt=""><figcaption><p>Command executed: /build</p></figcaption></figure>
2. Use /map create \<name>

   <figure><img src="https://1337201036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIcA27SjpkLh3sL7kHVC%2Fuploads%2FiObTH8daN0BOFQmXnkHi%2Fimage.png?alt=media&#x26;token=ae8585f2-9778-498b-b108-e96e8c347d20" alt=""><figcaption><p>Command executed: /map create Void2</p></figcaption></figure>
3. Set the MIN and MAX locations for the map. Use /map min \<name> and /map max \<name> according to the location!

   <figure><img src="https://1337201036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIcA27SjpkLh3sL7kHVC%2Fuploads%2FZL0PX4QZ5O1kurq0UlAP%2Fimage.png?alt=media&#x26;token=d5762674-ea57-4360-8f89-5cd4d47c3904" alt=""><figcaption><p>Command executed: /map min Void2</p></figcaption></figure>

   <figure><img src="https://1337201036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIcA27SjpkLh3sL7kHVC%2Fuploads%2F2fP9C73GFUasCQCioaMv%2Fimage.png?alt=media&#x26;token=572f93c2-6fc5-475b-8820-33e9596d203e" alt=""><figcaption><p>Command executed: /map max Void2</p></figcaption></figure>
4. Place the PLAYER\_HEAD's and SKELETON\_SKULL on their corresponding places. The skeleton skull will be the location where spectators are going to spawn. The player head is where a player will spawn.<br>

   <figure><img src="https://1337201036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIcA27SjpkLh3sL7kHVC%2Fuploads%2FEmCySOw3Xs1NUGKunUZh%2Fimage.png?alt=media&#x26;token=a82f43f0-ab76-4e7b-803d-14bc9738caf2" alt=""><figcaption></figcaption></figure>
5. Use /map save \<name> to save the map to the maps.yml file. This will scan all the location where there's a fence with a head above it and assign it to it's corresponding location. Afterwards, the map is saved to the maps.yml file.<br>

   <figure><img src="https://1337201036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIcA27SjpkLh3sL7kHVC%2Fuploads%2Fsj0RlP9aqLbJznD3NVvF%2Fimage.png?alt=media&#x26;token=0c2f108d-1307-447b-8e33-e6e88df358f1" alt=""><figcaption><p>Command executed: /map save Void2</p></figcaption></figure>
6. It's all done! Now you need to restart your server so the map can be playable.
