
TextAPI
TextAPI is a Kotlin-native Spigot text engine with a MiniMessage-like syntax, built-in placeholders, gradients, rainbow, 16 pride presets, click/hover/insert events, and a custom TPS ticker. All fully extensible at runtime via a clean handler-based API.
Оцените первым
15
1
TextAPI v1.0.2 - Placeholders Expansion & TPS System
Release20.06.2026
Список изменений
[1.0.2] - Placeholders Expansion & TPS System
Added
TextTPSobject with a custom rolling tick history buffer (600 ticks)- TPS calculation at multiple intervals:
getTps1s(),getTps5s(),getTps10s(),getTps30s() - MSPT (milliseconds per tick) calculation via
getMspt() getFormattedTps()andgetFormattedMspt()convenience methodsTextTPS.init()called on plugin enable via aBukkitRunnableticking every server tick- Built-in placeholder
{server_tps}backed by the custom TPS ticker - Built-in placeholders:
{datetime},{timestamp} - Built-in placeholders:
{player_ping},{player_locale} {player_online}as an alias mirroring{server_online}scoped to the player context
Changed
TextPlaceholders.registerDefaults()reorganized into clearly separated sections: player identity, server, time, misc{time}format updated toHH:mm:ss{date}format updated todd/MM/yyyy{datetime}format set todd/MM/yyyy HH:mm:ss{player_exp}now formatted to 2 decimal places via"%.2f"{server_tps}now formatted to 2 decimal places via"%.2f"
Fixed
{player_health}now returns the floored integer value instead of a raw double- Placeholder resolver returning
nullfor a missing player now correctly falls back to an empty string inTextContext.buildinstead of the literal string"null"
Файлы
textapi-1.0.2.jar(1.86 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.2
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
1
Дата публикации
20.06.2026
