How to use:
After you downloaded the ActionbarAPI import it into your project.
Add the API as a dependency in your plugin.yml!
To see how that works: Plugin.yml | SpigotMC - High Performance Minecraft
API:
Send Player an Actionbar
Code (Text):
ActionbarAPI.sendActionbar(player, "Message");
Send Player an Actionbar with Timestamp in seconds
Code (Text):
ActionbarAPI.sendActionbar(p,"Message", 20);
Send Player an Actionbar for an unlimited amount of time
Code (Text):
ActionbarAPI.sendPermanetActionbar(p, "Message");
Note:
By downloading and using this API you agree to
- NOT PUBLISHING THIS API on any other platform without permission
- NOT DECOMPLING OR DEOBFUSCATING THIS API