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 "host" => "127.0.0.1", //host to connect to (is not shown to the user)
23 "public" => "znc1.example.net", //Public address used in the add reply
24 "port" => 8000, //NORMAL ZNC Port
25 "sslport" => 8100, //SSL Port (only shown in the add reply)
27 //ADMIN USER This User is required to interact with the ZNC
29 "apass" => "bad-password",
31 "maxznc" => 0, //Maximum ZNC's that can be created on this Server
32 "priority" => 0, //ADD priority
33 "protected" => false, //Protect Server from "normal" commands (require admin commands with the force parameter)
37 "host" => "127.0.0.1",
38 "public" => "znc2.example.net",
42 "apass" => "bad-password",
49 $add_settings = array(
51 "multiclients" => "1",
52 "prependtimestamp" => "1",
54 "quitmsg" => "Free ZNC by #Krypton - http://krypton-bouncer.de",
55 "realname" => "ZNC powered by #Krypton"
58 "irc.onlinegamesnet.net 6667"
62 "awaynick" => "%nick%|ZNC",