> 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/komandy.md).

# Команды

### Игроки

| Команда               | Что делает                       | Право                    |
| --------------------- | -------------------------------- | ------------------------ |
| `/queue`              | открыть меню обычной очереди     | `kastfight.queue`        |
| `/queue <kit>`        | войти в обычную очередь          | `kastfight.queue`        |
| `/queue leave`        | выйти из очереди                 | `kastfight.queue`        |
| `/ratingqueue`        | открыть рейтинговое меню         | `kastfight.queue`        |
| `/ratingqueue <kit>`  | войти в рейтинг                  | `kastfight.queue`        |
| `/ratingqueue leave`  | выйти из очереди                 | `kastfight.queue`        |
| `/duel`               | открыть меню обычных дуэлей      | `kastfight.queue`        |
| `/duel <ник>`         | открыть выбор кита для вызова    | `kastfight.queue`        |
| `/duel <ник> <kit>`   | вызвать игрока                   | `kastfight.queue`        |
| `/duel accept [ник]`  | принять вызов                    | `kastfight.duel.accept`  |
| `/duel decline [ник]` | отклонить вызов                  | `kastfight.duel.decline` |
| `/duelaccept <ник>`   | принять вызов отдельной командой | `kastfight.duel.accept`  |
| `/dueldecline <ник>`  | отклонить вызов                  | `kastfight.duel.decline` |
| `/dueldeny <ник>`     | то же, что decline               | `kastfight.duel.decline` |
| `/ffa`                | открыть FFA-меню                 | `kastfight.ffa`          |
| `/ffa <kit>`          | войти в FFA                      | `kastfight.ffa`          |
| `/ffa leave`          | выйти из FFA                     | `kastfight.ffa`          |
| `/spec <ник>`         | наблюдать за игроком             | отдельного права нет     |
| `/spec leave`         | выйти из наблюдения              | отдельного права нет     |
| `/scoreboard`         | статус и подсказка               | `kastfight.scoreboard`   |
| `/scoreboard on`      | включить скорборд                | `kastfight.scoreboard`   |
| `/scoreboard off`     | выключить скорборд               | `kastfight.scoreboard`   |
| `/scoreboard toggle`  | переключить скорборд             | `kastfight.scoreboard`   |
| `/settings`           | открыть настройки                | `kastfight.settings`     |

### Premium

```
/premiumqueue
/premiumqueue menu
/premiumqueue join <kit>
/premiumqueue unranked <kit>
/premiumqueue rating <kit>
/premiumqueue leave
```

Право: `kastfight.premium`.

### Киты

`create` требует displayName.

```
/kit create <mode> <id> <displayName>
/kit create both <id> <displayName>
/kit create <id> <displayName>
/kit setinv <mode> <id>
/kit setinv <id>
```

Режимы: `default`, `rating`, `ffa`, `both`.

Примеры:

```
/kit create default boxing Boxing
/kit create rating boxing Boxing Rating
/kit create ffa boxing Boxing FFA
/kit create both boxing Boxing
/kit setinv default boxing
```

Права: `kastfight.kit.create`, `kastfight.kit.setinv`, `kastfight.internal.kit`.

### Редактор китов

```
/kiteditor
/kiteditor default
/kiteditor rating
/kiteditor ffa
/kiteditor <kit>
/kiteditor <mode> <kit>
/kiteditor setlobby
/kiteditor save
/kiteditor reset
/kiteditor leave
```

Права: `kastfight.editor.use`, `kastfight.editor.setlobby`, `kastfight.editor.save`, `kastfight.editor.reset`, `kastfight.internal.editor`.

### Арены

Важно: в командах точек нет слова `set`.

```
/arena duel create <id> <displayName>
/arena ffa create <id> <displayName>
/arena duel delete <id>
/arena ffa delete <id>
```

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

```
/arena duel pos1 <id>
/arena duel pos2 <id>
/arena duel posarena1 <id>
/arena duel posarena2 <id>
```

* `pos1` — spawn первого игрока.
* `pos2` — spawn второго игрока.
* `posarena1/posarena2` — границы.

FFA-арена:

```
/arena ffa posarena1 <id>
/arena ffa posarena2 <id>
/ffa setspawn <index> <arenaId>
/ffa setkit <arenaId> <ffaKit>
/ffa clearkit <arenaId>
```

Алиасы очистки FFA-кита: `delkit`, `resetkit`.

Права: `kastfight.internal.arena`, `kastfight.arena.create`, `kastfight.arena.set`, `kastfight.arena.delete`, `kastfight.internal.ffa`.

### Админ-команды

```
/fight reload
/kastfight reload
/fight admin
/kastfight admin
/fight copy <idArena> <distance> <count> [expand]
/fight rank <ник> <порог>
/fight guieditor <menuId>
/fight seteditor <menuId>
/fight menu <menuId>
/fight verbose <ник> <on|off>
```

Права: `kastfight.reload`, `kastfight.admin.gui`, `kastfight.arena.copy`, `kastfight.rank`.

### Кулдауны

Предмет для `add` должен быть в основной руке.

```
/cooldown add <секунды> <trigger> ffa <kit> <ruleId>
/cooldown add <секунды> <trigger> duel <default|rating> <kit> <ruleId>
/cooldown add <секунды> <trigger> both <kit> <ruleId>
/cooldown remove ffa <kit> <ruleId>
/cooldown remove duel <default|rating> <kit> <ruleId>
/cooldown remove both <kit> <ruleId>
/cooldown info ffa <kit> <ruleId>
/cooldown info duel <default|rating> <kit> <ruleId>
/cooldown info both <kit> <ruleId>
/cooldown list [ffa <kit> | duel <default|rating> <kit> | both <kit>]
/cooldown reload
```

Триггеры: `right_click`, `left_click`, `shoot`, `drink`, `eat`.

Право: `kastfight.internal.cooldown`.

### Боты (создано для проверки кита, бот глупый)

```
/bot create <ник>
/bot remove <бот>
/bot follow <бот> <цель>
/bot attack <бот> <цель>
/bot stop <бот>
/bot duel <бот> <normal|rating|premium|premium_rating> <kit>
/bot duelleave <бот>
/bot ffa <бот> <kit>
/bot ffaleave <бот>
```

Право: `kastfight.bot`.

### Внутренние команды

```
/ktqueue /ktduel /ktduelaccept /ktdueldecline /ktspec
/ktkit /ktkiteditor /ktarena /ktffa /ktsetspawn
/ktscoreboard /ktsettings /ktcooldown /ktbot /ktkits /ktfight
```

Обычным игрокам обычно нужны публичные алиасы, а не `kt...`.


---

# 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/komandy.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.
