Minecraft TitleAPI User Friendly, JSON Free mod 2024 download
logo
minecraft mod TitleAPI User Friendly, JSON Free

TitleAPI User Friendly, JSON Free

Game Version: 1.12
Total Downloads: 254
Updated: Sep 9, 2017
Created: Sep 4, 2017
Download TitleAPI User Friendly, JSON FreeDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
TitleAPI.jar release 2.35 KB Sep 9, 2017 1.12 188 download TitleAPI User Friendly, JSON Free TitleAPI.jar releaseDownload
TitleAPI.jar release 2.25 KB Sep 4, 2017 1.12 66 download TitleAPI User Friendly, JSON Free TitleAPI.jar releaseDownload

Description

Share this:

To be clear, this plugin is for developers who want to code their own plugins.  This has no features that will trigger on its own.

 

This will allow developers to send titles without having to use JSON.  To use: create an instance of TitleAPI:

 

TitleAPI titleAPI = new TitleAPI();

 

Then, you can call the method sendTitle, its parameters are as follows:

 

Player p, String title, String subtitle, int fadeInSeconds, int staySeconds, int fadeOutSeconds

 

You can use the method in an event handler like so:

TitleAPI titleInstance = new TitleAPI();

@EventHandler

public void onPlayerJoin(PlayerJoinEvent e) {

    Player p = e.getPlayer();

    titleInstance.sendTitle(p, "&6&lHELLO,", "and welcome to my server!", 1, 5, 1);

}

 

 

Comments

Add a comment