Interface NameResolveStrategy

All Known Implementing Classes:
NameElectroidAPIStrategy, NameInMemoryStrategy, NameMojangAPIStrategy, NameOnlinePlayerStrategy, NamePermissionPluginStrategy

public interface NameResolveStrategy
A strategy for converting player Unique IDs into their usernames.
  • Method Details

    • resolveUserName

      CompletableFuture<Optional<String>> resolveUserName(UUID uniqueId)
      Resove the player's username
      Parameters:
      uniqueId - the player's unique id
      Returns:
      a future which, when completed, will supply the player's username optionally, if it could be found.