Interface UniqueIdDetermineTypeEvent
-
- All Superinterfaces:
LuckPermsEvent,ResultEvent<String>
public interface UniqueIdDetermineTypeEvent extends LuckPermsEvent, ResultEvent<String>
Called when the platform needs to determine the type of a player'sunique id.- Since:
- 5.3
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_AUTHENTICATEDThe players UUID has been obtained by authenticating with the Mojang session servers.static StringTYPE_UNAUTHENTICATEDThe players UUID has not been obtained through authentication, and instead is likely based on the username they connected with.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @NonNull StringgetType()Gets the current result unique id type.@NonNull UUIDgetUniqueId()Gets theunique idbeing queried.default voidsetType(@NonNull String type)Sets the result unique id type.-
Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
Methods inherited from interface net.luckperms.api.event.type.ResultEvent
hasResult, result
-
-
-
-
Field Detail
-
TYPE_AUTHENTICATED
static final String TYPE_AUTHENTICATED
The players UUID has been obtained by authenticating with the Mojang session servers.Usually indicated by the UUID being
version4.- See Also:
- Constant Field Values
-
TYPE_UNAUTHENTICATED
static final String TYPE_UNAUTHENTICATED
The players UUID has not been obtained through authentication, and instead is likely based on the username they connected with.Usually indicated by the UUID being
version3.- See Also:
- Constant Field Values
-
-