▶️ ЗАБЕРИ СВОИ 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.1 - Bug Fixes & Edge Cases

TextAPI v1.0.1 - Bug Fixes & Edge Cases

Release20.06.2026

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

[1.0.1] - Bug Fixes & Edge Cases

Fixed

  • Escape character (\<) now correctly passes the next character through as raw text instead of being consumed silently
  • Empty tag brackets (<>) now render literally instead of being treated as a tag
  • Unclosed tags no longer crash the renderer — style applies to end of string and is cleanly flushed
  • Close tag with no matching open tag now renders literally (e.g. </red> with no <red> outputs </red>)
  • Nested close tags now correctly unwind only to the nearest matching frame, preserving outer styles
  • <reset> now fully clears the frame stack including any active collecting frames (gradient, ✨, ✨)
  • Placeholder with empty key ({}) now renders literally instead of emitting an empty Placeholder token
  • Placeholder with unclosed brace ({key with no }) now renders literally instead of hanging
  • Tag with no closing > now renders literally instead of consuming the rest of the string
  • Gradient with fewer than 2 valid color stops now renders literally instead of silently producing no output
  • Color alias (<color:>, <c:>) with an unresolvable value now renders literally instead of silently dropping the tag
  • Hex color tag with malformed value (wrong length or invalid characters) now renders literally
  • <!decoration> with an unrecognized inner tag now renders literally instead of silently no-oping
  • Hover show_text inner content now fully parses nested tags recursively (e.g. <hover:show_text:<red><bold>text</bold></red>>)
  • TextContext.resolve now trims and lowercases keys consistently, preventing case-sensitive misses on placeholder lookup
  • Override map keys are now normalized before insertion into the context, matching the same normalization applied during resolution

Changed

  • TextParser.isKnownTag now checks decoration aliases, color tags, and registered tags before falling back to the placeholder path — reducing false placeholder tokens for valid tag names
  • Unknown tag passthrough now preserves the original casing of the tag name in the output (e.g. <MyTag> outputs <MyTag>, not <mytag>)

Файлы

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

Метаданные

Канал релиза

Release

Номер версии

1.0.1

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.21–1.21.11

Загрузок

2

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

20.06.2026

Загрузил

ID версии

Главная