Described here is the layout of the servlist_.conf file as found in the profile directory. Note that the preferred method for editing this file is to modify the individual networks via the gui, rather than modifying the file by hand, but there are times when this is not applicable (for instance, when using xchat-text). Still, modifying the networks by XChat -> Network List and pressing Edit on a chosen network will result in fewer errors, and there are no hidden configurations in this list.
- v=
- This is the first line in servlist_.conf and is set to the version of XChat that saved the file. The value of this line doesn't matter when loading the file
After this, a new network is loaded every time the N= line is present and configuration changes will happen to this specified network until the next N=. If one of the parameters isn't used by the network (such as no list of channels to auto join) the line won't be in your servlist_.conf
- N=
- The name of the network, this should not contain a space in it
- I=
- The networks primary nick, only applies if the use global flag is unchecked (designated by * when this case applies again)
- i=
- The networks secondary nick*
- U=
- The networks user name*
- R=
- The networks Real Name*
- P=
- The server password for connecting
- J=
- List of channels and keys to auto join. The format should be #channel1,#channel2,#channel3,#channel4 pass1,,pass3
- B=
- Password supplied to nickserv
- E=
- The network encoding used for the server if it differs from the default
- C=
- There may be multiple lines for this. The parameter for this line is seen as the command to run when the connection has occurred. There should not be a preceding '/' to the command.
- F=
- Flags for the network, this is saved and loaded as an integer, but the actual value is a bit value, where different bits mean different things. The sum of this is what is stored as an integer
| Int | Bit mask | Meaning |
| 1 | 00000001 | This is the inverse of the "Connect to selected server only" check box, set on means that more than one server may be attempted |
| 2 | 00000010 | Use global information for nick, user name, and real name |
| 4 | 00000100 | This network uses SSL |
| 8 | 00001000 | This network auto connects on startup |
| 16 | 00010000 | If true, use a proxy that has been setup in XChat elsewhere, if false, ignore the proxy |
| 32 | 00100000 | If network allows invalid SSL certificates |
| 64 | 01000000 | This is used in xchat-aqua, and the SVN version of XChat, marked the network as "favorite" (cleans up the network list) |
- D=
- Which server in the server list for this network is selected
- S=
- There may be multiple lines for this. Each line designates a server and port combination that is a possibility to connect to when connecting to the network