restorePlayerChannel

Restores the active channel of a player based on their channel membership. If the player is a member of multiple channels, the most recently joined one is selected.

Return

The restored ChannelContext, or null if the player is not a member of any channel.

Parameters

playerId

The UUID of the player.