> For the complete documentation index, see [llms.txt](https://turfwars.isach.be/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://turfwars.isach.be/getting-started/setting-up-a-map.md).

# Setting up a Map

Follow this guide to set up your first map

Turf Wars currently works as a **single-arena** game plugin. This means that there can be at most one arena being played at a time, but it is possible to use several maps that rotate.

This guide will show you how to create one map. You can simply repeat the whole process to create other maps that will be included in the rotation pool.

A [video](https://www.youtube.com/watch?v=yxGtWUqbU-4) is available and up-to-date, but a better video is planned to be done.

### 1. Create the map

`/tw create <map>`

### 2. Set up a spectator spawn

`/tw setspec <map>`

### 3. Set up the turfs

`/tw wand`\
`/tw setturf <blue/red> <map>`

For each turf, it is important to correctly set up the zone. **The blue and red zones must be** **aligned and have the same size.**

The B1 (resp. R1) location should be at the **bottom left** of the turf.\
The B2 (resp. R2) location should be at the **top right** of the turf.&#x20;

These are considering you are in the turf, looking towards the opposite one.

It should give something like this:

<figure><img src="https://84934544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2NI436fg6lr9Ap0heiXr%2Fuploads%2F3lZL5RdFxl2TrnsC92Jq%2FUntitled%20Diagram.drawio.svg?alt=media&amp;token=f1ea43c6-8f61-4747-8f63-1c6032059b25" alt="" width="237"><figcaption></figcaption></figure>

### 4. Add spawns

`/tw addspawn <blue/red> <map>`

### 5. You're done!
