promotional bannermobile promotional banner

TitleAPI User Friendly, JSON Free

This is a developer tool that allows developers to make titles.

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

}

 

 

The TitleAPI User Friendly, JSON Free Team

profile avatar
  • 2
    Projects
  • 1.5K
    Downloads

More from SirCoderOfJava