Interface ProfileResolver
public interface ProfileResolver
Looks up player names and uuids, both from the running server and from Mojang.
-
Method Summary
Modifier and TypeMethodDescription@NonNull StringresolveName(FEntity entity) The display name of an entity, falling back to its type for anything that is not a player.@NonNull UUIDresolveOfflineUUID(String name) The offline-mode id a server derives from a name, without contacting Mojang.@NonNull StringresolveOnlineName(@NonNull UUID uuid) The name registered with Mojang for a uuid.@Nullable UUIDresolveOnlineUUID(@NonNull String name) The Mojang account id for a name.
-
Method Details
-
resolveName
-
resolveOnlineName
-
resolveOnlineUUID
-
resolveOfflineUUID
-