Tip of the day: To upgrade UnrealIRCd on *NIX simply run: ./unrealircd upgrade

Server protocol:NETINFO command

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

The NETINFO command is used to share your configuration settings with other servers. This way some things can be verified, for example that the cloak keys match on both ends.

Syntax:

NETINFO maxglobal currenttime protocolversion cloakhash 0 0 0 :networkname

Where:

  • maxglobal: the maximum number of clients ever seen (global), used for statistics.
  • currenttime: current unix time stamp.
  • protocolversion: see Server protocol:Protocol version.
  • cloakhash: a hash of the cloak keys used to verify that both servers have the same set of cloak keys. Pretty much all services coders will use * here instead.
  • networkname: the network name, as set in set::network-name.

Example:

NETINFO 0 12345678 2400 * 0 0 0 :SomeNet