added addOnce command
[ZNCAdmin.git] / config.example.php
index 0e76bc529f60985928041ad8d06977b5e4086f46..207e720c75fa214d7cb88269febd5aed0324f124 100644 (file)
@@ -19,6 +19,7 @@
 $zncservers = array(
     array(
         "name" => "znc1", //name of the Server (is shown in whois and used to identify multiple used usernames)
+        "version" => 1.000, //Version of the ZNC instance 
         "host" => "127.0.0.1", //host to connect to (is not shown to the user)
         "public" => "znc1.example.net", //Public address used in the add reply
         "port" => 8000, //NORMAL ZNC Port
@@ -34,6 +35,7 @@ $zncservers = array(
     ),
     array(
         "name" => "znc2",
+        "version" => 0.206, //Version of the ZNC instance 
         "host" => "127.0.0.1",
         "public" => "znc2.example.net",
         "port" => 8001,
@@ -57,14 +59,27 @@ $add_settings = array(
     "servers" => array(
         "irc.onlinegamesnet.net 6667"
     ),
+    "channel" => array(
+        "#Krypton"
+    ),
+    "mirccmds" => array(
+        "hosts" => array(
+            "free-bnc.de",
+            "krypton-bouncer.de"
+        ),
+        "groupname" => "KryptonZNC"
+    ),
     "modules" => array(
-        "autocycle" => "",
-        "awaynick" => "%nick%|ZNC",
         "chansaver" => "",
-        "kickrejoin" => "",
         "perform" => "",
-        "simple_away" => ""
-    )
+    ),
+       "netmodules" => array(
+               "autocycle" => "",
+               "awaynick" => "%nick%|ZNC",
+               "simple_away" => "",
+               "kickrejoin" => "",
+               "keepnick" => "",
+       ),
 );
 
 ?>
\ No newline at end of file