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

# Скорборды

### Настройки

```yaml
scoreboards:
  enabled: true
  hub-enabled: true
  update-ticks: 20
```

* `enabled` — включает систему скорбордов KastFight.
* `hub-enabled` — показывает хаб-скорборд вне боя, очереди и FFA.
* `update-ticks` — частота обновления. 20 тиков = 1 секунда.

### Команды

```
/scoreboard
/scoreboard on
/scoreboard off
/scoreboard toggle
```

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

### Файлы

```
scoreboard/hub.yml
scoreboard/default_queue.yml
scoreboard/queuerating.yml
scoreboard/ffa.yml
scoreboard/players.yml
```

* `hub.yml` — лобби/хаб.
* `default_queue.yml` — обычная дуэль.
* `queuerating.yml` — рейтинговая дуэль.
* `ffa.yml` — FFA.
* `players.yml` — игроки, которые отключили скорборд.

### Формат

```yaml
boards:
  hub:
    zero-score-numbers: true
    title: "&6KastFight"
    lines:
      - ""
      - "&fНик: &e%player%"
      - "&fРейтинг: &6%kastfight_elo_total%"
```

`zero-score-numbers: true` скрывает разные цифры справа.

### Условные строки FFA

Токен:

```
%if_active_opponent%
```

Если активного соперника нет, строка не показывается.

### Встроенные плейсхолдеры скорборда

```
%player%
%opponent%
%kit%
%arena%
%online%
%active_opponent%
%has_active_opponent%
```

Также работают PlaceholderAPI-плейсхолдеры:

```
%kastfight_elo_total%
%kastfight_rank_title_total%
%luckperms_prefix%
```

### HP под ником

```yaml
health-display:
  enabled: true
  modes:
    duels: true
    ffa: true
  radius: 64
  style:
    format: "#FF0000%health%❤ &7• #FF00F8%opponent_ping%ᴍᴄ"
    max-hearts: 40
    round: true
```

### Конфликт с другими scoreboard-плагинами

KastFight назначает игроку свой Bukkit scoreboard. Если другой плагин делает то же самое, возможен конфликт.

Отключить хаб-скорборд:

```yaml
scoreboards:
  hub-enabled: false
```

Отключить все скорборды KastFight:

```yaml
scoreboards:
  enabled: false
```

После правки:

```
/fight reload
```


---

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