added new auth-check security feature
[NeonServV5.git] / neonserv.example.conf
index abb149d5338bcf56cd356d69a40233273fa74369..a6b3a6101ee841907f54ee84a07d04323ed1754f 100644 (file)
@@ -3,7 +3,7 @@
 */
 
 "MySQL" {
-    "host" = "127.0.0.1 ";
+    "host" = "127.0.0.1";
     "port" = 3306;
     "user" = "neonserv";
     "pass" = "password";
 "General" {
     "alertchan" = "";
     "have_halfop" = 0;
+    "CheckAuths" {
+        "enabled" = 1;
+        "start_time" = 3; //24h format
+        "duration" = 180; //minutes
+        "interval" = 2; //seconds
+        "min_unckecked" = 172800; //check auth only if unchecked for x seconds
+        //180 miutes, every 2 seconds: 5400 auth checks
+        "alertchan" = "#krypton.intern";
+    };
+};
+"QServer" {
+    "enabled" = 1;
+    "port" = 7499;
+    "pass" = "blaa";
 };
\ No newline at end of file