All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Text Placeholder API

Text Placeholder API

by Patbox • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

About Placeholder API

It's a small, JIJ-able API that allows creation and parsing placeholders within strings and Minecraft Text Components. Placeholder API uses a simple format of %modid:type% or %modid:type data% (%modid:type/data% prior to 1.19). It also includes simple, general usage text format indented for simplifying user input in configs/chats/etc.

For users

It allows users to configure multiple mods in similar way without losing compatibility between mods. Placeholders allow changing what and where any information is present within compatible mods.

Additionally, Simplified Text Format allows to style them in readable way without the requirement of writing JSON manually or using generators.

Mods generally using this api should just include it directly, but you can downloaded updated version from here if needed!

For developers

Usage of Placeholder API is a simple way to achieve good mod compatibility without having to implement multiple mod specific apis. Additionally, the placeholder parsing system can be used for replacing own static (or dynamic placeholders) in Text created by player or read from config. This with combination of Simplified Text Format allows creating great user/admin experience.

*[JIJ]: Jar-in-Jar

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3.x
Fabric
20h ago 1
26.2.x
Fabric
20h ago 1
26.2-pre-1
Fabric
20h ago 1
26.1.x
Fabric
20h ago 1
26.1.x 26w14a
Fabric
20h ago 1
26.1-snapshot-7
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.5
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.5
Fabric Quilt
20h ago 1
25w14craftmine
Fabric Quilt
20h ago 1
1.21.5
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.5-rc1
Fabric Quilt
20h ago 1
1.19.x
Fabric Quilt
20h ago 1
1.20.1
Fabric Quilt
20h ago 1
1.20.x
Fabric Quilt
20h ago 1
1.20.x
Fabric Quilt
20h ago 1
1.20.5-rc1
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.21
Fabric Quilt
20h ago 1
1.20.4
Fabric Quilt
20h ago 1
1.21.x
Fabric Quilt
20h ago 1
1.20.x
Fabric Quilt
20h ago 1
1.20.x
Fabric Quilt
20h ago 1
1.20.x
Fabric Quilt
20h ago 1
1.20.1
Fabric Quilt
20h ago 1
1.20.1
Fabric
20h ago 1
1.20.x
Fabric
20h ago 1
1.19.4
Fabric Quilt
20h ago 1
1.19.3
Fabric Quilt
20h ago 1
1.19.x
Fabric Quilt
20h ago 1
1.19
Fabric Quilt
20h ago 1
1.18.x 1.17.x
Fabric Quilt
20h ago 1
[3.0.0+26.1] 3.0.0+26.1 by Patbox on Oct 07, 2026
Download
## What's Changed

## New Contributors

First release for new cycle! Includes bunch of refactors and renames and intruduces support for common and client placeholders!

For migration, most notable changes:
What previously was PlaceholderContext was moved to ServerPlaceholderContext, and alike (ParserBuilder changed placeholders() -> serverPlaceholders()) for those who want previous features.
Renamed getText and alike to getComponent. TextNodes are still TextNodes through.

## What's Changed

## New Contributors

## What's Changed

## New Contributors

## What's Changed

## New Contributors

Text Placeholder API Icon
Download Text Placeholder API
Select game version
Select platform