> For the complete documentation index, see [llms.txt](https://changelog.matrixemulator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.matrixemulator.com/welcome/server/muserver/data/custom/custompvpzone.md).

# CustomPVPZone

<mark style="color:green;">Defines custom rectangular PVP areas within a map (independent of the PVP zones already built into the map).</mark>

```
//MAP	IPX	IPY	FPX	FPY	TYPE
  6	0	0	255	255	0	//Stadium without PVP
  6	42	52	52	62	1	//Stadium cage with PVP but no PK
  6	42	34	52	44	2	//Stadium cage with PVP and PK
end
```

| **Column** | **Accepted values** | **What it is**                                                                                             |
| ---------- | ------------------- | ---------------------------------------------------------------------------------------------------------- |
| MAP        | Number              | Map where the area exists.                                                                                 |
| IPX / IPY  | Number              | Starting corner of the rectangle.                                                                          |
| FPX / FPY  | Number              | Ending corner of the rectangle.                                                                            |
| TYPE       | `0`, `1` or `2`     | `0` = area without PVP. `1` = area with PVP, but without counting PK. `2` = area with PVP and counting PK. |

### <mark style="color:yellow;">Notes</mark>

* When multiple areas overlap, the last one that matches in the file takes precedence (the game checks all lines for the map and keeps the result of the last one containing the position) — in case of intentional overlapping (like the example, which first marks the entire stadium as without PVP and then carves out two smaller areas with PVP inside it), the smaller/more specific areas must come after the larger area in the file.
* Outside of any area listed here, the default behavior of the map applies (defined elsewhere, not in this file).
