Class AnnouncementManager
java.lang.Object
ovh.mythmc.social.api.announcements.AnnouncementManager
Manages the automatic broadcast of registered
announcements.
Announcements are cycled in registration order at the interval defined in the
plugin configuration. Use restartTask() to begin the scheduler.
Access the singleton via
Social.getAnnouncementManager().
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidStarts the announcement scheduler if it is not already running.
-
Field Details
-
instance
-
-
Constructor Details
-
AnnouncementManager
public AnnouncementManager()
-
-
Method Details
-
restartTask
public void restartTask()Starts the announcement scheduler if it is not already running.Calling this method while the scheduler is active has no effect.
-