SERVER
This page is intended for developers. If you're looking information on for how to link servers you should refer to the spanningtree module page instead.
Documentation of the server protocol is still work in progress. It may be incomplete or inaccurate.
Introduces a server to the network.
Connection Phases
This message can be used in the following connection phases:
Connection Phase | Usable? |
---|---|
Connecting outbound | ✔️ |
Authenticating outbound | ✔️ |
Authenticating inbound | ✔️ |
Fully connected | ✔️ |
Syntax
[:<sid>] SERVER <server-name> <password> <unused> <newsid> :<description>
[:<sid>] SERVER <server-name> <newsid> [<data>]+ :<description>
Parameter | Description |
---|---|
<server-name> | The unique hostname of the new server. |
<password> | The password used to authenticate against the new server. |
<newsid> | The unique server identifier of the new server. |
<description> | A description of the new server. |
<data> | One or more key=value pairs which represent the state of a remote server. |
If provided the data fields can be set to one of the following values:
Name | Example | Description |
---|---|---|
burst=<ts> | burst=1234567890 | The time at which the remote server started bursting measured in the number of milliseconds since the UNIX epoch. |
hidden=0|1 | hidden=1 | Whether the remote server should be hidden from /MAP. |
Example Usage
Introduces a directly linked server::
SERVER irc.eu.example.com meowmeow 0 36D :European IRC server
Introduces an indirectly linked server:
:36D SERVER irc.us.example.com 36E hidden=0 :American IRC server