Placeholder API is a library for Minecraft mods that lets them define and parse placeholders in strings and Minecraft text components, helping compatible mods display information consistently without relying on multiple mod-specific APIs. Placeholders use forms such as %modid:type% and %modid:type data%, and can insert static or dynamic values into text supplied by players or read from configuration. Its built-in placeholders cover player details including names, ping, coordinates, health, inventory and equipment, playtime, statistics, scoreboard objectives, and the player’s current biome; they also expose server and world information such as online-player counts, server performance, world time, and mob counts. Other compatible mods can add their own placeholders, with documented examples for AFK status and duration, Fuji’s player and server activity totals, claim ownership information, and LuckPerms prefixes, suffixes, metadata, and groups. For readable text styling, the library provides QuickText and Simplified Text Format, tag-based formats that can apply colors and decorations, add hover details and click actions, and set fonts without requiring users to write JSON manually.
Written from Modrinth . How we write it
The newest release or beta for each Minecraft version and loader, on Modrinth and CurseForge.
Have a copy of Text Placeholder API? Check that it is the official one.
Drop it here. We compare its fingerprint with the official Text Placeholder API files. If we do not know the file, we upload it for a deep check.
Who makes Text Placeholder API, with their most downloaded other projects.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
None found
No sign it sends data.
We find the web addresses its code can contact, but we cannot see everything a mod does while it runs. Wrong result? Tell us
A mod can send information about you over the internet, such as your player name or your login.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Does not change the game's code directly.
Also
Something wrong here? Report a mistake