# 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="/files/tr9CsEXhJIrtuoeNpZcO" alt=""><figcaption><p>Command executed: /build</p></figcaption></figure>
2. Use /map create \<name>

   <figure><img src="/files/3HeBvp7O7o3T8sArfXpm" 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="/files/rvNsSzgna7wzKf2QuScn" alt=""><figcaption><p>Command executed: /map min Void2</p></figcaption></figure>

   <figure><img src="/files/QvwBHH9wYOikr96fcFuE" 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="/files/l0ykIW0BryFIN8pu5Uh0" 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="/files/DMZrLWf5uQb5OPodq0cQ" 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.frozed.club/pillars-of-fortune/map-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
