PlayerManager

interface PlayerManager

Manages player-specific data and network channels.

This manager is responsible for injecting and retrieving PlayerChannelHandler instances, which are essential for sending custom packets to players.

Since

1.15.2

Functions

Link copied to clipboard
@Nullable
abstract fun player(@NotNull uuid: @NotNull UUID): @Nullable PlayerChannelHandler
Retrieves the channel handler for a player by their UUID.
@NotNull
abstract fun player(@NotNull player: @NotNull PlatformPlayer): @NotNull PlayerChannelHandler
Gets or creates the channel handler for a player.