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