2 /* config.example.php - example configuration - ZNCAdmin
3 * Copyright (C) 2011-2012 Philipp Kreil (pk910)
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 "name" => "znc1", //name of the Server (is shown in whois and used to identify multiple used usernames)
22 "version" => 1.000, //Version of the ZNC instance
23 "host" => "127.0.0.1", //host to connect to (is not shown to the user)
24 "public" => "znc1.example.net", //Public address used in the add reply
25 "port" => 8000, //NORMAL ZNC Port
26 "sslport" => 8100, //SSL Port (only shown in the add reply)
28 //ADMIN USER This User is required to interact with the ZNC
30 "apass" => "bad-password",
32 "maxznc" => 0, //Maximum ZNC's that can be created on this Server
33 "priority" => 0, //ADD priority
34 "protected" => false, //Protect Server from "normal" commands (require admin commands with the force parameter)
38 "version" => 0.206, //Version of the ZNC instance
39 "host" => "127.0.0.1",
40 "public" => "znc2.example.net",
44 "apass" => "bad-password",
51 $add_settings = array(
53 "multiclients" => "1",
54 "prependtimestamp" => "1",
56 "quitmsg" => "Free ZNC by #Krypton - http://krypton-bouncer.de",
57 "realname" => "ZNC powered by #Krypton"
60 "irc.onlinegamesnet.net 6667"
70 "groupname" => "KryptonZNC"
74 "awaynick" => "%nick%|ZNC",