PlayerManager

interface PlayerManager

Player manager

Functions

Link copied to clipboard
@Nullable
abstract fun player(@NotNull uuid: @NotNull UUID): @Nullable PlayerChannelHandler
Gets player channel handler
@NotNull
abstract fun player(@NotNull player: @NotNull Player): @NotNull PlayerChannelHandler
Get or creates channel handler Do not use this with fake player, instead use PlayerManager#player(UUID)