]> jfr.im git - irc/evilnet/x3.git/blobdiff - x3.conf.example
let admin setup regex to validate fakehosts
[irc/evilnet/x3.git] / x3.conf.example
index f49951348650649c8818e96feb6b4e4f64c53b9f..0d678e63406d6efedfdf19ccfa75fdd228f5fb3a 100644 (file)
      * x3 does not set the host suffix for users, but must know it when making
      * things like bans, where it should not show the user's real hostname. */
     "numeric" "51"; // hint: If you get collisions on link, CHANGE THIS.
-    "type" "4"; // Only change this to 5 if you are using Nefarious 0.5.0 off SVN
+    /* Type handles some changes in nefarious 1.0 (was 0.5.0)
+     * 4 - nefarious 0.4.x and other ircds
+     * 5 - nefarious 1.0.x and higher
+     */
+    "type" "5";
+    "host_in_topic" "1"; //Set to 1 if your Nefarious server have the HOST_IN_TOPIC F:line set to TRUE.
     "max_users" "256"; // You can save a little memory by setting this to a lower value.
     "force_n2k" "1"; // Use extended (5-digit) numnick for self, even if 3 are possible.
     "ping_freq" "60";
         "valid_account_regex" "^[-_a-z0-9A-Z]{2,15}$";
         "valid_nick_regex" "^[-_a-z][-_a-z0-9]*$";
 
+        // Whats a valid hostname look like for fakehosts?
+        "valid_fakehost_regex" "^[-_a-zA-Z0-9.]+$";
+
         // "Nickserv" networks, set this to 0. "Authserv" networks,
         // set it to 1.
         "disable_nicks" "1"; 
                 "size" "200";
                 "drain-rate" "3";
             };
+        // Min opserv level needed to set 'silent' glines in trace/addalert 
+        // (nefarious only)
+        "silent_level" "700";
     };
 
     "chanserv" {
 
 
     "spamserv" {
-        // You may disable this service by removing its "nick" config item.
-        "nick" "SpamServ";
+        // You may enable this service by removing the double slashes from the config
+        // item. To disable it again add the double slashes back.
+        // "nick" "SpamServ";
 
         // debug channel
         "debug_channel" "#operserv";
         "bot" "MemoServ";
         "message_expiry" "30d"; // age when messages are deleted; set
                                 // to 0 to disable message expiration
+        "limit" "30"; // Max amount of messages a person can get.
     };
 };