InspIRCd Spanning Tree 1.2/Commands
From the makers of InspIRCd.
| Development Material - Information posted here is for developer reference only. This material is subject to possible change and will be technical in nature. |
Commands
This section documents all valid server to server commands which are specific to InspIRCd. Most commands are similar or identical to RFC 1459 to make adding support to other programs (such as services packages) straightforward. Where commands are not documented here, they are transmitted across the spanning tree in standard form, replacing nicknames with UUIDs and server names with SIDs:
:<uuid> COMMAND <parameters>
For example:
:497AAAAAB PRIVMSG #chatspike :Moo moo!
or,
:497AAATXV MODE #chatspike +ov 497AAAAAB 497AAAAAB
Where commands are part of the RFC (RFC 1459, RFC 2812), but their behaviour or their syntax is different, the commands are documented here in their InspIRCd form.
Modular Commands
Modular commands are ones implemented in separate modules, rather than in m_spanningtree.so. Click below for more information on these commands.
Built-in Commands
The commands below are implemented in m_spanningtree.so. Click the command for more information about it.
- ADDLINE - Add an XLine
- BURST - Begin a network burst (Heal)
- CAPAB - Negotiate CAPABilities
- DELLINE - Delete an XLine
- ENCAP - Send encapsulated arbitrary commands and requests from one location to another
- ENDBURST - End a network burst (Heal)
- FHOST - Send notification of a change to a local user's host
- FJOIN - Introduce clients to a channel, avoiding race conditions
- FMODE - Change a mode on a channel, avoiding race conditions
- FNAME - Send notification of a change to a local user's GECOS
- FTOPIC - Change a topic for a channel and specify the setter of the topic
- IDLE - Request, or reply containing a user's idle and signon times for WHOIS
- JOIN - Legacy introduction of clients to a channel
- METADATA - Attach metadata to a user, server or channel
- MODE - Legacy channel mode change, or user mode change
- MODENOTICE - Send a notice to all users matching a mode mask
- MODULES - Request or reply with server's MODULES list
- NICK - Change a client's nickname, avoiding race conditions
- OPERQUIT - Set the oper-only QUIT message for a client
- OPERTYPE - Set the oper type for a client (Oper-Up)
- PING - Check liveness of a local or remotely connected server
- PUSH - Send client protocol lines directly to a client
- REHASH - Handle or initiate rehashes
- RSQUIT - Handle or initiate remote SQUIT commands
- SERVER - Introduce local and remote servers
- SNONOTICE - Send a notice to all users matching a server notice mask
- SQUIT - Handle or initiate a local SQUIT command
- SVSHOLD - Hold a nickname against malicious or accidental use
- SVSJOIN - Force a client to join one or more channels
- SVSMODE - Force a mode change upon a user or channel
- SVSNICK - Force a nickname change (or change to UID) on a client
- SVSPART - Force a client to part one or more channels
- TIME - Request or provide server local time information
- UID - Introduce a new client, avoiding race conditions
- USER - Obsolete user introduction, not part of InspIRCd
- VERSION - Send server version string

















