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

# Киты

### Режимы

```
default - обычные и персональные дуэли
rating  - рейтинговые дуэли
ffa     - FFA
both    - создать default и rating одновременно
```

### Где лежат киты

```
plugins/KastFight/kits/Default/<id>.yml
plugins/KastFight/kits/Rating/<id>.yml
plugins/KastFight/kits/Ffa/<id>.yml
```

### Создание

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

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

Примеры:

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

Если режим не указать, создаётся default-кит:

```
/kit create boxing Boxing
```

### Сохранение инвентаря

Перед командой положите предметы, броню и offhand в инвентарь:

```
/kit setinv <mode> <id>
```

Примеры:

```
/kit setinv default boxing
/kit setinv rating boxing
/kit setinv ffa boxing
```

Без режима используется default:

```
/kit setinv boxing
```

### Id кита

Хорошо:

```
boxing
nodebuff
classic
sumo
axe_pvp
```

Плохо:

```
Boxing Kit
кит1
node buff
```

Лучше использовать латиницу, маленькие буквы, цифры, `_` и `-`.

### Дефолтное оформление

Если у кита пустой lore, используется `kits-default-lore` из `config.yml`.

Плейсхолдеры:

```
%kit_id%
%kit_name%
%kit_displayname%
%kit_version%
```

Пример:

```yaml
kits-default-lore:
  default:
    name: "&#FFA766◆ &fНабор: &#FDCF35%kit_name%"
    lore:
      - ''
      - '&f● В очереди: &e%kastfight_queue_default_%kit_id%%'
      - '&f● В бою: &e%kastfight_fight_default_%kit_id%%'
```

### Редактор личного набора

```
/kiteditor <kit>
/kiteditor <mode> <kit>
/kiteditor save
/kiteditor reset
/kiteditor leave
```

Перед использованием редактора задайте лобби:

```
/kiteditor setlobby
```

### Частые ошибки

* `/kit create default boxing` не сработает: нужен displayName.
* `/queue boxing` ищет `Default/boxing.yml`.
* `/ratingqueue boxing` ищет `Rating/boxing.yml`.
* `/ffa boxing` ищет `Ffa/boxing.yml`.
* Если редактор пишет, что кит не готов, выполните `/kit setinv <mode> <id>`.


---

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