]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/modules.conf.example
Add missing docs, thanks KT.
[user/henk/code/inspircd.git] / conf / modules.conf.example
1 #-#-#-#-#-#-#-#-#-#-#-#-#-  MODULE OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
2 #                                                                     #
3 #  These tags define which modules will be loaded on startup by your  #
4 #  server. Add modules without any paths. When you make your ircd     #
5 #  using the 'make' command, all compiled modules will be moved into  #
6 #  the folder you specified when you ran ./configure. The module tag  #
7 #  automatically looks for modules in this location.                  #
8 #  If you attempt to load a module outside of this location, either   #
9 #  in the config, or via /LOADMODULE, you will receive an error.      #
10 #                                                                     #
11 #  By default, ALL modules are commented out. You must uncomment them #
12 #  or add lines to your config to load modules. Please refer to       #
13 #  http://www.inspircd.org/wiki/Modules_List for a list of modules and#
14 #  each modules link for any additional conf tags they require.       #
15 #                                                                     #
16 #  You may use wildcards in a <module> tag to load all modules which  #
17 #  match a glob pattern (e.g. m_sa????.so would load m_sajoin,        #
18 #  m_sapart, m_saquit and m_sanick)                                   #
19 #                                                                     #
20 #    ____                _   _____ _     _       ____  _ _   _        #
21 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
22 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
23 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
24 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
25 #                                                                     #
26 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
27 # module. Since several features (like SSL server links) rely on      #
28 # other modules being loaded before m_spanningtree, the module itself #
29 # is at the bottom of this file. DO NOT forget to load it. If you DO  #
30 # NOT do this, server links will NOT work at all. ie. The ports will  #
31 # NOT bind, and /connect will not work properly. This is by design,   #
32 # to allow for the implementation of other linking protocols in       #
33 # modules in the future.                                              #
34 #                                                                     #
35
36 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
37 # MD5 Module - Allows other modules to generate MD5 hashes, usually for
38 # cryptographic uses and security.
39 #
40 # IMPORTANT:
41 # Other modules such as m_cloaking.so and m_password_hash.so may rely on
42 # this module being loaded to function.
43 #
44 #<module name="m_md5.so">
45 #
46 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
47 # SHA256 Module - Allows other modules to generate SHA256 hashes,
48 # usually for cryptographic uses and security.
49 #
50 # IMPORTANT:
51 # Other modules such as m_password_hash.so may rely on this module being
52 # loaded to function. Certain modules such as m_spanningtree.so will
53 # function without this module but when it is loaded their features will
54 # be enhanced (for example the addition of HMAC authentication).
55 #
56 #<module name="m_sha256.so">
57 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
58 # RIPEMD160 Module - Allows other modules to generate RIPEMD160 hashes,
59 # usually for cryptographic uses and security.
60
61 # IMPORTANT:
62 # Other modules may rely on this module being loaded to function.
63 #<module name="m_ripemd160.so">
64
65 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
66 # Abbreviation module: Provides the ability to abbreviate commands a-la 
67 # BBC BASIC keywords.
68 #<module name="m_abbreviation.so">
69
70 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
71 # Alias module: Allows you to define server-side command aliases
72 #<module name="m_alias.so">
73 #
74 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
75 #                                                                     #
76 # If you have the m_alias.so module loaded, you may also define       #
77 # aliases as shown below. They are commonly used to provide shortcut  #
78 # commands to services, however they are not limited to just this use.#
79 # An alias tag requires the following values to be defined in it:     #
80 #                                                                     #
81 # text        -      The text to detect as the actual command line,   #
82 #                    Cant contain spaces, but case insensitive.       #
83 #                    You may have multiple aliases with the same      #
84 #                    command name (text="" value), however the first  #
85 #                    found will be executed if its format value is    #
86 #                    matched, or it has no format value. Aliases are  #
87 #                    read from the top of the file to the bottom.     #
88 #                                                                     #
89 # format      -      If this is defined, the parameters of the alias  #
90 #                    must match this glob pattern. For example if you #
91 #                    want the first parameter to start with a # for   #
92 #                    the alias to be executed, set format="#*" in the #
93 #                    alias definition. Note that the :'s which are    #
94 #                    part of IRC formatted lines will be preserved    #
95 #                    for matching of this text. This value is         #
96 #                    optional.                                        #
97 #                                                                     #
98 # replace     -      The text to replace 'text' with. Usually this    #
99 #                    will be "PRIVMSG ServiceName :$2-" or similar.   #
100 #                    You may use the variables $1 through $9 in the   #
101 #                    replace string, which refer to the first through #
102 #                    ninth word in the original string typed by the   #
103 #                    user. You may also use $1- through $9- which     #
104 #                    refer to the first word onwards, through to the  #
105 #                    ninth word onwards, e.g. if the user types the   #
106 #                    command "foo bar baz qux quz" then $3- will hold #
107 #                    "baz qux quz" and $2 will contain "bar". You may #
108 #                    also use the special variables: $nick, $ident,   #
109 #                    $host and $vhost, and you may separate multiple  #
110 #                    commands with \n. If you wish to use the ACTUAL  #
111 #                    characters \ and n together in a line, you must  #
112 #                    use the sequence "\\n".                          #
113 #                                                                     #
114 # requires    -      If you provide a value for 'requires' this means #
115 #                    the given nickname MUST be online for the alias  #
116 #                    to successfully trigger. If they are not, then   #
117 #                    the user receives a 'no such nick' 401 numeric.  #
118 #                                                                     #
119 # uline       -      Defining this value with 'yes', 'true' or '1'    #
120 #                    will ensure that the user given in 'requires'    #
121 #                    must also be on a u-lined server, as well as     #
122 #                    actually being on the network. If the user is    #
123 #                    online, but not on a u-lined server, then an     #
124 #                    oper-alert is sent out as this is possibly signs #
125 #                    of a user trying to impersonate a service.       #
126 #                                                                     #
127 # operonly    -      Defining this value, with a value of 'yes', '1'  #
128 #                    or true will make the alias oper only. If a non- #
129 #                    oper attempts to use the alias, it will appear   #
130 #                    to not exist.                                    #
131 #                                                                     #
132 #<alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
133 #<alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
134 #<alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
135 #<alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
136 #<alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
137 #<alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
138 #
139 # An example of using the format value to create an alias with two
140 # different behaviours depending on the format of the parameters.
141 #
142 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
143 #  requires="ChanServ" uline="yes">
144 #
145 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
146 #  requires="NickServ" uline="yes">
147 #
148 # This alias fixes a glitch in xchat 2.6.x and above and the way it
149 # assumes IDENTIFY must be prefixed by a colon (:) character. It should
150 # be placed ABOVE the default NICKSERV alias (the first example) listed
151 # above.
152 #
153 #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
154 #  requires="NickServ" uline="yes">
155
156 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
157 # Allowinvite module: Gives channel mode +A to allow all users to use
158 # /invite, and extban A to deny invite from specific masks
159 #<module name="m_allowinvite.so">
160
161 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
162 # Alltime module: Shows time on all connected servers at once.
163 # This module is oper-only and provides /alltime.
164 # To use, ALLTIME must be in one of your oper class blocks.
165 #<module name="m_alltime.so">
166
167 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
168 # Antibear security module: Prevents 'bear.txt' based trojans from
169 # connecting to your network by sending them a numeric they can't handle.
170 #<module name="m_antibear.so">
171
172 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
173 # Antibottler module: Labels bottler leech bots
174 #<module name="m_antibottler.so">
175
176 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
177 # Auditorium module: Adds channel mode +u which makes everyone else
178 # except you in the channel invisible, used for large meetings etc.
179 #<module name="m_auditorium.so">
180 #
181 # Auditorium settings:
182 #
183 #<auditorium showops="no" operoverride="no">
184 #
185 # showops:
186 #   Setting this value to yes makes m_auditorium behave like unrealircd
187 #   +u channel mode, e.g. ops see users joining, parting, etc, and users
188 #   joining the channel see the ops. Without this flag, the mode acts
189 #   like ircnet's +a (anonymous channels), showing only the user in the
190 #   names list, and not even showing the ops in the list, or showing the
191 #   ops that the user has joined.
192 # operoverride:
193 #   Setting this value to yes makes m_auditorium affect the userlist for
194 #   regular users only. Opers will view all users in the channel normally.
195
196 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
197 # Ban except module: Adds support for channel ban exceptions (+e)
198 #<module name="m_banexception.so">
199
200 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
201 # Ban redirection module: Allows bans which redirect to a specified
202 # channel. e.g. +b nick!ident@host#channelbanneduserissentto
203 #<module name="m_banredirect.so">
204
205 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
206 # Block amsg module: Attempt to block all usage of /amsg and /ame
207 #<module name="m_blockamsg.so">
208 #
209 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
210 #                                                                     #
211 # If you have the m_blockamsg.so module loaded, you can configure it  #
212 # with the <blockamsg> tag:                                           #
213 #                                                                     #
214 # delay          -   How many seconds between two messages to force   #
215 #                    them to be recognised as unrelated.              #
216 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
217 #                    or 'killopers'. Define how to take action when   #
218 #                    a user uses /amsg or /ame.                       #
219 #
220 #<blockamsg delay="3" action="killopers">
221
222 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
223 # Block CAPS module: Blocking all-CAPS messages with cmode +B
224 #<module name="m_blockcaps.so">
225 #                                                                     #
226 #-#-#-#-#-#-#-#-#-#-#-  BLOCKCAPS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
227 #                                                                     #
228 # percent        - How many percent of text must be caps before text  #
229 #                  will be blocked.                                   #
230 #                                                                     #
231 # minlen         - The minimum length a line must be for the block    #
232 #                  percent to have any effect.                        #
233 #                                                                     #
234 # capsmap        - A list of chars to be considered CAPS, this was    #
235 #                  you can add CAPS for your language. Also you can   #
236 #                  add things like ! and space to further lock down   #
237 #                  on caps usage.                                     #
238 #<blockcaps percent="50"
239 #           minlen="5"
240 #           capsmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ! ">
241
242 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
243 # Block colour module: Blocking colour-coded messages with cmode +c
244 #<module name="m_blockcolor.so">
245
246 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
247 # Botmode module: Adds the user mode +B
248 #<module name="m_botmode.so">
249
250 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
251 # CallerID module: Adds usermode +g which activates hybrid-style 
252 # callerid (== block all private messages unless you /accept first)
253 #<module name="m_callerid.so">
254
255 #-#-#-#-#-#-#-#-#-#-#- CALLERID  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
256 # maxaccepts     - Maximum number of entires a user can add to his    #
257 #                  /accept list. Default is 16 entries.               #
258 # operoverride   - Can opers (note: ALL opers) ignore callerid mode?  #
259 #                  Default is no.                                     #
260 # tracknick      - Preserve /accept entries when a user changes nick? #
261 #                  If no (the default), the user is removed from      #
262 #                  everyone's accept list if he changes nickname.     #
263 # cooldown       - Amount of time (in seconds) that must pass since   #
264 #                  the last notification sent to a user before he can #
265 #                  be sent another. Default is 60 (1 minute).         #
266 #<callerid maxaccepts="16"
267 #          operoverride="no"
268 #          tracknick="no"
269 #          cooldown="60">
270
271 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
272 # CAP module: Provides the CAP negotiation mechanism seen in
273 # ratbox-derived ircds
274 #<module name="m_cap.so">
275
276 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
277 # CBAN module: Lets you disallow channels from being used at runtime.
278 # This module is oper-only and provides /cban.
279 # To use, CBAN must be in one of your oper class blocks.
280 #<module name="m_cban.so">
281
282 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
283 # Censor module: Adds the channel mode +G
284 #<module name="m_censor.so">
285 #
286 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
287 #                                                                     #
288 # Optional - If you specify to use the m_censor module, then you must #
289 # specify some censor tags. See also:                                 #
290 # http://www.inspircd.org/wiki/Censor_Module                          #
291 #
292 #<include file="censor.conf">
293
294 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
295 # CGI:IRC module: Adds support for automatic host changing in CGI:IRC
296 # (http://cgiirc.sourceforge.net).
297 #<module name="m_cgiirc.so">
298 #
299 #-#-#-#-#-#-#-#-#-#-#-# CGIIRC  CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
300 #
301 # Optional - If you specify to use m_cgiirc, then you must specify one
302 # or more cgihost tags which indicate authorised CGI:IRC servers which
303 # will be connecting to your network, and an optional cgiirc tag.
304 # For more information see: http://www.inspircd.org/wiki/CGI-IRC_Module
305 #
306 # Set to yes if you want to notice opers when CGI clients connect
307 # <cgiirc opernotice="no">
308 #
309 # The type field indicates where the module should get the real
310 # client's IP address from, for further information, please see the
311 # CGI:IRC documentation.
312 #
313 # Old style:
314 # <cgihost type="pass" mask="www.mysite.com">       # Get IP from PASS
315 # <cgihost type="ident" mask="otherbox.mysite.com"> # Get IP from ident
316 # <cgihost type="passfirst" mask="www.mysite.com">  # See the docs
317 # New style:
318 # <cgihost type="webirc" pass="foobar"
319 #   mask="somebox.mysite.com">                      # Get IP from WEBIRC
320 #
321 # IMPORTANT NOTE:
322 # ---------------
323 #
324 # When you connect CGI:IRC clients, there are two connect classes which
325 # apply to these clients. When the client initially connects, the connect
326 # class which matches the cgi:irc site's host is checked. Therefore you
327 # must raise the maximum local/global clients for this ip as high as you
328 # want to allow cgi clients. After the client has connected and is
329 # determined to be a cgi:irc client, the class which matches the client's
330 # real IP is then checked. You may set this class to a lower value, so that
331 # the real IP of the client can still be restricted to, for example, 3
332 # sessions maximum.
333 #
334
335
336 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
337 # Channel create module: Adds snomask +j, which will notify opers of
338 # any new channels that are created.
339 # This module is oper-only.
340 #<module name="m_chancreate.so">
341
342 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
343 # Channel filter module: Allows channel-op defined message
344 # filtering using simple string matches (channel mode +g)
345 #<module name="m_chanfilter.so">
346
347 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
348 # Channel logging module: used to send snotice output to channels, to
349 # allow staff to centrally monitor and discuss network activity.
350 #
351 # The "channel" field is where you want the messages to go, "snomasks"
352 # is what snomasks you want to be sent to that channel. Multiple tags
353 # are allowed.
354 #<module name="m_chanlog.so">
355 #<chanlog snomasks="AOcC" channel="#opers">
356
357 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
358 # Channelban: Implements extended ban j:, which stops anyone in already
359 # in a channel matching a mask like +b j:#channel*mask from joining.
360 #<module name="m_channelban.so">
361
362 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
363 # Chanprotect module: gives +q and +a channel modes
364 #<module name="m_chanprotect.so">
365
366 <chanprotect
367         # noservices: With this set to no, when a user joins a empty channel,
368         # the server will set +q on them. If set to yes, it will only set +o
369         # on them until they register the channel.
370         noservices="no"
371
372         # qprefix: Prefix (symbol) to use for +q users.
373         qprefix="~"
374
375         # aprefix: Prefix (symbol) to use for +a users.
376         aprefix="&"
377
378         # deprotectself: If this value is set (true, yes or 1), it will allow
379         # +a and +q users to remove the +a and +q from themselves, otherwise,
380         # the status will have to be removed by services.
381         deprotectself="yes"
382
383         # deprotectothers: If this value is set to yes, true, or 1, then any
384         # user with +q or +a may remove the +q or +a from other users.
385         deprotectothers="yes">
386
387
388 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
389 # Check module: gives /check
390 # Check is useful for looking up information on channels,
391 # users, IP addresses and hosts.
392 # This module is oper-only.
393 # To use, CHECK must be in one of your oper class blocks.
394 #<module name="m_check.so">
395
396 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
397 # CHGHOST module: Adds the /CHGHOST command
398 # This module is oper-only.
399 # To use, CHGHOST must be in one of your oper class blocks.
400 #<module name="m_chghost.so">
401 #
402 #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST  CONFIGURATION #-#-#-#-#-#-#-#-#
403 # Optional - If you want to use special chars for hostnames you can  #
404 # specify your own custom list of chars with the <hostname> tag:     #
405 #                                                                    #
406 # charmap        - A list of chars accepted as valid by the /CHGHOST #
407 #                  and /SETHOST commands. Also note that the list is # 
408 #                  case-sensitive.                                   #
409 #<hostname charmap="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_/0123456789">
410
411 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
412 # CHGIDENT module: Adds the /CHGIDENT command
413 # This module is oper-only.
414 # To use, CHGIDENT must be in one of your oper class blocks.
415 #<module name="m_chgident.so">
416
417 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
418 # CHGNAME module: Adds the /CHGNAME command
419 # This module is oper-only.
420 # To use, CHGNAME must be in one of your oper class blocks.
421 #<module name="m_chgname.so">
422
423 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
424 # Cloaking module: Adds usermode +x and cloaking support.
425 # Relies on the module m_md5.so being loaded before m_cloaking.so in
426 # the configuration file.
427 # To use, you should enable m_conn_umodes and add +x as
428 # an enabled mode. See the m_conn_umodes module for more information.
429 #<module name="m_cloaking.so">
430 #
431 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
432 #                                                                     #
433 # Optional - If you specify the m_cloaking.so module as above, you    #
434 # must define cloak keys, and optionally a cloak prefix as shown      #
435 # below. When using cloaking, the cloak keys are MANDITORY and must   #
436 # be included. However, if prefix is not included, it will default    #
437 # to your networks name from the <server> tag. You can also include   #
438 # the following optional values:                                      #
439 #                                                                     #
440 #   ipalways         - Always cloak the IP address, not the hostname, #
441 #                      which doesn't reveal the user's ISP, but       #
442 #                      results in hosts that are harder to read and   #
443 #                      ban.                                           #
444 #                                                                     #
445 #   lowercase        - Display the cloaked hostnames in lowercase     #
446 #                      characters instead of uppercase                #
447 #                                                                     #
448 # <cloak key1="0x2AF39F40"                                            #
449 #        key2="0x78E10B32"                                            #
450 #        key3="0x4F2D2E82"                                            #
451 #        key4="0x043A4C81"                                            #
452 #        prefix="mynet"                                               #
453 #        ipalways="false"                                             #
454 #        lowercase="false">                                           #
455 #                                                                     #
456 # Please note that the key values will accept any number, and should  #
457 # be large numbers. Using small numbers such as "7" or "1924" will    #
458 # seriously weaken the security of your cloak. It is recommended you  #
459 # use hexdecimal numbers prefixed by "0x", as shown in this example,  #
460 # with each key eight hex digits long.                                #
461
462 #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
463 # Close module: Allows an oper to close all unregistered connections.
464 # This module is oper-only and provides /close.
465 # To use, CLOSE must be in one of your oper class blocks.
466 #<module name="m_close.so">
467
468 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
469 # Clones module: Adds an oper command /CLONES for detecting cloned
470 # users. Warning: This module may be resource intensive when its
471 # command is issued, use with care.
472 # This module is oper-only.
473 # To use, CLONES must be in one of your oper class blocks.
474 #<module name="m_clones.so">
475
476 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
477 # Common channels module: Adds user mode +c, which, when set, requires
478 # that users must share a common channel with you to PRIVMSG or NOTICE
479 # you.
480 #<module name="m_commonchans.so">
481
482 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
483 # Conn-Join: Allows you to force users to join one or more channels
484 # automatically upon connecting to the server.
485 #<module name="m_conn_join.so">
486 #
487 #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
488 #
489 # If you have m_conn_join.so loaded, you can configure it using the
490 # follow values:
491 #
492 #<autojoin channel="#one,#two,#three">
493
494 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
495 # Conn-Usermodes: Set modes on users when they connect
496 # When this module is loaded <connect:allow> tags may have an optional
497 # modes="" value, which contains modes to add or remove from users
498 # when they connect to the server.
499 #<module name="m_conn_umodes.so">
500
501 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
502 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
503 #<module name="m_conn_waitpong.so">
504 #
505 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
506 #                                                                     #
507 # If you have the m_conn_waitpong.so module loaded, configure it with #
508 # the <waitpong> tag:                                                 #
509 #                                                                     #
510 # sendsnotice    -   Whether to send a snotice on connect, like other #
511 #                    older ircds                                      #
512 #                                                                     #
513 # killonbadreply -   Whether to kill the user if they send the wrong  #
514 #                    PONG reply.                                      #
515 #                                                                     #
516 #<waitpong sendsnotice="yes" killonbadreply="yes">
517
518
519 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
520 # Channel cycle module. Server side /hop, with +ilk etc bypass.
521 #<module name="m_cycle.so">
522
523 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
524 # Connectban: Provides IP connection throttling. Any IP range that connects
525 # too many times (configurable) in an hour is zlined for a (configurable)
526 # duration, and their count resets to 0.
527 #
528 # ipv4cidr and ipv6cidr allow you to turn the comparison from individual
529 # IP addresses (32 and 128 bits) into CIDR masks, to allow for throttling
530 # over whole ISPs/blocks of IPs, which may be needed to prevent attacks.
531 #
532 #<connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128">
533 # This allows for 10 quits in an hour with a 10 minute ban if that is exceeded.
534 #
535 #<module name="m_connectban.so">
536
537 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
538 # Connection throttle module. Configuration:
539 #<module name="m_connflood.so">
540 #
541 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
542 #  seconds, maxconns -  Amount of connections per <seconds>.
543 #
544 #  timeout           -  Time to wait after the throttle was activated
545 #                       before deactivating it. Be aware that the time
546 #                       is seconds + timeout.
547 #
548 #  quitmsg           -  The message that users get if they attempt to
549 #                       connect while the throttle is active.
550 #
551 #  bootwait          -  Amount of time to wait before enforcing the
552 #                       throttling when the server just booted.
553 #
554 #<connflood seconds="30" maxconns="3" timeout="30"
555 #   quitmsg="Throttled" bootwait="10">
556
557 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
558 # Custom title module: Adds the /TITLE command which allows for trusted
559 #                      users to gain a custom whois line and a optional
560 #                      vhost can be specified.
561 #<module name="m_customtitle.so">
562 #
563 #-#-#-#-#-#-#-#-#-#-  CUSTOM TITLE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#
564 #  name              - The username used to identify 
565 #  password          - The password used to identify
566 #  host              - Allowed hostmask [optional]
567 #  title             - Title shown in whois
568 #  vhost             - Displayed host [optional]
569 #
570 #<title name="foo" password="bar" title="Official Chat Helper">
571 #<title name="bar" password="foo" host="ident@host.name" title="Official Chat Helper" vhost="helper.network.chat">
572
573 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
574 # DCCALLOW module: Adds the /DCCALLOW command
575 #<module name="m_dccallow.so">
576 #
577 #-#-#-#-#-#-#-#-#-#-#-  DCCALLOW CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
578 #  blockchat         - Whether to block DCC CHAT as well as DCC SEND
579 #  length            - Default duration of entries in DCCALLOW list
580 #  action            - Default action to take if no action is specified
581 #                      can be 'block' or 'allow'
582 #
583 # File configuration:
584 #  pattern           - The glob pattern to match against
585 #  action            - Action to take if a user attempts to send a file
586 #                      that matches this pattern, can be 'block' or 'allow'
587 #
588 #<dccallow blockchat="yes" length="5m" action="block">
589 #<banfile pattern="*.exe" action="block">
590 #<banfile pattern="*.txt" action="allow">
591 #
592 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
593
594 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
595 # Deaf module: adds support for ircu style usermode +d - deaf to
596 # channel messages and channel notices.
597 #<module name="m_deaf.so">
598
599 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
600 # Delay join module: Adds the channel mode +D which delays all JOIN
601 # messages from users until they speak. If they quit or part before
602 # speaking, their quit or part message will not be shown to the channel
603 # which helps cut down noise on large channels in a more friendly way
604 # than the auditorium mode. Only channel ops may set the +D mode.
605 #<module name="m_delayjoin.so">
606
607 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
608 # Deny Channels: Deny Channels from being used by users
609 #<module name="m_denychans.so"> 
610 #
611 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
612 #                                                                     #
613 # If you have the m_denychans.so module loaded, you need to specify   #
614 # the channels to deny:                                               #
615 #                                                                     #
616 # name        -      The channel name to deny. (glob masks are ok)    #
617 #                                                                     #
618 # allowopers  -      If operators are allowed to override the deny.   #
619 #                                                                     #
620 # reason      -      Reason given for the deny.                       #
621 #                                                                     #
622 # redirect    -      Redirect the user to a different channel         #
623 #                                                                     #
624 #<badchan name="#gods*" allowopers="yes" reason="Tortoises!">         #
625 #<badchan name="#heaven" redirect="#hell" reason="Nice try!">         #
626 #                                                                     #
627 # Redirects will not work if the target channel is set +L.            #
628 #                                                                     #
629 # Additionally, you may specify channels which are allowed, even if   #
630 # a badchan tag specifies it would be denied:                         #
631 #<goodchan name="#godsleeps">                                         #
632 # Glob masks are accepted here also.
633
634 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
635 # Devoice Module: Let users devoice themselves.
636 #<module name="m_devoice.so">
637
638 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
639 # DNS Blacklist Module: Provides support for looking up IPs on one or #
640 # more blacklists.                                                    #
641 #<module name="m_dnsbl.so">                                           #
642 #                                                                     #
643 # For configuration options please see the wiki page for m_dnsbl at   #
644 # http://inspircd.org/wiki/DNS_Blacklist_Module                       #
645
646 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
647 # Filter module: Provides message filtering, similar to SPAMFILTER.
648 #<module name="m_filter.so">
649 #                                                                     #
650 # This module depends upon a regex provider such as m_regex_pcre or   #
651 # m_regex_glob to function. You must specify which of these you want  #
652 # m_filter to use via the tag below.                                  #
653 #                                                                     #
654 # Valid engines are:                                                  #
655 #                                                                     #
656 # glob  - Glob patterns, provided via m_regex_glob.so                 #
657 # pcre  - PCRE regexps, provided via m_regex_pcre.so, needs libpcre   #
658 # tre   - TRE regexps, provided via m_regex_tre.so, requires libtre   #
659 # posix - POSIX regexps, provided via m_regex_posix.so, not availale  #
660 #         on windows, no dependencies on other operating systems.     #
661 #                                                                     #
662 #<filteropts engine="glob">                                           #
663 #                                                                     #
664 # Your choice of regex engine must match on all servers network-wide.
665 #
666 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
667 #                                                                     #
668 # Optional - If you specify to use the m_filter module, then          #
669 # specfiy below the path to the filter.conf file, or define some      #
670 # <filter> tags.                                                      #
671 #                                                                     #
672 #<include file="filter.conf">
673
674 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
675 # Foobar module: does nothing - historical relic
676 #<module name="m_foobar.so">
677
678 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
679 # Gecosban: Implements extended ban r:, which stops anyone matching
680 # a mask like +b r:*realname?here* from joining a channel.
681 #<module name="m_gecosban.so">
682
683 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
684 # GeoIP module: Allows the server admin to ban users by country code.
685 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_geoip.cpp
686 # and run make install, then uncomment this module to enable it.
687 #<module name="m_geoip.so">
688 #
689 #-#-#-#-#-#-#-#-#-#-#-#  GEOIP CONFIGURATION  #-#-#-#-#-#-#-#-#-#-#-#-#
690 #                                                                     #
691 # <geoip banunknown="false">                                          #
692 #                                                                     #
693 # Set this value to true or yes to block unknown IP ranges which are  #
694 # not in the database (usually LAN addresses, localhost, etc)         #
695 #                                                                     #
696 # <geoban country="TR" reason="This country not permitted">           #
697 #                                                                     #
698 # Use one or more of these tags to ban countries by country code.     #
699 # The country code must be in capitals and should be an ISO country   #
700 # code such as TR, GB, or US.                                         #
701
702 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
703 # Globops module: gives /GLOBOPS and SNOMASK +g
704 # This module is oper-only.
705 # To use, GLOBOPS must be in one of your oper class blocks.
706 #<module name="m_globops.so">
707
708 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
709 # Global load module: Allows loading and unloading of modules network-
710 # wide (USE WITH EXTREME CAUTION!)
711 # This module is oper-only and provides /gloadmodule, /gunloadmodule
712 # and /greloadmodule.
713 # To use, GLOADMODULE, GUNLOADMODULE and GRELOADMODULE
714 # must be in one of your oper class blocks.
715 #<module name="m_globalload.so">
716
717 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
718 # HELPOP module: Provides the /HELPOP command
719 #<module name="m_helpop.so">
720 #
721 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
722 #                                                                     #
723 # Optional - If you specify to use the m_helpop.so module, then       #
724 # specify below the path to the helpop.conf file, or if you like to   #
725 # make a mess, define your helpop tags in this conf.                  #
726 #                                                                     #
727 #<include file="helpop.conf">
728
729 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
730 # HIDECHANS module: Allows opers to hide their channels list from non-
731 # opers by setting user mode +I on themselves.
732 # <module name="m_hidechans.so">
733 #
734 # HIDECHANS can optionally prevent opers from seeing channels on a +I
735 # user, for more privacy if set to true.
736 # This setting is not recommended for most mainstream networks.
737 #<hidechans affectsopers="false">
738
739 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
740 # HIDEOPER module: Allows opers to hide their oper status from non-
741 # opers by setting user mode +H on themselves.
742 # This module is oper-only.
743 # <module name="m_hideoper.so">
744
745 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
746 # Hostchange module: Allows a different style of cloaking
747 #<module name="m_hostchange.so">
748 #
749 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
750 #                                                                     #
751 # Optional - If you choose to use the m_hostchange.so module.         #
752 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
753 #                                                                     #
754 #<host suffix="polarbears.org" separator="." prefix="">
755 #<hostchange mask="*@fbi.gov" action="addnick">
756 #<hostchange mask="*r00t@*" action="suffix">
757 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
758 #<hostchange mask="localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
759
760 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
761 # httpd module: Provides http server support for InspIRCd
762 #<module name="m_httpd.so">
763 #
764 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
765 #
766 # Optional - If you choose to use the m_httpd.so module,  then you must
767 # specify the port number and other details of your http server:
768 #
769 #<http ip="192.168.1.10" host="brainwave" port="32006"
770 #      index="/home/brain/inspircd/http/index.html">
771 #
772 # You may have as many of these tags as you wish, each with a different
773 # IP, port, host or index file. Each one will act as an independent
774 # HTTP server.
775 #
776
777 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
778 # http ACL module: Provides access control lists for m_httpd dependent
779 # modules. Use this module to restrict pages by IP address and by
780 # password.
781 #
782 #<module name="m_httpd_acl.so">
783 #
784 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD ACL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
785 #
786 # Restrict access to the m_httpd_stats module to all but the local
787 # network and when the correct password is specified:
788 #
789 # <httpdacl path="/stats*" types="password,whitelist"
790 #    username="secretstuff" password="mypasshere" whitelist="127.0.0.*,10.*">
791
792 # Deny all connections to all but the main index page:
793 #
794 # <httpdacl path="/*" types="blacklist" blacklist="*">
795 #
796
797 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
798 # http config module: Allows the server's configuration to be viewed
799 # over HTTP. Requires m_httpd.so to be loaded for it to function.
800 #<module name="m_httpd_config.so">
801
802 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
803 # http stats module: Provides basic stats pages over HTTP
804 # Requires m_httpd.so to be loaded for it to function.
805 #<module name="m_httpd_stats.so">
806 #
807 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
808 #
809 #<httpstats stylesheet="http://remote.style/sheet.css">
810 #
811
812 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
813 # Ident: Provides RFC 1413 ident lookup support
814 # When this module is loaded <connect:allow> tags may have an optional
815 # useident="yes|no" boolean value, determining whether or not to lookup
816 # ident on users matching that connect tag.
817 #<module name="m_ident.so">
818 #
819 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
820 #                                                                     #
821 # Optional - If you are using the m_ident.so module, then you can     #
822 # specify the timeout for ident lookups here. If not defined, it will #
823 # default to one second. This is a non-blocking timeout which holds   #
824 # the user in a 'connecting' state until the lookup is complete.      #
825 # The bind value indicates which IP to bind outbound requests to.     #
826 #                                                                     #
827 #<ident timeout="5" bind="">
828
829 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
830 # Invite except module: Adds support for channel invite exceptions (+I)
831 #<module name="m_inviteexception.so">
832
833 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
834 # Invisible module - Adds support for usermode +Q (quiet) which lets an
835 # oper go 'invisible' similar to unrealircd 3.1's +I mode. Note that
836 # opers are still able to see invisible users, and if an oper with +Q
837 # deopers, they will become visible. 
838
839 # IMPORTANT NOTE: To allow this mode to be used by a type of oper, you
840 # must first add the value canquiet="yes" to that oper's type tag.
841 #
842 # This module is oper-only.
843 #
844 #<module name="m_invisible.so">
845
846 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
847 # Join flood module: Adds support for join flood protection (+j)
848 #<module name="m_joinflood.so">
849
850 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
851 # Jump Server module: Adds support for the RPL_REDIR numeric
852 # This module is oper-only.
853 # To use, JUMPSERVER must be in one of your oper class blocks.
854 #<module name="m_jumpserver.so">
855
856 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
857 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
858 #<module name="m_kicknorejoin.so">
859
860 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
861 # Knock module: adds the /KNOCK command and +K channel mode
862 #<module name="m_knock.so">
863
864 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
865 # LDAP authentication module: Adds the ability to authenticate users  #
866 # via LDAP. This is an extra module which must be enabled explicitly  #
867 # by symlinking it from modules/extra, and requires the OpenLDAP libs #
868 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_ldapauth.cpp
869 # and run make install, then uncomment this module to enable it.      #
870 #                                                                     #
871 #<module name="m_ldapauth.so">                                        #
872 #                                                                     #
873 # Configuration:                                                      #
874 #                                                                     #
875 # <ldapauth baserdn="ou=People,dc=brainbox,dc=cc"                     #
876 #           attribute="uid"                                           #
877 #           server="ldap://brainwave.brainbox.cc"                     #
878 #           allowpattern="Guest*"                                     #
879 #           killreason="Access denied"                                #
880 #           searchscope="subtree"                                     #
881 #           binddn="cn=Manager,dc=brainbox,dc=cc"                     #
882 #           bindauth="mysecretpass"                                   #
883 #           verbose="yes">                                            #
884 #                                                                     #
885 # The baserdn indicates the base DN to search in for users. Usually   #
886 # this is 'ou=People,dc=yourdomain,dc=yourtld'.                       #
887 #                                                                     #
888 # The attribute value indicates the attribute which is used to locate #
889 # a user account by name. On POSIX systems this is usually 'uid'.     #
890 #                                                                     #
891 # The server parameter indicates the LDAP server to connect to. The   #
892 # ldap:// style scheme before the hostname proper is MANDITORY.       #
893 #                                                                     #
894 # The allowpattern value allows you to specify a wildcard mask which  #
895 # will always be allowed to connect regardless of if they have an     #
896 # account, for example guest users.                                   #
897 #                                                                     #
898 # Killreason indicates the QUIT reason to give to users if they fail  #
899 # to authenticate.                                                    #
900 #                                                                     #
901 # The searchscope value indicates the subtree to search under. On our #
902 # test system this is 'subtree'. Your mileage may vary.               #
903 #                                                                     #
904 # Setting the verbose value causes an oper notice to be sent out for  #
905 # every failed authentication to the server, with an error string.    #
906 #                                                                     #
907 # The binddn and bindauth indicate the DN to bind to for searching,   #
908 # and the password for the distinguished name. Some LDAP servers will #
909 # allow anonymous searching in which case these two values do not     #
910 # need defining, otherwise they should be set similar to the examples #
911 # above.                                                              #
912
913 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
914 # LDAP oper configuration module: Adds the ability to authenticate    #
915 # opers via LDAP. This is an extra module which must be enabled       #
916 # explicitly by symlinking it from modules/extra, and requires the    #
917 # OpenLDAP libs. Re-run configure with: ./configure --enable-extras=m_ldapoper.cpp
918 # and run make install, then uncomment this module to enable it.      #
919 #                                                                     #
920 #<module name="m_ldapoper.so">
921 #                                                                     #
922 # Configuration:                                                      #
923 #                                                                     #
924 # <ldapoper baserdn="ou=People,dc=brainbox,dc=cc"
925 #           server="ldap://brainwave.brainbox.cc"
926 #           searchscope="subtree"
927 #           binddn="cn=Manager,dc=brainbox,dc=cc"
928 #           bindauth="mysecretpass">
929 #                                                                     #
930 # Available configuration items are identical to the same items in    #
931 # m_ldapauth above.                                                   #
932
933 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
934 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that is #
935 # used to temporarily close/open for new connections to the server.   #
936 # These commands require OPER status and that the LOCKSERV UNLOCKSERV #
937 # are specified in a <class> tag that the oper is part of. This is so #
938 # you can control who has access to this possible dangerous command.  #
939 # If your server is locked and you got disconnected, do a REHASH from #
940 # shell to open up again.
941 #
942 # This module is oper-only.
943 #
944 #<module name="m_lockserv.so">
945
946 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
947 # Map hiding module: replaces /MAP and /LINKS output to users with a  #
948 # message to see a website, set by maphide="http://link.to/site" in   #
949 # the security tag, instead.                                          #
950 #<module name="m_maphide.so">
951
952 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
953 # Msg flood module: Adds message/notice flood protection (+f)
954 #<module name="m_messageflood.so">
955
956 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
957 # MsSQL module: Allows other SQL modules to access MS SQL Server 
958 # through a unified API. You must copy the source for this module
959 # from the directory src/modules/extra, plus the file m_sqlv2.h
960 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_mssql.cpp
961 # and run make install, then uncomment this module to enable it.
962 #
963 #<module name="m_mssql.so">
964 #
965 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
966 #                                                                     #
967 # m_mssql.so is more complex than described here, see wiki for more   #
968 # info http://www.inspircd.org/wiki/SQLServer_Service_Provider_Module #
969 #
970 #<database name="db" username="user" password="pass" hostname="localhost" id="db1">
971
972 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
973 # MySQL module: Allows other SQL modules to access MySQL databases
974 # through a unified API. You must copy the source for this module
975 # from the directory src/modules/extra, plus the file m_sqlv2.h
976 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_mysql.cpp
977 # and run make install, then uncomment this module to enable it.
978 #
979 #<module name="m_mysql.so">
980 #
981 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
982 #                                                                     #
983 # m_mysql.so is more complex than described here, see the wiki for    #
984 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
985 #
986 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
987
988 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
989 # NAMESX module: Provides support for the NAMESX extension which allows
990 # clients to see all the prefixes set on a user without getting confused.
991 # This is supported by mIRC, x-chat, klient, and maybe more.
992 #<module name="m_namesx.so">
993
994 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
995 # Nickchange flood protection module: Allows up to X nick changes in Y seconds.
996 # Provides channel mode +F.
997 #<module name="m_nickflood.so">
998
999 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1000 # Nicklock module: Let opers change a user's nick and then stop that
1001 # user from changing their nick again.
1002 # This module is oper-only.
1003 # To use, NICKLOCK and NICKUNLOCK must be in one of your oper class blocks.
1004 #<module name="m_nicklock.so">
1005
1006 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1007 # No ctcp module: Adds the channel mode +C to block CTCPs
1008 #<module name="m_noctcp.so">
1009
1010 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1011 # No kicks module: Adds the +Q channel mode
1012 #<module name="m_nokicks.so">
1013
1014 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1015 # No nicks module: Adds the +N channel mode, as well as the +b N:
1016 # extended bantype. +N stops all users from changing their nick,
1017 # the +b N: extban stops anyone from matching a +b N:nick!user@host
1018 # mask from changing their nick.
1019 #<module name="m_nonicks.so">
1020
1021 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1022 # No part message module: adds extban 'p' to block part messages from #
1023 # matching users.                                                     #
1024 #<module name="m_nopartmsg.so">
1025
1026 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1027 # No Notice module: adds the channel mode +T
1028 #<module name="m_nonotice.so">
1029
1030 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1031 # Oper channels mode: Adds the +O channel mode
1032 # This module is oper-only.
1033 #<module name="m_operchans.so">
1034
1035 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1036 # Oper flood module: Removes flood limits from users upon opering up
1037 # This module is oper-only.
1038 #<module name="m_operflood.so">
1039
1040 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1041 # Oper invex/extban module: Adds +beI type O, to ban, exempt, and invex
1042 # given oper type masks.
1043 # e.g, /mode #channel +iI O:* is equivilant to chmode +O, but you
1044 # may also, e.g. /mode #channel +iI O:AdminTypeOnly to only allow admins.
1045 # +be work in a similar fashion.
1046 # This module is oper-only.
1047 #
1048 #<module name="m_operinvex.so">
1049
1050 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1051 # Oper Join module: Auto-joins opers to a channel upon oper-up
1052 # This module is oper-only. For the user equivalent, see m_conn_join.
1053 #<module name="m_operjoin.so">
1054 #
1055 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1056 #                                                                     #
1057 # If you are using the m_operjoin.so module, specify options here:    #
1058 #                                                                     #
1059 # channel     -      The channel name to join, can also be a comma    #
1060 #                    seperated list eg. "#channel1,#channel2".        #
1061 #                                                                     #
1062 # override    -      Lets the oper join walking thru any modes that   #
1063 #                    might be set, even bans. Use "yes" or "no".      #
1064 #                                                                     #
1065 #<operjoin channel="#channel" override="no">
1066 #
1067 # Alternatively you can use the autojoin="channellist" in a <type>    #
1068 # tag to set specific autojoins for a type of oper, for example:      #
1069 #
1070 #<type name="Helper" autojoin="#help" classes="...">
1071
1072 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1073 # Oper log module: Logs all oper commands to the ircd log at default
1074 # loglevel.
1075 # This module is oper-only.
1076 #<module name="m_operlog.so">
1077
1078 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1079 # Oper prefixing module: Gives IRC operators a prefix status character
1080 # on all channels they are in.
1081 #
1082 #<module name="m_operprefix.so">
1083 #
1084 # You may additionally customise the prefix character.
1085 #<operprefix prefix="!">
1086
1087 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1088 # Oper MOTD module: Provides support for seperate message of the day
1089 # on oper-up
1090 # This module is oper-only.
1091 #<module name="m_opermotd.so">
1092 #
1093 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1094 #                                                                     #
1095 # If you are using the m_opermotd.so module, specify the motd here    #
1096 #                                                                     #
1097 #<opermotd file="oper.motd">
1098
1099 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1100 # Override module: Adds support for oper override
1101 # This module is oper-only.
1102 #<module name="m_override.so">
1103 #
1104 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1105 #                                                                     #
1106 # m_override.so is too complex it describe here, see the wiki:        #
1107 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
1108
1109 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1110 # Oper levels module: Gives each oper a level and prevents
1111 # actions being taken against higher level opers
1112 # Specify the level as the 'level' parameter of the <type> tag
1113 # # This module is oper-only.
1114 #<module name="m_operlevels.so">
1115
1116 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1117 # Oper modes module: Allows you to specify modes to add/remove on oper
1118 # Specify the modes as the 'modes' parameter of the <type> tag
1119 # and/or as the 'modes' parameter of the <oper> tag.
1120 # This module is oper-only. For the user equivalent, see m_conn_umodes
1121 #<module name="m_opermodes.so">
1122
1123 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1124 # Oper password hash module: Allows hashed oper passwords
1125 # Relies on the module m_md5.so and/or m_sha256.so being loaded before
1126 # m_password_hash.so in the configuration file.
1127 # This module is oper-only.
1128 #<module name="m_password_hash.so">
1129 #
1130 #-#-#-#-#-#-#-#-#-#-# OPER HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1131 #
1132 # To use this module, you must define a hash type for each oper's
1133 # password you want to hash. For example:
1134 #
1135 #     <oper name="Brain"
1136 #           host="ident@dialup15.isp.com"
1137 #           hash="sha256"
1138 #           password="a41d730937a53b79f788c0ab13e9e1d5"
1139 #           type="NetAdmin">
1140
1141 # The types of hashing available vary depending on which hashing modules
1142 # you load, but usually if you load m_sha256.so and m_md5.so, both md5
1143 # and sha256 type hashing will be available (the most secure of which
1144 # is SHA256).
1145
1146 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1147 # Permanent Channels module: Channels with the permanent channels mode
1148 # will remain open even after everyone else has left the channel, and
1149 # therefore keep things like modes, ban lists and topic. Permanent
1150 # channels -may- need support from your Services package to function
1151 # properly with them. This adds channel mode +P.
1152 # This module is oper-only.
1153 #<module name="m_permchannels.so">
1154 #
1155 # You may also create channels on startup by using the <permchannels> block.
1156 #<permchannels channel="#opers" modes="is" topic="Opers only.">
1157
1158 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1159 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1160 # through a unified API. You must copy the source for this module
1161 # from the directory src/modules/extra, plus the file m_sqlv2.h
1162 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_pgsql.cpp
1163 # and run make install, then uncomment this module to enable it.
1164 #
1165 #<module name="m_pgsql.so">
1166 #
1167 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1168 #                                                                     #
1169 # m_pgsql.so is more complex than described here, see the wiki for    #
1170 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1171 #
1172 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1173
1174 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1175 # Muteban: Implements extended ban m:, which stops anyone matching
1176 # a mask like +b m:nick!user@host from speaking on channel.
1177 #<module name="m_muteban.so">
1178 #
1179
1180 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1181 # Random Quote module: provides a random quote on connect.
1182 # NOTE: Some of these may mimic fatal errors and confuse users and 
1183 # opers alike! - BEWARE!
1184 #<module name="m_randquote.so">
1185 #
1186 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1187 #                                                                     #
1188 # Optional - If you specify to use the m_randquote.so module, then    #
1189 # specify below the path to the randquotes.conf file.                 #
1190 #                                                                     #
1191 #<randquote file="randquotes.conf">
1192
1193 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1194 # Redirect module: Adds channel redirection (mode +L)
1195 #<module name="m_redirect.so">
1196
1197 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1198 # Regular Expression Provider for Glob or wildcard (?/*) matching.
1199 # You must have at least 1 provider loaded to use m_filter or m_rline
1200 # modules. This module has no additional requirements, as it uses the
1201 # matching already present in InspIRCd core.
1202 #<module name="m_regex_glob.so">
1203
1204 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1205 # Regular Expression Provider for PCRE (Perl-Compatible Regular
1206 # Expressions). You need libpcre installed to compile and load this
1207 # module. You must have at least 1 provider loaded to use m_filter or
1208 # m_rline.
1209 #<module name="m_regex_pcre.so">
1210
1211 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1212 # Regular Expression Provider for POSIX Regular Expressions.
1213 # You shouldn't need any additional libraries on a POSIX-compatible
1214 # system (ie: any Linux, BSD, but not Windows). You must have at least
1215 # 1 provider loaded to use m_filter or m_rline.
1216 # On POSIX-compliant systems, regex syntax can be found by using the
1217 # command: 'man 7 regex'.
1218 #<module name="m_regex_posix.so">
1219
1220 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1221 # Regular Expression Provider for TRE Regular Expressions.
1222 # This is the same regular expression engine used by UnrealIRCd, so
1223 # if you are most familiar with the syntax of /spamfilter from there,
1224 # this is the provider you want. You need libtre installed in order
1225 # to compile and load this module.
1226 #<module name="m_regex_tre.so">
1227
1228 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1229 # Registered users only channel creation
1230 # Allows only registered users and opers to create new channels.
1231 #<module name="m_regonlycreate.so">
1232
1233 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1234 # Remove module: Adds the /REMOVE command which is a peaceful
1235 # alternative to /KICK
1236 #<module name="m_remove.so">
1237
1238 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1239 # Restricted channels module: Allows only opers to create channels
1240 #<module name="m_restrictchans.so">
1241
1242 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1243 # Restrict message module: Allows users to only message opers
1244 #<module name="m_restrictmsg.so">
1245
1246 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1247 # Ban users through regular expression patterns
1248 #<module name="m_rline.so">
1249 #
1250 #-#-#-#-#-#-#-#-#-#-#-#- RLINE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1251 #
1252 # If you wish to re-check a user when they change nickname (can be
1253 # useful under some situations, but *can* also use CPU with more users
1254 # on a server) then set the following configuration value:
1255 # Also, this is where you set what Regular Expression engine is to be
1256 # used. If you ever change it while running, all of your R-Lines will be
1257 # wiped. This is the regex engine used by all R-Lines set, and
1258 # m_regex_<engine>.so must be loaded, or rline will be nonfunctional
1259 # until you load it or change the engine to one that is loaded.
1260 #
1261 #<rline matchonnickchange="yes" engine="pcre">
1262 #
1263 # Generally, you will NOT want to use 'glob' here, as this turns
1264 # rline into just another gline. The exceptions are that rline will
1265 # always use the full nick!user@host realname string, rather than only
1266 # user@host, but beware that only the ? and * wildcards are available,
1267 # and are the only way to specify where the space can occur if you do
1268 # use glob. For this reason, is recommended to use a real regex engine
1269 # so that at least \s or [[:space:]] is available.
1270
1271 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1272 # JSON-RPC module: Encode and decode JSON-RPC requests for modules
1273 #<module name="m_rpc_json.so">
1274
1275 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1276 # RPC test module: A test of the RPC API
1277 #<module name="m_rpctest.so">
1278
1279 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1280 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1281 # prevent excess flood when the list is large.
1282 #<module name="m_safelist.so">
1283 #
1284 #-#-#-#-#-#-#-#-#-#-# SAFELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1285 #
1286 # When using Safelist, you may set the following values;
1287 #
1288 # The first value, 'throttle', sets the amount of time in seconds a user
1289 # must wait between LIST commands. For example, if this is set to 60
1290 # (the default) then the user may not /LIST more than once a minute.
1291 # If not defined, the default value is 60 seconds.
1292 #
1293 # The second value, 'maxlisters', indicates the maximum number of users
1294 # which may be retrieving a LIST at once. It is not recommended you raise
1295 # this value, as increasing it too high can make your network vulnerable
1296 # to floodbots which waste your bandwidth and CPU time with LIST requests.
1297 #
1298 #<safelist throttle="60" maxlisters="50">
1299
1300 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1301 # SAJOIN module: Adds the /SAJOIN command
1302 # This module is oper-only.
1303 # To use, SAJOIN must be in one of your oper class blocks.
1304 #<module name="m_sajoin.so">
1305
1306 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1307 # SAMODE module: Adds the oper /SAMODE command
1308 # This module is oper-only.
1309 # To use, SAMODE must be in one of your oper class blocks.
1310 #<module name="m_samode.so">
1311
1312 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1313 # SANICK module: Allows opers to change user's nicks
1314 # This module is oper-only.
1315 # To use, SANICK must be in one of your oper class blocks.
1316 #<module name="m_sanick.so">
1317
1318 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1319 # SAPART module: Adds the oper /SAPART command
1320 # This module is oper-only.
1321 # To use, SAPART must be in one of your oper class blocks.
1322 #<module name="m_sapart.so">
1323
1324 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1325 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1326 # This module is oper-only.
1327 # To use, SAQUIT must be in one of your oper class blocks.
1328 #<module name="m_saquit.so">
1329
1330 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1331 # SATOPIC module: Adds the oper /SATOPIC command
1332 # This module is oper-only.
1333 # To use, SATOPIC must be in one of your oper class blocks.
1334 #<module name="m_satopic.so">
1335
1336 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1337 # SASL authentication module: Provides support for IRC Authentication 
1338 # Layer (aka: atheme SASL) via AUTHENTICATE.
1339 #<module name="m_sasl.so">
1340
1341 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1342 # Secure list module: Prevent /LIST in the first minute of connection,
1343 # crippling most spambots and trojan spreader bots.
1344 #<module name="m_securelist.so">
1345 #
1346 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1347 #                                                                     #
1348 # Securelist can be harmful to some irc search engines such as        #
1349 # netsplit.de and searchirc.com. To prevent securelist blocking these #
1350 # sites from listing, define exception tags as shown below:           #
1351 <securehost exception="*@*.searchirc.org">
1352 <securehost exception="*@*.netsplit.de">
1353 <securehost exception="*@echo940.server4you.de">
1354 #                                                                     #
1355 # Define the following variable to change how long a user must wait   #
1356 # before issuing a LIST. If not defined, defaults to 60 seconds.      #
1357 #                                                                     #
1358 #<securelist waittime="60">                                           #
1359
1360 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1361 # Servprotect module: Provides support for Austhex style +k /
1362 # UnrealIRCD +S services mode
1363 #<module name="m_servprotect.so">
1364
1365 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1366 # See nicks module: Allow for SNOMASK +N which shows nick changes.
1367 # This module is oper-only.
1368 #<module name="m_seenicks.so">
1369
1370 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1371 # Set Idle module: Adds a command for opers to change their
1372 # idle time (mainly a toy)
1373 # This module is oper-only.
1374 # To use, SETIDLE must be in one of your oper class blocks.
1375 #<module name="m_setidle.so">
1376
1377 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1378 # Services support module: Adds several usermodes such as +R and +M
1379 # this module implements the 'identified' state via account names (AC)
1380 # and is similar in operation to the way asuka and ircu handle services.
1381 #
1382 # At the same time, this offers +r for users and channels to mark them
1383 # as identified seperately from the idea of a master account, which
1384 # can be useful for services which are heavily nick-as-account centric.
1385 #
1386 # This replaces m_services from 1.1 and earlier.
1387 #
1388 # Also of note is that this module implements two extbans:
1389 # +b R: (stop matching account names from joining)
1390 # +b M: (stop matching account names from speaking)
1391 #                                                                       
1392 #<module name="m_services_account.so">
1393
1394 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1395 # Sethost module: Adds the /SETHOST command
1396 # This module is oper-only.
1397 # To use, SETHOST must be in one of your oper class blocks.
1398 # See m_chghost for how to customise valid chars for hostnames
1399 #<module name="m_sethost.so">
1400
1401 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1402 # Setident module: Adds the /SETIDENT command
1403 # This module is oper-only.
1404 # To use, SETIDENT must be in one of your oper class blocks.
1405 #<module name="m_setident.so">
1406
1407 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1408 # SETNAME module: Adds the /SETNAME command
1409 # This module is oper-only.
1410 # To use, SETNAME must be in one of your oper class blocks.
1411 #<module name="m_setname.so">
1412
1413 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1414 # Serverban: Implements extended ban s:, which stops anyone connected
1415 # to a server matching a mask like +b s:server.mask.here from joining.
1416 #<module name="m_serverban.so">
1417
1418 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1419 # Show Whois module: Adds the +W usermode which allows opers
1420 # to see when they are whois'ed (can be annoying).
1421 # This module is oper-only.
1422 #<module name="m_showwhois.so">
1423 #
1424 # If you wish, you may also let users set this mode. Only opers with the
1425 # users/auspex priv will see real hosts of people, though. This setting
1426 # is not reloadable via /rehash, and will require /reloadmodule, as
1427 # it directly affects the mode object itself.
1428 #<showwhois opersonly="yes"
1429 #
1430 # You may also set whether or not users should recieve whois notices, should
1431 # they be /whois'd by an oper.
1432 # showfromopers="yes">
1433
1434 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1435 # Shun module: Provides the /shun command, which stops a user executing 
1436 # most commands.
1437 # This module is oper-only.
1438 # To use, SHUN must be in one of your oper class blocks.
1439 #<module name="m_shun.so">
1440 #
1441 # You may also configure which commands you wish a user to be able to
1442 # perform. It should be noted that if a shunned user issues QUIT or PART
1443 # then their message will be removed, as if they did not issue one.
1444 #
1445 # You may also (optionally) let the user know that their command was blocked.
1446 #<shun enabledcommands="PING PONG QUIT PART JOIN" notifyuser="yes">
1447
1448 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1449 # Spy module: Provides the ability to see the complete names list of 
1450 # channels an oper is not a member of
1451 # This module is oper-only.
1452 #<module name="m_spy.so">
1453
1454 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1455 # SSL channel mode module: Adds support for SSL-only channels (+z).
1456 # does not do anything useful without a working SSL module (see below)
1457 #<module name="m_sslmodes.so">
1458
1459 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1460 # Dummy ssl module: If you have other servers on your network which
1461 # have SSL, but your server does not have ssl enabled, you should load
1462 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
1463 # field in the WHOIS information).
1464 #<module name="m_ssl_dummy.so">
1465
1466 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1467 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1468 # if enabled. You must copy the source for this module from the directory
1469 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1470 # want to enable this, or it will not load.
1471 #<module name="m_ssl_gnutls.so">
1472 #
1473 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1474 #                                                                     #
1475 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
1476 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
1477 #                                                                     #
1478 # NOTE: If you want to use this module to encrypt and sign your       #
1479 # server to server traffic, you MUST load it before m_spanningtree in #
1480 # your configuration file!                                            #
1481
1482 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1483 # SSL Info module: Allows users to retrieve information about other
1484 # user's peer SSL certificates and keys. This can be used by client
1485 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
1486 # or m_ssl_openssl.so must be loaded. You must symlink the source for
1487 # this module from the directory src/modules/extra.
1488 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sslinfo.cpp
1489 # and run make install, then uncomment this module to enable it.
1490 #
1491 #<module name="m_sslinfo.so">
1492
1493 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1494 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1495 # if enabled. You must copy the source for this module from the directory
1496 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1497 # want to enable this, or it will not load.
1498 #<module name="m_ssl_openssl.so">
1499 #
1500 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1501 #                                                                     #
1502 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
1503 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
1504 #                                                                     #
1505 # NOTE: If you want to use this module to encrypt and sign your       #
1506 # server to server traffic, you MUST load it before m_spanningtree in #
1507 # your configuration file!                                            #
1508
1509 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1510 # SSL Cert Oper module: Allows opers to oper up using the key fingerprint
1511 # stored within their SSL certificate and key pair.
1512 # When using this module, one of m_ssl_gnutls.so or m_ssl_openssl.so must
1513 # be loaded. An extra value should be added to enabled opers, which
1514 # is in the following format: fingerprint="<hash>". For more information,
1515 # see the example in the oper blocks.
1516 # This module is oper-only.
1517 #<module name="m_ssl_oper_cert.so">
1518
1519 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1520 # Strip colour module: Adds the channel mode +S
1521 #<module name="m_stripcolor.so">
1522
1523 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1524 # SILENCE module: Adds support for /SILENCE
1525 #<module name="m_silence.so">
1526 #
1527 # Configuration tags:
1528 #
1529 #<silence maxentries="32">
1530 #
1531 # Sets the maximum number of entries on a users silence list.
1532
1533 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1534 # SQLite3 module: Allows other SQL modules to access SQLite3          #
1535 # databases through a unified API. You must link the source for this  #
1536 # module from the directory src/modules/extra to src/modules, plus    #
1537 # the file m_sqlv2.h                                                  #
1538 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_aqlite.cpp
1539 # and run make install, then uncomment this module to enable it.      #
1540 #
1541 #<module name="m_sqlite3.so">
1542 #
1543 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1544 #                                                                     #
1545 # m_sqlite.so is more complex than described here, see the wiki for   #
1546 # more: http://www.inspircd.org/wiki/SQLite3_Service_Provider_Module  #
1547 #
1548 #<database hostname="/full/path/to/database.db" id="anytext">
1549
1550 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1551 # SQLutils module: Provides some utilities to SQL client modules, such
1552 # as mapping queries to users and channels. You must copy the source
1553 # for this module from the directory src/modules/extra/m_sqlutils.cpp
1554 # and src/modules/extra/m_sqlutils.h into /src/modules
1555 # Needed for, and loaded before: SQLauth and SQLoper
1556 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sqlutils.cpp
1557 # and run make install, then uncomment this module to enable it.
1558 #
1559 #<module name="m_sqlutils.so">
1560
1561 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1562 # SQL authentication module: Allows IRCd connections to be tied into
1563 # a database table (for example a forum). You must copy the source for
1564 # this module from the directory src/modules/extra
1565 # Depends on the SQLutils module being loaded first.
1566 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sqlauth.cpp
1567 # and run make install, then uncomment this module to enable it.
1568 #
1569 #<module name="m_sqlauth.so">
1570 #
1571 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1572 #                                                                     #
1573 # m_sqlauth.so is too complex it describe here, see the wiki:         #
1574 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
1575
1576 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1577 # SQL logging module: Allows you to log network-wide data for your
1578 # network in a fully normalised set of SQL tables. You must copy the
1579 # source for this module from the directory src/modules/extra
1580 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sqllog.cpp
1581 # and run make install, then uncomment this module to enable it.
1582 #
1583 #<module name="m_sqllog.so">
1584 #
1585 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1586 #                                                                     #
1587 # dbid       - Database ID to use (see m_sql)                         #
1588 #                                                                     #
1589 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
1590 #                                                                     #
1591 #<sqllog dbid="1">
1592
1593 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1594 # SQL oper module: Allows you to store oper credentials in an SQL table
1595 # You must copy the source for this module from the directory src/modules/extra
1596 # Depends on the SQLutils module being loaded first.
1597 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sqloper.cpp
1598 # and run make install, then uncomment this module to enable it.
1599 #
1600 #<module name="m_sqloper.so">
1601 #
1602 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1603 #                                                                     #
1604 # dbid       - Database ID to use (see m_sql)                         #
1605 # hash       - Hashing provider to use for password hashing           #
1606 #                                                                     #
1607 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
1608 #                                                                     #
1609 #<sqloper dbid="1" hash="md5">
1610
1611 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1612 # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be   #
1613 # added/removed by Services.                                          #
1614 #<module name="m_svshold.so">
1615
1616 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1617 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1618 # This module is oper-only.
1619 # To use, SWHOIS must be in one of your oper class blocks.
1620 #<module name="m_swhois.so">
1621
1622 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1623 # Taxonomy module: Adds the /TAXONOMY command, used to view all
1624 #                  metadata attached to a user.
1625 # This module is oper-only.
1626 # To use, TAXONOMY must be in one of your oper class blocks.
1627 #<module name="m_taxonomy.so">
1628
1629 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1630 # Test command module: Does nothing significant. Read: pointless.
1631 #<module name="m_testcommand.so">
1632
1633 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1634 # Timed bans module: Adds timed bans and the /TBAN command
1635 # This module is oper-only.
1636 # To use, TBAN must be in one of your oper class blocks.
1637 #<module name="m_timedbans.so">
1638
1639 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1640 # Test line module: Adds the /TLINE command, used to test how many
1641 # users a /GLINE or /ZLINE etc would match.
1642 # This module is oper-only.
1643 # To use, TLINE must be in one of your oper class blocks.
1644 #<module name="m_tline.so">
1645
1646 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1647 # UHNAMES support module: Adds support for the IRCX style UHNAMES
1648 # extension, which displays ident and hostname in the names list for
1649 # each user, saving clients from doing a WHO on the channel. Note that
1650 # this module is not widely supported yet. If a client does not support
1651 # UHNAMES it will not enable it, this will not break incompatible
1652 # clients.
1653 #<module name="m_uhnames.so">
1654
1655 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1656 # Uninvite module: Adds the /UNINVITE command which lets users remove
1657 # pending invites from channels without waiting for the user to join.
1658 #<module name="m_uninvite.so">
1659
1660 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1661 # Userip module: Adds the /USERIP command
1662 # This module is oper-only.
1663 # To use, USERIP must be in one of your oper class blocks.
1664 #<module name="m_userip.so">
1665
1666 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1667 # Vhost module: Adds the VHOST command which allows for adding virtual
1668 # hosts which are accessible using a username and password in the config.
1669 #<module name="m_vhost.so">
1670 #
1671 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1672 #                                                                     #
1673 # user       - Username for the vhost.                                #
1674 #                                                                     #
1675 # pass       - Password for the vhost.                                #
1676 #                                                                     #
1677 # host       - Vhost to set.                                          #
1678 #
1679 #<vhost user="some_username" pass="some_password" host="some.host">
1680
1681 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1682 # Watch module: Adds the WATCH command, which is used by clients to 
1683 # maintain notify lists.
1684 #<module name="m_watch.so">
1685 #
1686 # Configuration tags:
1687 #
1688 #<watch maxentries="32">
1689 #
1690 # Sets the maximum number of entries on a user's watch list.
1691
1692 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1693 # XLine database: Stores all *Lines (G/Z/K/R/any added by other modules)
1694 # in a file "xline.db" which can be re-loaded on restart. This is useful
1695 # for two reasons: it keeps bans so users may not evade them, and on
1696 # bigger networks, server connections will take less time as there will
1697 # be a lot less bans to apply - as most of them will already be there.
1698 #<module name="m_xline_db.so">
1699
1700 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1701 # ZipLinks module: Adds support for zlib deflate on server to server
1702 # connections. Both ends of the connection must load this module.
1703 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_ziplink.cpp
1704 # and run make install, then uncomment this module to enable it.
1705 #
1706 #<module name="m_ziplink.so">
1707 #
1708 # To use this module, you must enable it as a transport type in your
1709 # <link> tags or <bind> tags using the transport name 'zip'.
1710 # See the documentation of <link> and <bind>, respectively.
1711 #
1712
1713
1714 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1715 #    ____                _   _____ _     _       ____  _ _   _        #
1716 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
1717 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
1718 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
1719 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
1720 #                                                                     #
1721 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
1722 # module. Since several features (like SSL server links) rely on      #
1723 # other modules being loaded before m_spanningtree, the module itself #
1724 # is at the bottom of this file. DO NOT forget to load it. If you DO  #
1725 # NOT do this, server links will NOT work at all. ie. The ports will  #
1726 # NOT bind, and /connect will not work properly. This is by design,   #
1727 # to allow for the implementation of other linking protocols in       #
1728 # modules in the future.                                              #
1729 #                                                                     #
1730
1731 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1732 # Spanning Tree module - allows linking of servers using the spanning
1733 # tree protocol (see the READ THIS BIT section above).
1734 # You will almost always want to load this.
1735 #
1736 #<module name="m_spanningtree.so">
1737
1738