Interface UniqueIdLookupEvent
- All Superinterfaces:
LuckPermsEvent,ResultEvent<UUID>
Called when the platform needs a unique id for a given username.
- Since:
- 5.3
-
Method Summary
Modifier and TypeMethodDescriptionGets the username being looked up.default voidsetUniqueId(@Nullable UUID uniqueId) Sets the result unique id.Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPermsMethods inherited from interface net.luckperms.api.event.type.ResultEvent
hasResult, result
-
Method Details
-
getUsername
Gets the username being looked up.- Returns:
- the username
-
setUniqueId
Sets the result unique id.- Parameters:
uniqueId- the unique id
-