Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
/ BrickPlaceholders Public archive

A Minecraft server extension for handling placeholders by various plugins/extensions.

License

Notifications You must be signed in to change notification settings

GufliMC/BrickPlaceholders

Repository files navigation

BrickPlaceholders

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

Platforms

  • Minestom
  • Spigot / Paper

Install

Get the latest release and place it in your server.

Usage

Gradle

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

dependencies {
    // minestom
    compileOnly 'com.guflimc.brick.placeholders:minestom-api:1.0-SNAPSHOT'
    
    // spigot
    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);

About

A Minecraft server extension for handling placeholders by various plugins/extensions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages