Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- return array(
- // (string) Hostname of the server. Must be a valid domain name, doens't
- // have to exist though. You might want to have it acutally resolve to
- // the server IP. This is used in the onconnect greet, server notices,
- // /links, /map, /who, etc.
- //
- // Examples: zeus.devnode.org
- // card.freenode.net
- // irc.hackthissite.org
- // localhost. (xD)
- //
- 'hostname' => 'localhost.',
- // (string) Name of the network. Should be global accross a network
- // (once php-ircd links). Make it short and sweet! Can't have spaces.
- //
- // Examples: DevNet
- // DevNode
- // Freenode
- // HackThisSite
- // Localhost
- //
- 'servname' => 'LocalNet',
- // (string)
- // IP to bind IRC server to
- //
- 'bindaddr' => '0.0.0.0',
- // (integer) TCP/IP port that will be listened on for incoming clients.
- //
- // Range: Any TCP/IP port (1-51something)
- // Default: 6667 (Standard)
- //
- 'bindport' => 6667,
- // (integer) Maximum packet length, in bytes. 512 is the standard.
- //
- 'maxlen' => 512,
- // (integer) Maximum amount of users that can be connected to the IRCd
- // at ay time. When links work, this will only be local client but will
- // include server links.
- //
- // Prefered range: 10-100
- // Default: 25
- //
- 'maxuser' => 25,
- // (string) MOTD (Message of the Day). Shown to everyone when they
- // connect and/or use the /motd command.
- //
- 'motd' => "THIS IS THE MESSAGE OF THE DAY!
- Welcome to my PHP IRCd test server!
- #help is the main channel on here!",
- // ((string,string)[]) O:Lines
- // O:Lines define opers. You oper with /oper <username> <password>
- // (without the < and >, of course). You may deifne multiple O:Lines.
- //
- // Definition syntax:
- // array('username' => 'password', 'username2', => 'password2')
- //
- 'opers' => array('Nick1', 'password')
- );
Advertisement
Add Comment
Please, Sign In to add comment