▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
TextAPI

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

TextAPI v1.0.2 - Placeholders Expansion & TPS System

Release20.06.2026

Список изменений

[1.0.2] - Placeholders Expansion & TPS System

Added

  • TextTPS object 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() and getFormattedMspt() convenience methods
  • TextTPS.init() called on plugin enable via a BukkitRunnable ticking 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 to HH:mm:ss
  • {date} format updated to dd/MM/yyyy
  • {datetime} format set to dd/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 null for a missing player now correctly falls back to an empty string in TextContext.build instead of the literal string "null"

Файлы

textapi-1.0.2.jar(1.86 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.2

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.21–1.21.11

Загрузок

1

Дата публикации

20.06.2026

Загрузил

ID версии

Главная