BrickPlaceholders icon

BrickPlaceholders

A Minecraft library for handling placeholders by various plugins/extensions.

Created:
6 months ago
Updated:
55 years ago

A Minecraft library for handling placeholders by various plugins/extensions.

Gradle

repositories {
    maven { url "https://repo.jorisg.com/snapshots" }
}

dependencies {
    compileOnly 'com.guflimc.brick.placeholders:spigot-api:1.0-SNAPSHOT'
}

Javadocs

You can find the javadocs for all platforms here

Examples

SpigotPlaceholderAPI.get().registerReplacer("level", (player) -> {
    return Component.text(player.getLevel());
});

Component result = SpigotPlaceholderAPI.get().replace(player, text);