[go: up one dir, main page]

Skip to content

A simpe inventory title updater for bukkit with adventure support.

License

Notifications You must be signed in to change notification settings

Infumia/title-updater

Repository files navigation

title updater

Maven Central Version

How to Use (Developers)

Gradle

repositories {
    mavenCentral()
}

dependencies {
    // Base module
    implementation "net.infumia:title-updater:VERSION"
}

Code

void run(final Player player) {
    TitleUpdater.update(player, "New Title");
    TitleUpdater.update(player, Component.text("New title"));
    
    ComponentSupport.deserializer(Minimessage.miniMessage());
 
    TitleUpdater.update(player, "<white>New Title");
}