A easy to use API for developers to take advantage of the new Action Bar feature in Minecraft 1.8/1.9.
- Tested Minecraft Versions:
If you are running the full Spigot/CraftBukkit 1.8.x you can use the latest version. If you are on the 1.8 protocol hack please download version 1.1 from here: http://www.spigotmc.org/resources/actionbarapi.1315/download?version=4276
If you're a server owner:
The ActionBarAPI may be required in a plugin which has directed you to this page, download the plugin and put it in your 'plugins' directory and boom, you're good to go!
If you're a developer:
The ActionBarAPI is simple and easy to use, first download and import the plugin into your project.
You will want to import it as a dependency into your plugin.yml just so no errors occur.
To call the API it's as simple as:
There are other methods such as a method to send the Action Bar for a specific amount of time (ticks, 20 = 1 second):Code (Text):ActionBarAPI.sendActionBar(player,"Action Bar Message");
There is also now an event that you can use to hook in to other plugins using ActionBarAPI & BountifulAPI. This event is called "ActionBarMessageEvent"Code (Text):ActionBarAPI.sendActionBar(player,"Action Bar Message", duration);
GitHub Repo (Source): https://github.com/connorlinfoot/ActionBarAPI
Note: Old versions of the plugin are no longer supported in any way.
Please submit bugs, questions, issues and suggestions on GitHub https://github.com/ConnorLinfoot/ActionBarAPI/issues Do not PM me, I will not respond. Please check GitHub issues for solutions first and read the full information on this page..
ActionBarAPI [1.8 - 1.12] 1.5.3
A easy to use API for developers to take advantage of the new Action Bar feature in Minecraft 1.8