# HyperTNT

HyperTNT — плагин, который добавляет **настраиваемые типы TNT** через YAML-конфиги.

Каждый тип TNT может иметь:

* свой предмет (материал/имя/лоры)
* свои способы поджига и поведение при поджиге (фитиль, авто-поджиг при установке, бросок, редстоун и т.д.)
* (опционально) крафт рецептом
* визуальные эффекты для горящей TNT-сущности (свечение, голограмма)
* полностью настраиваемый взрыв (радиус, урон, правила разрушения блоков, пост-эффекты)

## Возможности

* Несколько TNT-типов в одном файле и загрузка из нескольких файлов (`tnts.sources`)
* Меню со списком TNT-типов в игре: `/htnt`
* Перезагрузка конфигов без рестарта: `/hypertnt reload`
* Выдача TNT-предмета командой: `/hypertnt give <игрок> <тип> [кол-во]`
* Регистрация крафта для каждого типа (если включено)
* Поддержка цветов через `&`-коды
* Поддержка PlaceholderAPI (в тех местах, где это имеет смысл)

## Быстрый старт

1. Установи плагин и запусти сервер (создадутся `config.yml`, `messages.yml`, папка `tnts/`)
2. Отредактируй файлы типов TNT в `plugins/HyperTNT/tnts/`
3. Выполни `/hypertnt reload`

## Документация

* [Быстрый старт](https://minekent.gitbook.io/hypertnt/02-quick-start)
* [Конфигурация](https://minekent.gitbook.io/hypertnt/03-config)
* [Команды](https://minekent.gitbook.io/hypertnt/04-commands)
* [Примеры](https://minekent.gitbook.io/hypertnt/05-examples)
* [Типы TNT](https://minekent.gitbook.io/hypertnt/nastroiki-tnt/01-readme)

## Где настраивать типы TNT

Типы TNT описываются в YAML-файлах, которые перечислены в `plugins/HyperTNT/config.yml` → `tnts.sources`.

Подробности по секциям одного типа:

* [Предмет (item)](https://minekent.gitbook.io/hypertnt/nastroiki-tnt/02-item)
* [Поджиг (ignite)](https://minekent.gitbook.io/hypertnt/nastroiki-tnt/03-ignite)
* [Крафт (craft)](https://minekent.gitbook.io/hypertnt/nastroiki-tnt/04-craft)
* [Условия активации (conditions)](https://minekent.gitbook.io/hypertnt/nastroiki-tnt/05-conditions)
* [Голограмма и визуал](https://minekent.gitbook.io/hypertnt/nastroiki-tnt/06-visual-hologram)
* [Взрыв (explosion)](https://minekent.gitbook.io/hypertnt/nastroiki-tnt/07-explosion)


---

# Agent Instructions: 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:

```
GET https://minekent.gitbook.io/hypertnt/01-readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
