ActionAnnouncer has an API that provides some methods you can use in your plugin.
Method | Description |
---|---|
ActionAPI.sendPlayerAnnouncement(Player player, String message); | Sends an ActionBar message to a specific player. |
ActionAPI.sendServerAnnouncement(String message); | Sends an ActionBar message to the whole server. |
ActionAPI.sendTimedPlayerAnnouncement(Plugin plugin, Player player, String message, int seconds) | Sends an ActionBar message to a specific player for a certain amount of time. |