UnrealIRCd files and directories

Two directories
In the article below we talk about two directories:
 * Source directory: this is the Unreal3.4.x directory you have extracting the .tar.gz, it's the one you compile from. This directory contains subdirectories called: src and include.
 * Installed directory: this is where you installed UnrealIRCd, the directory is often called /home/xxxxx/unrealircd. It has a conf subdirectory.

Installed UnrealIRCd directory structure
By default this is /home/xxxxx/unrealircd on *NIX and C:\Program Files (x86)\Unreal3.4 on Windows.


 * /: the main directory. Contains all subdirectories (see below) and the unrealircd script to start/stop UnrealIRCd.
 * conf/: for configuration files
 * unrealircd.conf: the 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.
 * aliases/: this directory contains all the aliases for services (eg: conf/aliases/anope.conf)
 * ssl: this sub-directory is used to store SSL-specific files
 * 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)
 * logs/: used to store log files
 * tmp/: temporary data
 * cache/: used to store cached remote includes (in case a the HTTP[S] server is down)
 * doc/: some documentation
 * bin/: the ircd binary is here, normally not accessed directly

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.

If you installed UnrealIRCd on Windows with the installer then you won't have this.