Package ovh.mythmc.social.api.bukkit
Class BukkitSocialUserService
java.lang.Object
ovh.mythmc.social.api.bukkit.BukkitSocialUserService
- All Implemented Interfaces:
SocialUserService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionget()Gets all currentSocialUsers in this serverGets a specificSocialUserby itsUUID.getOrCreate(@NotNull UUID uuid) Gets a specificSocialUserby itsUUID.Gets theIdentityResolverof this serverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ovh.mythmc.social.api.user.SocialUserService
getSocialSpyUsers, getSocialSpyUsersInChannel
-
Field Details
-
INSTANCE
-
-
Method Details
-
identityResolver
Description copied from interface:SocialUserServiceGets theIdentityResolverof this server- Specified by:
identityResolverin interfaceSocialUserService- Returns:
- the
IdentityResolverof this server
-
get
Description copied from interface:SocialUserServiceGets all currentSocialUsers in this server- Specified by:
getin interfaceSocialUserService- Returns:
- a
Setwith everySocialUserin the server
-
getOrCreate
Description copied from interface:SocialUserServiceGets a specificSocialUserby itsUUID.If the
SocialUserdoesn't exist, it will be created by the service.- Specified by:
getOrCreatein interfaceSocialUserService- Parameters:
uuid- theUUIDof the user- Returns:
- a
SocialUsermatching theUUID
-
getByUuid
Description copied from interface:SocialUserServiceGets a specificSocialUserby itsUUID.- Specified by:
getByUuidin interfaceSocialUserService- Parameters:
uuid- theUUIDof the user- Returns:
- an
Optionalcontaining theSocialUserif present, or an emptyOptionalotherwise
-