Interface UniqueIdLookupEvent

All Superinterfaces:
LuckPermsEvent, ResultEvent<UUID>

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

    • getUsername

      @NonNull String getUsername()
      Gets the username being looked up.
      Returns:
      the username
    • setUniqueId

      default void setUniqueId(@Nullable UUID uniqueId)
      Sets the result unique id.
      Parameters:
      uniqueId - the unique id