HomeJavaModsPlaceholder API Paper
Placeholder API Paper
ModsJava

Placeholder API Paper

by OffsetMonkey538 · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Paper only.

⬇ Download for 26.2⬇ Download for 26.1–26.1.2
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

About Placeholder API Paper

This is an unofficial port of Placeholder API to PaperMC, check out the original by Patbox here and a NeoForge port here.

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

For information about usage (for developers and users) you can check official docs of the original Fabric version at https://placeholders.pb4.eu/!

Developers

To depend on Placeholder API Paper, add the following to your buildscript:

repositories {
    // ... other repositories
    maven("https://maven.offsetmonkey538.top/releases") { name = "OffsetMonkey538" }
}

dependencies {
    // ... other dependencies
    implementation "eu.pb4:placeholder-api-paper:[VERSION]"
}

This will allow you to use the library in your project, but requires users to manually download it.
If you want to JIJ the library, use the Shadow Gradle plugin, or see the Paper documentation for how to download it at runtime here.

Make sure to replace the [VERSION] with an actual valid version. For a list of available versions, check the maven here.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more