]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - doc/reference.conf
Change the filenames of the generated SSL key/cert to ssl.* instead of test.* so...
[irc/rqf/shadowircd.git] / doc / reference.conf
index f77e60c736f2a397dacccba884b1a81920ef8c66..25f07ab4125686ca569fb883af70ced2cae3d8c8 100755 (executable)
@@ -4,7 +4,7 @@
  * Copyright (C) 2002-2005 ircd-ratbox development team
  * Copyright (C) 2005-2006 charybdis development team
  *
- * Written by ejb, wcampbel, db, leeh and others
+ * Written by ejb, wcampbel, db, leeh, Taros, jdhore and others
  *
  * $Id: reference.conf 3582 2007-11-17 21:55:48Z jilles $
  */
@@ -115,31 +115,6 @@ loadmodule "extensions/sno_globalkline.so";
 loadmodule "extensions/sno_globaloper.so";
 #loadmodule "extensions/sno_whois.so";
 
-/* modesets: Modesets are modules that enable various user and channel
- * modes. When enabled, they enable usermodes and channel modes equivalent
- * to the named ircd. This is useful for linking to other TS6 IRCds. 
- * If you do not know what this does or do not know if you need it
- * then you should just load modes/shadowircd.so for full functionality.
- * Without any modeset loaded, you will only have the modes that are included
- * in ircd-ratbox. Unloading a modeset while the ircd is running is possible,
- * but will be confusing for users, as it will leave all existent unloaded
- * modes in place without users being able to remove them. Said modes will, 
- * however, not function. You should be able to load a module that provides 
- * more modes than your current (say, going from charybdis to shadowircd) 
- * on the fly without any problems. The slight exception to this is unloading
- * a module that provides quiets (cmode +q). Users affected by quiets will
- * have to part and rejoin the channel before the quiet will cease affecting
- * them. In addition, unloaded modes will remain in the IRCd's VERSION reply
- * until restart. For these reasons, it is highly recommended to restart if you wish
- * to change modeset.
- * Modesets currently only affect cmodes. 
- * You should only load one of these at a time.
- * Modules are listed in order of highest functionality to least,
- * while no module provides the least functionality of all. */
-loadmodule "modes/shadowircd.so";
-#loadmodule "modes/charybdis.so";
-
  
 /* serverinfo {}:  Contains information about the server. (OLD M:) */
 serverinfo {
@@ -189,10 +164,10 @@ serverinfo {
        #vhost6 = "3ffe:80e8:546::2";
        
        /* ssl_private_key: our ssl private key */
-       ssl_private_key = "etc/test.key";
+       ssl_private_key = "etc/ssl.key";
 
        /* ssl_cert: certificate for our ssl server */
-       ssl_cert = "etc/test.cert";
+       ssl_cert = "etc/ssl.cert";
 
        /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */
        ssl_dh_params = "etc/dh.pem";
@@ -415,20 +390,20 @@ auth {
 
 /* Example WEBIRC authblock */
 auth {
-    /* user: webirc@IP.OF.YOUR.WEBIRC . the webirc@ part is required */
-    user = "webirc@192.168.1.1";
-
-    /* password: password the webirc client sends in the WEBIRC command.
-     * You can use a encrypted password here (see above auth block).
-     */
-    password = "<password>";
-
-    /* spoof: This is required to keep it what it is currently if you
-     * want the webirc client to show the users' real host as their
-     * host on IRC.
-     */
-    spoof = "webirc.";
-    class = "users";
+       /* user: webirc@IP.OF.YOUR.WEBIRC . the webirc@ part is required */
+       user = "webirc@192.168.1.1";
+
+       /* password: password the webirc client sends in the WEBIRC command.
+       * You can use a encrypted password here (see above auth block).
+       */
+       password = "<password>";
+
+       /* spoof: This is required to keep it what it is currently if you
+       * want the webirc client to show the users' real host as their
+       * host on IRC.
+       */
+       spoof = "webirc.";
+       class = "users";
 };
 
 auth {
@@ -765,11 +740,27 @@ exempt {
 
 /* The channel block contains options pertaining to channels */
 channel {
+       /* disabledmodes: Modes that will be disabled, users will not be
+        * able to set them. This is only read on startup, you need to 
+        * restart the ircd for this to have any effect. This only prevents 
+        * local users/opers from setting these modes. This does not prevent 
+        * remote servers/users (ex: services) from setting them. Make sure 
+        * your services and remote servers are properly configured when 
+        * using this option!
+        * Valid parameters are: CLPFQITDENGJKMrczgqefj
+        */
+       #disabledmodes = "ME";
+
        /* autochanmodes: Modes that will be set on a unregistered channel
         * when the first user joins it.
         */
        autochanmodes = "nt";
 
+       /* admin_on_channel_create: If set to yes, users joining new channels
+        * will be given +ao instead of just +o. Requires use_admin.
+        */
+       admin_on_channel_create = no;
+
        /* exemptchanops: Channel modes that any form of channel ops (+aoh) 
         * will be exempt from. Even if the mode is set, it will not apply to the
         * channel ops if it is listed in this option. Valid modes are cCDTNGK.
@@ -796,22 +787,6 @@ channel {
         */
        use_admin = yes;
 
-       /* invex: Enable/disable channel mode +I, a n!u@h list of masks
-        * that can join a +i channel without an invite. Disabling this option
-        * via rehash will leave all previously set invexes hanging around,
-        * though they will not do anything. For this reason, you may want to
-        * restart to disable this option.
-        */
-       use_invex = yes;
-
-       /* except: Enable/disable channel mode +e, a n!u@h list of masks
-        * that can join a channel through a ban (+b). Disabling this option
-        * via rehash will leave all previously set excepts hanging around,
-        * though they will not do anything. For this reason, you may want to
-        * restart to disable this option.
-        */
-       use_except = yes;
-
        /* knock: Allows users to request an invite to a channel that
         * is locked somehow (+ikl).  If the channel is +p or you are banned
         * the knock will not be sent.
@@ -909,6 +884,12 @@ channel {
         * when a RESV is issued.
         */
        resv_forcepart = yes;
+
+       /* channel target change: restrict how many channels users can
+        * message per unit of time. IRC operators, channel operators and
+        * voiced users are exempt.
+        */
+       channel_target_change = yes;
 };
 
 
@@ -916,7 +897,7 @@ channel {
 serverhide {
        /* flatten links: this option will hide various routing information
         * and make all servers in /links appear that they are linked to
-        * this server.
+        * this server. This option also disallows non-opers from using /map
         */
        flatten_links = no;
 
@@ -1013,6 +994,10 @@ alias "InfoServ" {
        target = "InfoServ";
 };
 
+alias "GroupServ" {
+       target = "GroupServ";
+};
+
 alias "NS" {
        target = "NickServ";
 };
@@ -1041,6 +1026,10 @@ alias "IS" {
        target = "InfoServ";
 };
 
+alias "GS" {
+       target = "GroupServ";
+};
+
 /* The general block contains many of the options that were once compiled
  * in options in config.h.  The general block is read at start time.
  */
@@ -1108,6 +1097,12 @@ general {
         */
        disable_fake_channels = no;
 
+       /* hide_channel_below_users: Amount of users a channel must have in it
+        * before it is shown in a standard LIST. This can be overridden by
+        * invoking LIST like: /LIST <3
+        */
+       hide_channel_below_users = 3;
+
         /* tkline_expire_notices: give a notice to opers when a tkline
          * expires
          */