setPlayerChannel

fun setPlayerChannel(playerId: UUID, channelId: String?)(source)

Sets the active channel of a player.

Parameters

playerId

The UUID of the player.

channelId

The ID of the channel to set as active, or null to clear the active channel.