ModOfflinePlayer

Represents a Mod offline player wrapped as a PlatformOfflinePlayer.

Since

2.0.0

Parameters

uuid

the player UUID

name

the player name, or null if unknown

Constructors

Link copied to clipboard
@ApiStatus.Internal
constructor(@NotNull uuid: @NotNull UUID, @Nullable name: @Nullable String)

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun name(): @Nullable String
Link copied to clipboard
@NotNull
open fun of(@NotNull uuid: @NotNull UUID, @Nullable name: @Nullable String): @NotNull ModOfflinePlayer
Creates a ModOfflinePlayer from the UUID and name.
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
abstract fun uuid(): @NotNull UUID