This page is intended for developers. If you're looking information on for how to link servers you should refer to the spanningtree module (v4 docs, v3 docs) page instead.

SERVER

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> <password> <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

[1205] Introduces a directly linked server::

SERVER irc.eu.example.com meowmeow 0 36D :European IRC server

[1206+] Introduces a directly linked server::

SERVER irc.eu.example.com meowmeow 36D :European IRC server

Introduces an indirectly linked server:

:36D SERVER irc.us.example.com 36E hidden=0 :American IRC server

History

1206

The <unused> field was removed. This was always set to 0 as a placeholder intended for a feature that was never implemented.