Merge branch 'ZNCv1' into MixedVersions
[ZNCAdmin.git] / config.example.php
1 <?php
2 /* config.example.php - example configuration - ZNCAdmin
3  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
4  * 
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.
9  * 
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.
14  * 
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/>. 
17  */
18
19 $zncservers = array(
20     array(
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)
26         
27         //ADMIN USER  This User is required to interact with the ZNC
28         "auser" => "admin",
29         "apass" => "bad-password",
30         
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)
34     ),
35     array(
36         "name" => "znc2",
37         "host" => "127.0.0.1",
38         "public" => "znc2.example.net",
39         "port" => 8001,
40         "sslport" => 8101,
41         "auser" => "admin",
42         "apass" => "bad-password",
43         "maxznc" => 50,
44         "priority" => 0,
45         "protected" => true,
46     ),
47 );
48
49 $add_settings = array(
50     "other" => array(
51         "multiclients" => "1",
52         "prependtimestamp" => "1",
53         "bufsize" => 100,
54         "quitmsg" => "Free ZNC by #Krypton - http://krypton-bouncer.de",
55         "realname" => "ZNC powered by #Krypton"
56     ),
57     "servers" => array(
58         "irc.onlinegamesnet.net 6667"
59     ),
60     "channel" => array(
61         "#Krypton"
62     ),
63     "mirccmds" => array(
64         "hosts" => array(
65             "free-bnc.de",
66             "krypton-bouncer.de"
67         ),
68         "groupname" => "KryptonZNC"
69     ),
70     "modules" => array(
71         "autocycle" => "",
72         "awaynick" => "%nick%|ZNC",
73         "chansaver" => "",
74         "kickrejoin" => "",
75         "perform" => "",
76         "simple_away" => ""
77     )
78 );
79
80 ?>