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 id
being looked up.default void
setUsername
(@Nullable String username) Sets the result username.Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
Methods inherited from interface net.luckperms.api.event.type.ResultEvent
hasResult, result
-
Method Details
-
getUniqueId
Gets theunique id
being looked up.- Returns:
- the unique id
-
setUsername
Sets the result username.- Parameters:
username
- the username
-