Interface UsernameLookupEvent
- All Superinterfaces:
LuckPermsEvent,ResultEvent<String>
Called when the platform needs a username for a given unique id.
- Since:
- 5.3
-
Method Summary
Modifier and TypeMethodDescriptionGets theunique idbeing looked up.default voidsetUsername(@Nullable String username) Sets the result username.Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPermsMethods inherited from interface net.luckperms.api.event.type.ResultEvent
hasResult, result
-
Method Details
-
getUniqueId
Gets theunique idbeing looked up.- Returns:
- the unique id
-
setUsername
Sets the result username.- Parameters:
username- the username
-