added addOnce command
[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         "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)
27         
28         //ADMIN USER  This User is required to interact with the ZNC
29         "auser" => "admin",
30         "apass" => "bad-password",
31         
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)
35     ),
36     array(
37         "name" => "znc2",
38         "version" => 0.206, //Version of the ZNC instance 
39         "host" => "127.0.0.1",
40         "public" => "znc2.example.net",
41         "port" => 8001,
42         "sslport" => 8101,
43         "auser" => "admin",
44         "apass" => "bad-password",
45         "maxznc" => 50,
46         "priority" => 0,
47         "protected" => true,
48     ),
49 );
50
51 $add_settings = array(
52     "other" => array(
53         "multiclients" => "1",
54         "prependtimestamp" => "1",
55         "bufsize" => 100,
56         "quitmsg" => "Free ZNC by #Krypton - http://krypton-bouncer.de",
57         "realname" => "ZNC powered by #Krypton"
58     ),
59     "servers" => array(
60         "irc.onlinegamesnet.net 6667"
61     ),
62     "channel" => array(
63         "#Krypton"
64     ),
65     "mirccmds" => array(
66         "hosts" => array(
67             "free-bnc.de",
68             "krypton-bouncer.de"
69         ),
70         "groupname" => "KryptonZNC"
71     ),
72     "modules" => array(
73         "chansaver" => "",
74         "perform" => "",
75     ),
76         "netmodules" => array(
77                 "autocycle" => "",
78                 "awaynick" => "%nick%|ZNC",
79                 "simple_away" => "",
80                 "kickrejoin" => "",
81                 "keepnick" => "",
82         ),
83 );
84
85 ?>