Skip to content

GufliMC/BrickPlaceholdersApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages