add_player
Adds a player to this channel and registers a player-local command alias.
Function
Synopsis
channel:add_player( player, alias, quiet )
Arguments
number or Object player- The player to add.
string alias- A player-local alias containing 1–5 printable ASCII characters without spaces.
boolean quiet- When
true, suppresses the channel-wide join announcement.
Returns
Nothing.
Raises
mux.unavailable.checkingduring@lua/check.mux.channel.invalidif the channel is stale.mux.object.invalidif the object reference is invalid or is not a player.mux.object.unavailableif the player is being destroyed.mux.arg.invalidif the alias is invalid or already in use, or ifquietis not a boolean.mux.internalif the alias collection cannot be expanded.
Notes
This trusted administrative operation bypasses the channel join lock. The alias is added to the player’s normal channel aliases and can be used for channel commands. A quiet join still sends the player the normal direct join and alias confirmations.
Adding another alias for an existing active member does not add another membership record or announce another join.