ActionAnnouncer

All in one action bar announcement plugin!

About

ActionAnnouncer allows to set a bunch of messages that will be shown to players in the 'Action Bar' section of the client.

Installation

To install the plugin, simply download the plugin from Spigot and upload it to your /plugins folder.

Permissions

Permission Description
actionannouncer.send Send messages via the /aa send command.
actionannouncer.announce Send announcements via the /aa announcement command.
actionannouncer.reload Reload the config via the /aa reload command.
actionannouncer.start Start interval announcements via the /aa start command.
actionannouncer.stop Stop interval announcements via the /aa stop command.
actionannounce.add Add an ActionBar auto announcement via the /aa add command.
actionannounce.remove Remove an ActionBar auto announcement via the /aa remove command.
actionannounce.list List all active ActionBar announcements via the /aa list command.

Commands

Command Description
/aa send <player> <display time in seconds> <index/message> Send a specific player an action bar message for a set time.
/aa announce <display time in seconds> <index/message> Send all players an ActionBar announcement.
/aa reload Reload the plugin
/aa start Start the interval for the list of announcements.
/aa stop Stop the interval for the list of announcements.
/aa add <message> Add a message to the list of announcements.
/aa remove <index> Remove a message from the list of announcements via the index number.

API

Send an actionbar message to a specific player:

ActionAPI.sendPlayerAnnouncement(Player player, String message);

Send an actionbar message to the whole server:

ActionAPI.sendServerAnnouncement(String message);

Send an actionbar message to a specific player for a certain amount of time:

ActionAPI.sendTimedPlayerAnnouncement(Plugin plugin, Player player, String message, int seconds);