Package ovh.mythmc.social.api
Class SocialRegistries
java.lang.Object
ovh.mythmc.social.api.SocialRegistries
Holds all object registries used by the social plugin.
Access the singleton via Social.registries().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA specialised registry forChatChannelobjects that fires lifecycle callbacks on registration and unregistration. -
Method Summary
Modifier and TypeMethodDescriptionReturns the registry of all registeredAnnouncementobjects.channels()Returns the registry of all registeredChatChannelobjects.emojis()Returns the registry of all registeredEmojiobjects.Returns the registry of all registeredReactionobjects.
-
Method Details
-
announcements
Returns the registry of all registeredAnnouncementobjects.- Returns:
- the announcement registry
-
channels
Returns the registry of all registeredChatChannelobjects.- Returns:
- the channel registry
-
emojis
Returns the registry of all registeredEmojiobjects.- Returns:
- the emoji registry
-
reactions
Returns the registry of all registeredReactionobjects.- Returns:
- the reaction registry
-