added new auth-check security feature
[NeonServV5.git] / neonserv.example.conf
index b0321641012c8b992ecf5a1f001d5caf921c4e0b..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;