mux.comsys

mux.comsys is the trusted communication-channel API. It operates directly on the live channel registry as God; changes take effect immediately and are not rolled back if the Lua callback later fails. Existing @chan/* commands retain their normal Wizard checks and player-facing output.

All functions are unavailable during @lua/check. Unknown or stale channels raise mux.channel.invalid. A Channel handle stays stale after destruction even if another channel is created with the same name.

Namespaces

TypeDescription
ChannelA validated handle for a live communication channel.
ChannelFlagsReads and changes a channel’s administrative flags.

Functions

FunctionDescription
channelRetrieves an existing channel by name.
create_channelCreates a private channel.
destroy_channelPermanently removes a channel.
list_channelsLists channels in deterministic name order.

Constants

Constants packageDescription
flagsTyped constants for native channel flags.