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