sheepcraftUtilities

sheepcraftUtilities v9

Contributors:
sheepcraft prison
hello this is a new API made by sheepcraft AKA sheeprgrate

Plugins that use this API:
sheepcraft-parkour

Videos
(coming soon)



How to add the API to your plugin:


broadcast the Title to the whole server
Code (Text):

Title title = new Title("random","I <3 Spigot");

title.setTitleColor(ChatColor.RED);

title.setSubtitleColor(ChatColor.GREEN);

title.broadcast();


sends one Title (no subtitle) to the player
Code (Text):

Title title = new Title("Hello Player!");

title.setTitleColor(ChatColor.RED);

title.send(player);



Sends a timed Title and a subtitle to the player
Code (Text):

// Times are in seconds
Title title = new Title("random!","I <3 Spigot",4,5,4);

title.setTitleColor(ChatColor.RED);

title.setSubtitleColor(ChatColor.GREEN);

title.send(player);
action Bar API
Code (Text):

actionbar.sendActionVar(e.getPlayer(), "actionbar text change in this code also adds colours");


tab API
Code (Text):

tabapi.sendTabTitle(player, "header", "footer");



Upcoming things:
Title API = done
Tab API = done
Actionbar API = done
more soon

If your plugin uses my API you can PM me and I will add your plugin to the list
Author
Mined
Downloads
21
Views
60
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Mined

Top