# Arena File

Your arena file is located at Wizards/maps/\<your-map-name>/\<your-map-name>.yml.

This file stores how and where the game should load things. The default arena.yml should look like this:

```
Name: MapName
Map:
  MinPlayers: 2
  MaxPlayers: 20
  Points-To-Win: 5000
  Testing: false
  Spawn-Protection-Size: 16
  Objective-Protection-Size: 8
  Min-Y-Explosion: 0

```

Editing this file will require a server restart or you can use /wizards finish \<Map>, this will recreate the game; loading the new values from the file.

Additionally, the file can have extra data like the arena display name; you can set a display name by using /wizards setDisplayName \<arena> \<display-name>. This will make so the arena name displayed on chat and by the scoreboard will be custom, but the file names will be the same as before.

You can also manually add a blacklist for the Min-Y-Explosion setting, any blocks on that list will explode regardless of its coordinates.

```
Name: MapName
Map:
  MinPlayers: 2
  MaxPlayers: 20
  Points-To-Win: 5000
  Testing: false
  Spawn-Protection-Size: 16
  Objective-Protection-Size: 8
  Min-Y-Explosion: 0
  Min-Y-Blacklist:
  - BLACKSTONE
  - GRASS_BLOCK
```

That's it for map config, everything else in this file is reserved to store location data, you don't have to touch this; everything is added via command, but you can remove a location if you want to. Example:

```
Locations:
  A:
    world: MapName
    x: 0.5554638871555004
    y: 47.0
    z: 0.4512653195847174
    pitch: 8.667925
    yaw: 72.18704
  B:
    world: MapName
    x: 4.5306524122954785
    y: 40.0
    z: 52.719002046198774
    pitch: -8.56899
    yaw: -179.24905
  C:
    world: MapName
    x: 0.49217175808087354
    y: 31.0
    z: -54.48925465070172
    pitch: -14.073087
    yaw: 10.198914
  RED_SPAWN:
    world: MapName
    x: -58.96894571211579
    y: 44.0
    z: 0.5756970694218918
    pitch: -0.52981067
    yaw: -90.4772
  BLUE_SPAWN:
    world: MapName
    x: 58.38989119923736
    y: 44.0
    z: 0.6988914392551876
    pitch: -2.1955607
    yaw: 90.72693
  SPEC_SPAWN:
    world: MapName
    x: 1.3367980634559862
    y: 54.91401030424228
    z: 15.976118389674868
    pitch: 27.06423
    yaw: 166.84387
  LOBBY:
    world: MapName
    x: 0.35438507193006646
    y: 47.0
    z: 1.1734480399625564
    pitch: 4.97493
    yaw: 178.72046
  powerups:
    MANAREGEN:
    - '{"world":"MapName","x":41.50987323516981,"y":44.0,"z":-40.544594652731185,"pitch":12.723818,"yaw":18.392515}'
    - '{"world":"MapName","x":0.5363637513116939,"y":40.0,"z":0.5916173392322951,"pitch":86.64308,"yaw":92.1902}'
    - '{"world":"MapName","x":-35.246869347559226,"y":52.0,"z":-45.479048004881264,"pitch":27.500008,"yaw":-82.57968}'
    POINTS:
    - '{"world":"MapName","x":41.44808075741563,"y":50.0,"z":42.50080683573709,"pitch":4.3947983,"yaw":137.38417}'
  blue-spawn:
  - '{"world":"MapName","x":56.6918707884174,"y":44.0,"z":-4.555593361936319,"pitch":7.273297,"yaw":30.61435}'
  - '{"world":"MapName","x":57.44549459487012,"y":44.0,"z":4.918019909536127,"pitch":7.708655,"yaw":131.72243}'
  red-spawn:
  - '{"world":"MapName","x":-58.39682408297107,"y":44.0,"z":-3.2223274433043345,"pitch":-0.23649588,"yaw":-44.48459}'
  - '{"world":"MapName","x":-60.18763206004914,"y":44.0,"z":4.979642518918285,"pitch":9.776551,"yaw":-109.348724}'
```


---

# 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://floodeer.gitbook.io/wizards-1/arena-file.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.
