ChannelManager
Functions
Creates a new channel.
Retrieves all channels.
Retrieves a channel by its ID.
Retrieves members of a channel.
Gets the active channel of a player.
Gets the full channel context (channel and members) of a player's active channel.
Retrieves all public channels.
Initializes the ChannelManager by loading data from storage.
Checks if a player is banned from a channel.
Removes a member from a channel.
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.
Saves the current state of channels and members to storage synchronously. Should only br called during server shutdown.
Sets the active channel of a player.
Unbans a player from a channel.
Updates the channel owner.
Updates a member's role in a channel.