Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 639 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 639 Bytes

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");
}