]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - doc/reference.conf
Move flood_attack_channel to channel.c so it can be used outside m_message.c
[irc/rqf/shadowircd.git] / doc / reference.conf
index bbb2b26be24539bed2932dac5f6f42665bfc5310..539ee69292770e8320fcd6598fdedc40d7df044d 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 $
  */
@@ -74,6 +74,7 @@
  * /olist - see all channels in /list, oper only     -- m_olist.so
  * /okick - kick users without having ops, oper only -- m_okick.so
  * /forcejoin - force join users, admin only         -- m_force.so
+ * roleplay commands - send msgs from fake users     -- m_roleplay.so
  * Opers cannot be invisible (umode +i)              -- no_oper_invis.so
  * Far connection notices (snomask +F)               -- sno_farconnect.so
  * Remote k/d/x line active notices                  -- sno_globalkline.so
@@ -109,6 +110,7 @@ loadmodule "extensions/m_webirc.so";
 #loadmodule "extensions/m_olist.so";
 #loadmodule "extensions/m_okick.so";
 #loadmodule "extensions/m_force.so";
+#loadmodule "extensions/m_roleplay.so";
 #loadmodule "extensions/no_oper_invis.so";
 loadmodule "extensions/sno_farconnect.so";
 loadmodule "extensions/sno_globalkline.so";
@@ -164,10 +166,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";
@@ -340,6 +342,15 @@ auth {
        user = "*@172.16.0.0/12";
        user = "*test@123D:B567:*";
 
+       /* auth_user: The username (authenticated via SASL or PASS) allowed
+        * to connect. You are able to put multiple auth_user lines. If people
+        * are authenticating via SASL in this way, it is recommended to comment
+        * out the password option below. You will also *NEED* to specify a user
+        * line above auth_user, this can safely be "*@*", however.
+        */
+       auth_user = "jilles";
+       auth_user = "jdhore";
+
        /* password: an optional password that is required to use this block.
         * By default this is not encrypted, specify the flag "encrypted" in
         * flags = ...; below if it is.
@@ -390,20 +401,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 {
@@ -740,11 +751,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.
@@ -771,30 +798,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;
-
-       /* forward: Enable/disable channel mode +f, which allows you to set 
-        * a channel to forward users to if they can't join because of +i etc.
-        * Disabling this option via rehash will leave all previously set 
-        * forwards hanging around, though they will not do anything. For 
-        * this reason, you may want to restart to disable this option.
-        */
-       use_forward = 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.
@@ -821,7 +824,7 @@ channel {
        max_chans_per_user = 15;
 
         /* max bans: maximum number of +b/e/I/q modes in a channel */
-        max_bans = 25;
+        max_bans = 100;
 
         /* max bans: maximum number of +b/e/I/q modes in a +L channel */
         max_bans_large = 500;
@@ -892,6 +895,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;
 };
 
 
@@ -899,7 +908,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;
 
@@ -996,6 +1005,10 @@ alias "InfoServ" {
        target = "InfoServ";
 };
 
+alias "GroupServ" {
+       target = "GroupServ";
+};
+
 alias "NS" {
        target = "NickServ";
 };
@@ -1024,6 +1037,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.
  */
@@ -1091,6 +1108,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
          */