Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 549 Bytes

File metadata and controls

12 lines (7 loc) · 549 Bytes

API

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.