added stats module for neonserv.krypton-bouncer.de stats
[NeonServV5.git] / neonserv.example.conf
index a6b3a6101ee841907f54ee84a07d04323ed1754f..ba99ed7cdfe76df97dc6f798f116c1cac2488486 100644 (file)
@@ -9,7 +9,23 @@
     "pass" = "password";
     "base" = "neonserv";
 };
+"statistics" {
+    "enable" = 0;
+    "frequency" = 5; //minutes
+    "include_lusers" = 1; //general network statistics
+    "execute" = "php scripts/statistic.php";
+    /* parameters:
+     - visible users
+     - visible chanusers
+     - visible channels
+     - privmsg per minute
+     - commands per minute
+     - network users
+     - network channels
+    */
+};
 "General" {
+    "worker_threads" = 5; //threads
     "alertchan" = "";
     "have_halfop" = 0;
     "CheckAuths" {
     };
 };
 "QServer" {
-    "enabled" = 1;
+    "enabled" = 0;
     "port" = 7499;
     "pass" = "blaa";
-};
\ No newline at end of file
+};
+"log" { //neonserv.log
+    /*
+     1 - INFO
+     2 - ERROR
+     4 - RAW
+     8 - MYSQL
+    */
+    "loglevel" = 3;
+};
+"modules" {
+    "libglobalcmd" {
+        "enabled" = 1;
+        "protected" = 1; //may not be unloaded
+    };
+    "libDummyServ" {
+        "enabled" = 1;
+        "protected" = 0;
+    };
+    "libfuncmds" {
+        "enabled" = 1;
+        "protected" = 0;
+    };
+    "libNeonHelp" {
+        "enabled" = 1;
+        "protected" = 0;
+    };
+    "libNeonServ" {
+        "enabled" = 1;
+        "protected" = 0;
+    };
+    "libNeonSpam" {
+        "enabled" = 1;
+        "protected" = 0;
+    };
+    "libstats" {
+        "enabled" = 1;
+        "protected" = 0;
+        "hide_networkname" = 0;
+        "hide_botnick" = 0;
+        "hide_chancount" = 0;
+        "hide_usercount" = 0;
+    };
+};
+