
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.
Links
Tags
Creators
Details
1.0.5
Compatibility
Changes
[1.0.5] - Shadows, Localization & Transitions
Added
shadowtag for applying text shadows with named colors, hex colors, and configurable alpha values!shadowalias to disable shadows or reset shadow stylingkeytag for displaying client keybind names dynamicallylangtag for localized Minecraft translation keystrandtranslatealiases for translation componentslang_ortag for translation components with fallback text supporttr_orandtranslate_oraliases for fallback translations- Placeholder argument support for translation components through additional values
transitiontag for animated color interpolation between multiple colors- Transition phase support for shifting color positions and creating animations
- Shadow rendering support using RGB and RGBA color values
Changed
- The rendering pipeline now supports text shadow styling as a first-class formatting component
- Localization components are now generated directly from translation keys instead of requiring manual text replacement
- Color interpolation logic was extended to support transition-based rendering in addition to gradients
- Component generation now supports Minecraft translatable components with optional fallback text
- Text formatting capabilities were expanded beyond visual styling into localization and input-aware components
Fixed
- Translation keys can now safely display localized client messages instead of requiring hardcoded strings
- Missing translation entries can now fall back to custom text on supported Minecraft versions
- Keybind prompts now automatically reflect the player's configured controls
- Animated color effects can now be achieved without abusing gradient tags
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:NvPsOCVp:siVt0AlF"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:NvPsOCVp:siVt0AlF"
}
