Interface UsernameLookupEvent

All Superinterfaces:
LuckPermsEvent, ResultEvent<String>

public interface UsernameLookupEvent extends LuckPermsEvent, ResultEvent<String>
Called when the platform needs a username for a given unique id.
Since:
5.3
  • Method Details

    • getUniqueId

      @NonNull UUID getUniqueId()
      Gets the unique id being looked up.
      Returns:
      the unique id
    • setUsername

      default void setUsername(@Nullable String username)
      Sets the result username.
      Parameters:
      username - the username