Home›Java›Mods›sheepcraftUtilities
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
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

sheepcraftUtilities is a free Minecraft Java mod. Downloaded 481 times (via Spigot). Download it and open it directly in the game.

Explore more