UnrealIRCd files and directories

This article is under construction and will be changed soon after 3.4-alpha (?) (TODO)

Two directories
Many people have just one UnrealIRCd directory, namely the one containing src/ include/ and so on.

There are (sometimes) two UnrealIRCd directories:
 * The UnrealIRCd directory you compiled from which contains the source. This directory contains subdirectories called: src and include
 * The installed UnrealIRCd directory. This directory contains a lot less garbage and usually only a number of files. It normally never has a src subdirectory.

By default both directories are the same on UnrealIRCd 3.2.x, and currently still on 3.4.x at the time of writing this article. On Windows they are also the same directory.

Installed UnrealIRCd directory structure

 * /: your main UnrealIRCd directory
 * unrealircd.conf: this is your main configuration file
 * ircd.motd: the text in this file is shown when a user connects to your server or the /MOTD command is executed (MOTD = Message of the Day)
 * ircd.smotd: if this file exists then the contents of this file are shown instead upon connection and the user can use /MOTD to see the (usually longer) MOTD from above.
 * oper.motd: the contents of this file are shown when someone becomes IRCOp (via /OPER..) or the /OPERMOTD command is executed.
 * bot.motd: the contents of this file are shown when someone becomes a bot (by using /MODE yournick +B) or the /BOTMOTD command is executed.
 * server.cert.pem: the SSL certificate for this server
 * server.key.pem: the private SSL key (must be kept secret!)
 * curl-ca-bundle.crt: list of trusted issuers of SSL certificates (shipped by UnrealIRCd, normally left untouched)
 * modules/: this directory contains all the modules (*.so or *.dll files)
 * aliases/: this directory contains all the aliases for services (eg: aliases/anope.conf)

UnrealIRCd source directory
This is the directory containing src/, include/, extras/, autoconf/ and so on. It is normally only used for compiling UnrealIRCd and any 3rd party modules.