> For the complete documentation index, see [llms.txt](https://kast1ent.gitbook.io/kast1ent-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kast1ent.gitbook.io/kast1ent-docs/kastfight/areny.md).

# Арены

## Есть два типа арен: `duel` и `ffa`.

Дуэльная арена:

```
pos1      - spawn первого игрока
pos2      - spawn второго игрока
posarena1 - первая граница
posarena2 - вторая граница
```

FFA-арена:

```
posarena1 - первая граница
posarena2 - вторая граница
/ffa setspawn <index> <arena> - spawn-точки
```

### Дуэльная арена

Создать:

```
/arena duel create arena1 Arena 1
```

Поставить точки:

```
/arena duel pos1 arena1
/arena duel pos2 arena1
/arena duel posarena1 arena1
/arena duel posarena2 arena1
```

Удалить:

```
/arena duel delete arena1
```

Арена готова, когда все четыре точки заданы и находятся в одном мире.

### FFA-арена

Создать:

```
/arena ffa create ffa1 FFA 1
```

Поставить границы:

```
/arena ffa posarena1 ffa1
/arena ffa posarena2 ffa1
```

Добавить spawn-точки:

```
/ffa setspawn 1 ffa1
/ffa setspawn 2 ffa1
/ffa setspawn 3 ffa1
Можно сколько угодно.
```

Привязать FFA-кит:

```
/ffa setkit ffa1 boxing
```

Убрать привязку:

```
/ffa clearkit ffa1
```

Удалить:

```
/arena ffa delete ffa1
```

### Настройки новых арен

```yaml
arena-defaults:
  deny-water: true
  deny-lava: true
  deny-place: true
  deny-break: true
  restore-arena: false
  explosions-break-blocks: false
  explosions-damage-players: true
```

### Копирование

```
/fight copy <idArena> <distance> <count> [expand]
```

Пример:

```
/fight copy arena1 150 5
```

### Если матч не стартует

Проверьте:

1. Есть свободная duel-арена.
2. У неё заданы `pos1`, `pos2`, `posarena1`, `posarena2`.
3. Все точки в одном мире.
4. Есть кит нужного режима.
5. У игроков есть права.

### Если FFA не запускается

Проверьте:

1. Есть FFA-арена.
2. Есть `posarena1` и `posarena2`.
3. Есть хотя бы один `/ffa setspawn`.
4. Есть FFA-кит.
5. Если задан `/ffa setkit`, игрок входит с привязанным китом.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://kast1ent.gitbook.io/kast1ent-docs/kastfight/areny.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
