]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/conf/modules.conf.example
Move the <disabled> tag out of the core to a new module.
[user/henk/code/inspircd.git] / docs / 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 #  https://wiki.inspircd.org/3.0/Modules for a list of modules and    #
14 #  each modules link for any additional conf tags they require.       #
15 #                                                                     #
16 #    ____                _   _____ _     _       ____  _ _   _        #
17 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
18 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
19 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
20 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
21 #                                                                     #
22 # To link servers to InspIRCd, you MUST load the spanningtree module. #
23 # If you don't do this, server links will NOT work at all.            #
24 # This is by design, to allow for the implementation of other linking #
25 # protocols in modules in the future. This module is at the bottom of #
26 # this file.                                                          #
27 #                                                                     #
28
29 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
30 # MD5 module: Allows other modules to generate MD5 hashes, usually for
31 # cryptographic uses and security.
32 #
33 # IMPORTANT:
34 # Other modules such as cloaking and password_hash may rely on
35 # this module being loaded to function.
36 #
37 #<module name="md5">
38
39 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
40 # SHA256 module: Allows other modules to generate SHA256 hashes,
41 # usually for cryptographic uses and security.
42 #
43 # IMPORTANT:
44 # Other modules such as password_hash may rely on this module being
45 # loaded to function. Certain modules such as spanningtree will
46 # function without this module but when it is loaded their features will
47 # be enhanced (for example the addition of HMAC authentication).
48 #
49 #<module name="sha256">
50
51 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
52 # Abbreviation module: Provides the ability to abbreviate commands a-la
53 # BBC BASIC keywords.
54 #<module name="abbreviation">
55
56 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
57 # Alias module: Allows you to define server-side command aliases.
58 #<module name="alias">
59 #
60 # Set the 'prefix' for in-channel aliases (fantasy commands) to the
61 # specified character. If not set, the default is "!".
62 # If 'allowbots' is disabled, +B clients will not be able to use
63 # fantasy commands. If not set, the default is no.
64 #<fantasy prefix="!" allowbots="no">
65 #
66 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
67 #                                                                     #
68 # If you have the alias module loaded, you may also define aliases as #
69 # shown below. They are commonly used to provide shortcut commands to #
70 # services, however they are not limited to just this use.            #
71 # An alias tag requires the following values to be defined in it:     #
72 #                                                                     #
73 # text        -      The text to detect as the actual command line.   #
74 #                    Can't contain spaces, but case insensitive.      #
75 #                    You may have multiple aliases with the same      #
76 #                    command name (text="" value), however the first  #
77 #                    found will be executed if its format value is    #
78 #                    matched, or it has no format value. Aliases are  #
79 #                    read from the top of the file to the bottom.     #
80 #                                                                     #
81 # usercommand -      If this is true, the alias can be run simply as  #
82 #                    /aliasname. Defaults to true.                    #
83 #                                                                     #
84 # channelcommand -   If this is true, the alias can be used as an     #
85 #                    in-channel alias or 'fantasy command', prefixed  #
86 #                    by the fantasy prefix character, !aliasname by   #
87 #                    default. Defaults to false.                      #
88 #                                                                     #
89 # format      -      If this is defined, the parameters of the alias  #
90 #                    must match this glob pattern. For example if you #
91 #                    want the first parameter to start with a # for   #
92 #                    the alias to be executed, set format="#*" in the #
93 #                    alias definition. Note that the :'s which are    #
94 #                    part of IRC formatted lines will be preserved    #
95 #                    for matching of this text. This value is         #
96 #                    optional.                                        #
97 #                                                                     #
98 # replace     -      The text to replace 'text' with. Usually this    #
99 #                    will be "PRIVMSG ServiceName :$2-" or similar.   #
100 #                    You may use the variables $1 through $9 in the   #
101 #                    replace string, which refer to the first through #
102 #                    ninth word in the original string typed by the   #
103 #                    user. You may also use $1- through $9- which     #
104 #                    refer to the first word onwards, through to the  #
105 #                    ninth word onwards, e.g. if the user types the   #
106 #                    command "foo bar baz qux quz" then $3- will hold #
107 #                    "baz qux quz" and $2 will contain "bar". You may #
108 #                    also use the special variables: $nick, $ident,   #
109 #                    $host and $vhost, and you may separate multiple  #
110 #                    commands with a newline (which can be written in #
111 #                    the file literally, or encoded as &nl; or \n     #
112 #                    depending on the config format setting).         #
113 #                                                                     #
114 # requires    -      If you provide a value for 'requires' this means #
115 #                    the given nickname MUST be online for the alias  #
116 #                    to successfully trigger. If they are not, then   #
117 #                    the user receives a 'no such nick' 401 numeric.  #
118 #                                                                     #
119 # uline       -      Setting this to true will ensure that the user   #
120 #                    given in 'requires' is also on a u-lined server, #
121 #                    as well as actually being on the network. If the #
122 #                    user is online, but not on a u-lined server,     #
123 #                    then an oper alert is sent out as this is        #
124 #                    possibly a sign of a user trying to impersonate  #
125 #                    a service.                                       #
126 #                                                                     #
127 # operonly    -      If true, this will make the alias oper only.     #
128 #                    If a non-oper attempts to use the alias, it will #
129 #                    appear to not exist.                             #
130 #                                                                     #
131 #
132 # An example of using the format value to create an alias with two
133 # different behaviours depending on the format of the parameters.
134 #
135 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
136 #  requires="ChanServ" uline="yes">
137 #
138 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
139 #  requires="NickServ" uline="yes">
140 #
141 # This alias fixes a glitch in xchat 2.6.x and above and the way it
142 # assumes IDENTIFY must be prefixed by a colon (:) character. It should
143 # be placed ABOVE the default NICKSERV alias.
144 #
145 #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
146 #  requires="NickServ" uline="yes">
147 #
148 # You may also add aliases to trigger based on something said in a
149 # channel, aka 'fantasy' commands, configured in the same manner as any
150 # other alias, with usercommand="no" and channelcommand="yes" The
151 # command must be preceded by the fantasy prefix when used.
152 #
153 #<alias text="CS" usercommand="no" channelcommand="yes"
154 #  replace="PRIVMSG ChanServ :$1 $chan $2-" requires="ChanServ" uline="yes">
155 #
156 # This would be used as "!cs <command> <options>", with the channel
157 # being automatically inserted after the command in the message to
158 # ChanServ, assuming the fantasy prefix is "!".
159
160 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
161 # Allowinvite module: Gives channel mode +A to allow all users to use
162 # /INVITE, and extban A to deny invite from specific masks.
163 #<module name="allowinvite">
164
165 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
166 # Alltime module: Shows time on all connected servers at once.
167 # This module is oper-only and provides /ALLTIME.
168 # To use, ALLTIME must be in one of your oper class blocks.
169 #<module name="alltime">
170
171 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
172 # Anticaps module: Adds channel mode +B which allows you to punish
173 # users that send overly capitalised messages to channels. Unlike the
174 # blockcaps module this module is more flexible as it has more options
175 # for punishment and allows channels to configure their own punishment
176 # policies.
177 #<module name="anticaps">
178 #
179 # You may also configure the characters which anticaps considers to be
180 # lower case and upper case. Any characters not listed here are assumed
181 # to be punctuation and will be ignored when counting:
182 # <anticaps lowercase="abcdefghijklmnopqrstuvwxyz"
183 #           uppercase="ABCDEFGHIJKLMNOPQRSTUVWXYZ">
184
185 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
186 # Auditorium module: Adds channel mode +u which makes everyone else
187 # except you in the channel invisible, used for large meetings etc.
188 #<module name="auditorium">
189 #
190 # Auditorium settings:
191 #
192 #<auditorium opvisible="no" opcansee="no" opercansee="yes">
193 #
194 # opvisible (auditorium-vis in exemptchanops):
195 #   Show channel ops to all users
196 # opcansee (auditorium-see in exemptchanops):
197 #   Allow ops to see all joins/parts/kicks in the channel
198 # opercansee:
199 #   Allow opers (channels/auspex) to see see all joins/parts/kicks in the channel
200 #
201 # Exemptchanops can be used to adjust the level at which users become visible or
202 # the level at which they can see the full member list of the channel.
203
204 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
205 # Autoop module: Adds basic channel access controls via the +w listmode.
206 # For example +w o:*!Attila@127.0.0.1 will op anyone matching that mask
207 # on join. This can be combined with extbans, for example +w o:R:Brain
208 # will op anyone identified to the account "Brain".
209 # Another useful combination is with SSL client certificate
210 # fingerprints: +w h:z:72db600734bb9546c1bdd02377bc21d2a9690d48 will
211 # give halfop to the user(s) having the given certificate.
212 #<module name="autoop">
213
214 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
215 # Ban except module: Adds support for channel ban exceptions (+e).
216 #<module name="banexception">
217
218 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
219 # Ban redirection module: Allows bans which redirect to a specified
220 # channel. e.g. +b nick!ident@host#channelbanneduserissentto
221 #<module name="banredirect">
222
223 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
224 # bcrypt module: Allows other modules to generate bcrypt hashes,
225 # usually for cryptographic uses and security.
226 #<module name="bcrypt">
227 #
228 # rounds: Defines how many rounds the bcrypt function will run when
229 # generating new hashes.
230 #<bcrypt rounds="10">
231
232 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
233 # Block amsg module: Attempt to block all usage of /amsg and /ame.
234 #<module name="blockamsg">
235 #
236 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
237 #                                                                     #
238 # If you have the blockamsg module loaded, you can configure it with  #
239 # the <blockamsg> tag:                                                #
240 #                                                                     #
241 # delay          -   How much time between two messages to force them #
242 #                    to be recognised as unrelated.                   #
243 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
244 #                    or 'killopers'. Define how to take action when   #
245 #                    a user uses /amsg or /ame.                       #
246 #
247 #<blockamsg delay="3" action="killopers">
248
249 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
250 # Block CAPS module: Adds channel mode +B, blocks all-CAPS messages.
251 #
252 # NOTE: This module is deprecated and will be removed in a future version
253 # of InspIRCd. You should use the anticaps module shown above instead.
254 #<module name="blockcaps">
255 #
256 #-#-#-#-#-#-#-#-#-#-#-  BLOCKCAPS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
257 #                                                                     #
258 # percent        - The percentage of a message which must be upper    #
259 #                  case before it will be blocked.                    #
260 #                                                                     #
261 # minlen         - The minimum length a message must be before it     #
262 #                  will be blocked.                                   #
263 #                                                                     #
264 # lowercase      - The characters which will be considered lower      #
265 #                  case.                                              #
266 #                                                                     #
267 # uppercase      - The characters which will be considered upper      #
268 #                  case.                                              #
269 #
270 #<blockcaps percent="50"
271 #           minlen="5"
272 #           lowercase="abcdefghijklmnopqrstuvwxyz"
273 #           uppercase="ABCDEFGHIJKLMNOPQRSTUVWXYZ">
274
275 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
276 # Block color module: Blocking color-coded messages with chan mode +c.
277 #<module name="blockcolor">
278
279 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
280 # Botmode module: Adds the user mode +B. If set on a user, it will
281 # show that the user is a bot in /WHOIS.
282 #<module name="botmode">
283
284 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
285 # CallerID module: Adds usermode +g which activates hybrid-style
286 # callerid: block all private messages unless you /ACCEPT first.
287 #<module name="callerid">
288 #
289 #-#-#-#-#-#-#-#-#-#-#- CALLERID  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
290 # maxaccepts     - Maximum number of entries a user can add to their  #
291 #                  /ACCEPT list. Default is 30 entries.               #
292 # tracknick      - Preserve /ACCEPT entries when a user changes nick? #
293 #                  If no (the default), the user is removed from      #
294 #                  everyone's accept list if their nickname changes.  #
295 # cooldown       - Amount of time that must pass since the last       #
296 #                  notification sent to a user before they can be     #
297 #                  sent another. Default is 1 minute.                 #
298 #<callerid maxaccepts="30"
299 #          tracknick="no"
300 #          cooldown="1m">
301
302 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
303 # CAP module: Provides the CAP negotiation mechanism required by the
304 # sasl, namesx, uhnames, and ircv3 modules.
305 # It is also recommended for STARTTLS support in the starttls module.
306 #<module name="cap">
307
308 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
309 # CBAN module: Lets you disallow channels from being used at runtime.
310 # This module is oper-only and provides /CBAN.
311 # To use, CBAN must be in one of your oper class blocks.
312 #<module name="cban">
313
314 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
315 # Censor module: Adds channel and user mode +G.
316 #<module name="censor">
317 #
318 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
319 #                                                                     #
320 # Optional - If you specify to use the censor module, then you must   #
321 # specify some censor tags. See also:                                 #
322 # https://wiki.inspircd.org/Modules/3.0/censor                        #
323 #
324 #<include file="examples/censor.conf.example">
325
326 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
327 # CGI:IRC module: Enables forwarding the real IP address of a user from
328 # a gateway to the IRC server.
329 #<module name="cgiirc">
330 #
331 #-#-#-#-#-#-#-#-#-#-#-# CGIIRC  CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
332 #
333 # If you use the cgiirc module then you must specify the gateways which
334 # are authorised to forward IP/host information to your server. There
335 # are currently two ways to do this:
336 #
337 # The webirc method is the recommended way to allow gateways to forward
338 # IP/host information. When using this method the gateway sends a WEBIRC
339 # message to the server on connection. For more details please read the
340 # IRCv3 WebIRC specification at http://ircv3.net/specs/extensions/webirc.html.
341 #
342 # When using this method you must specify a wildcard mask or CIDR range
343 # to allow gateway connections from and at least one of either a SSL
344 # client certificate fingerprint for the gateway or a password to be
345 # sent in the WEBIRC command.
346 #
347 # <cgihost type="webirc"
348 #          fingerprint="bd90547b59c1942b85f382bc059318f4c6ca54c5"
349 #          mask="192.0.2.0/24">
350 # <cgihost type="webirc"
351 #          password="$2a$10$WEUpX9GweJiEF1WxBDSkeODBstIBMlVPweQTG9cKM8/Vd58BeM5cW"
352 #          hash="bcrypt"
353 #          mask="*.webirc.gateway.example.com">
354 #
355 # Alternatively if your gateway does not support sending the WEBIRC
356 # message then you can configure InspIRCd to look for the client IP
357 # address in the ident sent by the user. This is not recommended as it
358 # only works with IPv4 connections.
359 #
360 # When using this method you must specify a wildcard mask or CIDR range to allow
361 # gateway connections from. You can also optionally configure the static value
362 # that replaces the IP in the ident to avoid leaking the real IP address of
363 # gateway clients (defaults to "gateway" if not set).
364 #
365 # <cgihost type="ident"
366 #          mask="198.51.100.0/24"
367 #          newident="wibble">
368 # <cgihost type="ident"
369 #          mask="*.ident.gateway.example.com"
370 #          newident="wobble">
371 #
372 # By default gateway connections are logged to the +w snomask. If you
373 # do not want this to happen then you can uncomment this to disable it.
374 # <cgiirc opernotice="no">
375
376 # IMPORTANT NOTE:
377 # ---------------
378 #
379 # When you connect gateway clients, there are two connect classes which
380 # apply to these clients. When the client initially connects, the connect
381 # class which matches the gateway site's host is checked. Therefore you
382 # must raise the maximum local/global clients for this IP as high as you
383 # want to allow gateway clients. After the client has connected and is
384 # determined to be a gateway client, the class which matches the client's
385 # real IP is then checked. You may set this class to a lower value, so that
386 # the real IP of the client can still be restricted to, for example, 3
387 # sessions maximum.
388
389 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
390 # Channel create module: Adds snomask +j, which will notify opers of
391 # any new channels that are created.
392 # This module is oper-only.
393 #<module name="chancreate">
394
395 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
396 # Channel filter module: Allows channel-op defined message filtering
397 # using simple string matches (channel mode +g).
398 #<module name="chanfilter">
399 #
400 # If hidemask is set to yes, the user will not be shown the mask when
401 # his/her message is blocked.
402 #
403 # If maxlen is set then it defines the maximum length of a filter entry.
404 #
405 # If notifyuser is set to no, the user will not be notified when
406 # his/her message is blocked.
407 #<chanfilter hidemask="yes" maxlen="50" notifyuser="yes">
408
409 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
410 # Channel history module: Displays the last 'X' lines of chat to a user
411 # joining a channel with +H 'X:T' set; 'T' is the maximum time to keep
412 # lines in the history buffer. Designed so that the new user knows what
413 # the current topic of conversation is when joining the channel.
414 #<module name="chanhistory">
415 #
416 # Set the maximum number of lines allowed to be stored per channel below.
417 # This is the hard limit for 'X'.
418 # If notice is set to yes, joining users will get a NOTICE before playback
419 # telling them about the following lines being the pre-join history.
420 # If bots is set to yes, it will also send to users marked with +B
421 #<chanhistory maxlines="50" notice="yes" bots="yes">
422
423 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
424 # Channel logging module: Used to send snotice output to channels, to
425 # allow staff to centrally monitor and discuss network activity.
426 #
427 # The "channel" field is where you want the messages to go, "snomasks"
428 # is what snomasks you want to be sent to that channel. Multiple tags
429 # are allowed.
430 #<module name="chanlog">
431 #<chanlog snomasks="AOcC" channel="#opers">
432
433 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
434 # Channel names module: Allows disabling channels which have certain
435 # characters in the channel name such as bold, colorcodes, etc. which
436 # can be quite annoying and allow users to on occasion have a channel
437 # that looks like the name of another channel on the network.
438 #<module name="channames">
439
440 #<channames
441         # denyrange: characters or range of characters to deny in channel
442         # names.
443         #denyrange="2,3"
444
445         # allowrange: characters or range of characters to specifically allow
446         # in channel names.
447         #allowrange="">
448
449 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
450 # Channelban: Implements extended ban j:, which stops anyone already
451 # in a channel matching a ban like +b j:#channel*mask from joining.
452 # Note that by default wildcard characters * and ? are allowed in
453 # channel names. To disallow them, load m_channames and add characters
454 # 42 and 63 to denyrange (see above).
455 #<module name="channelban">
456
457 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
458 # Check module: Adds the /CHECK command.
459 # Check is useful for looking up information on channels, users,
460 # IP addresses and hosts.
461 # This module is oper-only.
462 # To use, CHECK must be in one of your oper class blocks.
463 #<module name="check">
464
465 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
466 # CHGHOST module: Adds the /CHGHOST command.
467 # This module is oper-only.
468 # To use, CHGHOST must be in one of your oper class blocks.
469 # NOTE: Services will not be able to set vhosts on users if this module
470 # isn't loaded. If you're planning on running services, you probably
471 # want to load this.
472 #<module name="chghost">
473 #
474 #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST  CONFIGURATION #-#-#-#-#-#-#-#-#
475 # Optional - If you want to use special chars for hostnames you can  #
476 # specify your own custom list of chars with the <hostname> tag:     #
477 #                                                                    #
478 # charmap        - A list of chars accepted as valid by the /CHGHOST #
479 #                  and /SETHOST commands. Also note that the list is #
480 #                  case-sensitive.                                   #
481 #<hostname charmap="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_/0123456789">
482
483 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
484 # CHGIDENT module: Adds the /CHGIDENT command.
485 # This module is oper-only.
486 # To use, CHGIDENT must be in one of your oper class blocks.
487 #<module name="chgident">
488
489 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
490 # CHGNAME module: Adds the /CHGNAME command.
491 # This module is oper-only.
492 # To use, CHGNAME must be in one of your oper class blocks.
493 #<module name="chgname">
494 #
495 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
496 # Connection class ban module: Adds support for extban 'n' which 
497 # matches against the class name of the user's connection.
498 # This module assumes that connection classes are named in a uniform
499 # way on all servers of the network.
500 #<module name="classban">
501
502 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
503 # Clear chan module: Allows opers to masskick, masskill or
504 # mass G/Z-line all users on a channel using /CLEARCHAN.
505 #<module name="clearchan">
506
507 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
508 # Cloaking module: Adds usermode +x and cloaking support.
509 # Relies on the md5 module being loaded.
510 # To cloak users when they connect, load the conn_umodes module and set
511 # <connect:modes> to include the +x mode. The example <connect> tag
512 # shows this. See the conn_umodes module for more information.
513 #<module name="cloaking">
514 #
515 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
516 #                                                                     #
517 # To use cloaking, you must define a cloak key, and optionally a      #
518 # cloak prefix as shown below. The cloak key must be shared across    #
519 # the network for consistent cloaking and must be at least thirty     #
520 # characters long.                                                    #
521 #                                                                     #
522 # There are two methods of cloaking:                                  #
523 #                                                                     #
524 #   half           Cloak only the "unique" portion of a host; by      #
525 #                  default show the last 2 parts of the domain,       #
526 #                  /16 subnet of IPv4 or /48 subnet of the IPv6       #
527 #                  address.                                           #
528 #                  To change the number of shown parts, modify the    #
529 #                  domainparts option.                                #
530 #                                                                     #
531 #   full           Cloak the users completely, using three slices for #
532 #                  common CIDR bans (IPv4: /16, /24; IPv6: /48, /64). #
533 #                                                                     #
534 # The methods use a single key that can be any length of text.        #
535 # An optional prefix may be specified to mark cloaked hosts.          #
536 #                                                                     #
537 # IMPORTANT: Changing these details will break all of your existing   #
538 # bans. If you do not want this to happen you can define multiple     #
539 # cloak tags. The first will be used for cloaking and the rest will   #
540 # be used for checking if a user is banned in a channel.              #
541 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
542 #
543 #<cloak mode="half"
544 #       key="changeme"
545 #       domainparts="3"
546 #       prefix="net-">
547 #
548 #<cloak mode="full"
549 #       key="changeme"
550 #       prefix="net-">
551
552 #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
553 # Close module: Allows an oper to close all unregistered connections.
554 # This module is oper-only and provides the /CLOSE command.
555 # To use, CLOSE must be in one of your oper class blocks.
556 #<module name="close">
557
558 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
559 # Clones module: Adds an oper command /CLONES for detecting cloned
560 # users. Warning: This command may be resource intensive when it is
561 # issued, use with care.
562 # This module is oper-only.
563 # To use, CLONES must be in one of your oper class blocks.
564 #<module name="clones">
565
566 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
567 # Common channels module: Adds user mode +c, which, when set, requires
568 # that users must share a common channel with you to PRIVMSG or NOTICE
569 # you.
570 #<module name="commonchans">
571
572 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
573 # Auto join on connect module: Allows you to force users to join one
574 # or more channels automatically upon connecting to the server, or
575 # join them in case they aren't on any channels after being online
576 # for X seconds.
577 #<module name="conn_join">
578 #
579 #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
580 #
581 # If you have the conn_join module loaded, you can configure it below
582 # or set autojoin="#chat,#help" in <connect> blocks.
583 #
584 # Join users immediately after connection to #one #two and #three.
585 #<autojoin channel="#one,#two,#three">
586 # Join users to #chat after 15 seconds if they aren't on any channels.
587 #<autojoin channel="#chat" delay="15">
588
589 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
590 # Set modes on connect module: When this module is loaded <connect>
591 # blocks may have an optional modes="" value, which contains modes to
592 # add or remove from users when they connect to the server.
593 #<module name="conn_umodes">
594
595 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
596 # Wait for PONG on connect module: Send a PING to all connecting users
597 # and don't let them connect until they reply with a PONG.
598 # This is useful to stop certain kinds of bots and proxies.
599 #<module name="conn_waitpong">
600 #
601 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
602 #                                                                     #
603 # If you have the conn_waitpong module loaded, configure it with the  #
604 # <waitpong> tag:                                                     #
605 #                                                                     #
606 # sendsnotice    -   Whether to send a helpful notice to users on     #
607 #                    connect telling them how to connect, should      #
608 #                    their client not reply PONG automatically.       #
609 #                                                                     #
610 # killonbadreply -   Whether to kill the user if they send the wrong  #
611 #                    PONG reply.                                      #
612 #                                                                     #
613 #<waitpong sendsnotice="yes" killonbadreply="yes">
614
615 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
616 # Channel cycle module: Adds the /CYCLE command which is a server-side
617 # /HOP that bypasses restrictive modes.
618 #<module name="cycle">
619
620 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
621 # Connectban: Provides IP connection throttling. Any IP range that
622 # connects too many times (configurable) in an hour is Z-lined for a
623 # (configurable) duration, and their count resets to 0.
624 #<module name="connectban">
625 #
626 # ipv4cidr and ipv6cidr allow you to turn the comparison from
627 # individual IP addresses (32 and 128 bits) into CIDR masks, to allow
628 # for throttling over whole ISPs/blocks of IPs, which may be needed to
629 # prevent attacks.
630 #
631 # This allows for 10 connections in an hour with a 10 minute ban if
632 # that is exceeded.
633 #<connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128"
634 # A custom ban message may optionally be specified.
635 # banmessage="Your IP range has been attempting to connect too many times in too short a duration. Wait a while, and you will be able to connect.">
636
637 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
638 # Connection throttle module.
639 #<module name="connflood">
640 #
641 #-#-#-#-#-#-#-#-#-#-#- CONNTHROTTLE CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
642 #  period, maxconns -  Amount of connections per <period>.
643 #
644 #  timeout           -  Time to wait after the throttle was activated
645 #                       before deactivating it. Be aware that the time
646 #                       is seconds + timeout.
647 #
648 #  quitmsg           -  The message that users get if they attempt to
649 #                       connect while the throttle is active.
650 #
651 #  bootwait          -  Amount of time in seconds to wait before enforcing
652 #                       the throttling when the server just booted.
653 #
654 #<connflood seconds="30" maxconns="3" timeout="30"
655 #   quitmsg="Throttled" bootwait="10">
656
657 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
658 # Custom prefixes: Allows for channel prefixes to be configured.
659 #<module name="customprefix">
660 #
661 # name       The name of the mode, must be unique from other modes.
662 # letter     The letter used for this mode. Required.
663 # prefix     The prefix used for nicks with this mode. Not required.
664 # rank       A numeric rank for this prefix, defining what permissions it gives.
665 #            The rank of voice, halfop and op is 10000, 20000, and 30000,
666 #            respectively.
667 # ranktoset  The numeric rank required to set this mode. Defaults to rank.
668 # ranktounset The numeric rank required to unset this mode. Defaults to ranktoset.
669 # depriv     Can you remove the mode from yourself? Defaults to yes.
670 #<customprefix name="founder" letter="q" prefix="~" rank="50000" ranktoset="50000">
671 #<customprefix name="admin" letter="a" prefix="&amp;" rank="40000" ranktoset="50000">
672 #<customprefix name="halfop" letter="h" prefix="%" rank="20000" ranktoset="30000">
673 #
674 # You can also override the configuration of prefix modes added by both the core
675 # and other modules by adding a customprefix tag with change="yes" specified.
676 # <customprefix name="op" change="yes" rank="30000" ranktoset="30000">
677 # <customprefix name="voice" change="yes" rank="10000" ranktoset="10000" depriv="no">
678 #
679 # Do /RELOADMODULE customprefix after changing the settings of this module.
680
681 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
682 # Custom title module: Adds the /TITLE command which allows for trusted
683 # users to gain a custom whois line and an optional vhost can be
684 # specified.
685 #<module name="customtitle">
686 #
687 #-#-#-#-#-#-#-#-#-#-  CUSTOM TITLE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#
688 #  name     - The username used to identify.
689 #  password - The password used to identify.
690 #  hash     - The hash for the specific user's password (optional).
691 #             password_hash and a hashing module must be loaded
692 #             for this to work.
693 #  host     - Allowed hostmask (optional).
694 #  title    - Title shown in whois.
695 #  vhost    - Displayed host (optional).
696 #
697 #<title name="foo" password="bar" title="Official Chat Helper">
698 #<title name="bar" password="foo" host="ident@test.org" title="Official Chat Helper" vhost="helper.test.org">
699 #<title name="foo" password="$2a$10$UYZ4OcO8NNTCCGyCdY9SK.2GHiqGgxZfHFPOPmWuxEVWVQTtoDC7C" hash="bcrypt" title="Official Chat Helper">
700
701 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
702 # DCCALLOW module: Adds the /DCCALLOW command.
703 #<module name="dccallow">
704 #
705 #-#-#-#-#-#-#-#-#-#-#-  DCCALLOW CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
706 #  blockchat         - Whether to block DCC CHAT as well as DCC SEND.
707 #  length            - Default duration of entries in DCCALLOW list.
708 #  action            - Default action to take if no action is
709 #                      specified, can be 'block' or 'allow'.
710 #  maxentries        - Max number of nicks to allow on a DCCALLOW list.
711 #
712 # File configuration:
713 #  pattern           - The glob pattern to match against.
714 #  action            - Action to take if a user attempts to send a file
715 #                      that matches this pattern, can be 'block' or
716 #                      'allow'.
717 #
718 #<dccallow blockchat="yes" length="5m" action="block" maxentries="20">
719 #<banfile pattern="*.exe" action="block">
720 #<banfile pattern="*.txt" action="allow">
721
722 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
723 # Deaf module: Adds support for the usermode +d - deaf to channel
724 # messages and channel notices.
725 #<module name="deaf">
726
727 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
728 # Delay join module: Adds the channel mode +D which delays all JOIN
729 # messages from users until they speak. If they quit or part before
730 # speaking, their quit or part message will not be shown to the channel
731 # which helps cut down noise on large channels in a more friendly way
732 # than the auditorium mode. Only channel ops may set the +D mode.
733 #<module name="delayjoin">
734
735 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
736 # Delay message module: Adds the channel mode +d which disallows a user
737 # from talking in the channel unless they've been joined for X seconds.
738 # Settable using /MODE #chan +d 30
739 #<module name="delaymsg">
740 # Set allownotice to no to disallow NOTICEs too. Defaults to yes.
741 #<delaymsg allownotice="no">
742
743 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
744 # Deny channels module: Deny channels from being used by users.
745 #<module name="denychans">
746 #
747 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
748 #                                                                     #
749 # If you have the denychans module loaded, you need to specify the    #
750 # channels to deny:                                                   #
751 #                                                                     #
752 # name        -      The channel name to deny (glob masks are ok).    #
753 # allowopers  -      If operators are allowed to override the deny.   #
754 # reason      -      Reason given for the deny.                       #
755 # redirect    -      Redirect the user to a different channel.        #
756 #                                                                     #
757 #<badchan name="#gods*" allowopers="yes" reason="Tortoises!">         #
758 #<badchan name="#chan1" redirect="#chan2" reason="Chan1 is closed">   #
759 #                                                                     #
760 # Redirects will not work if the target channel is set +L.            #
761 #                                                                     #
762 # Additionally, you may specify channels which are allowed, even if   #
763 # a badchan tag specifies it would be denied:                         #
764 #<goodchan name="#funtimes">                                          #
765 # Glob masks are accepted here also.                                  #
766
767 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
768 # Disable module: Provides support for disabling commands and modes.  #
769 #<module name="disable">
770 #
771 #-#-#-#-#-#-#-#-#-#-#-#- DISABLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
772 #                                                                     #
773 # If you have the disable module loaded then you need to specify the  #
774 # commands and modes that you want disabled. Users who have not fully #
775 # connected yet are exempt from this module so you can e.g. disable   #
776 # the NICK command but still allow users to connect to the server.    #
777 #                                                                     #
778 # commands - A space-delimited list of commands that can not be used  #
779 #            by users. You can exempt server operators from this with #
780 #            the servers/use-disabled-commands privilege.             #
781 #                                                                     #
782 # chanmodes - One or more channel modes that can not be added/removed #
783 #             by users. You can exempt server operators from this     #
784 #             with the servers/use-disabled-commands privilege.       #
785 #                                                                     #
786 # usermodes - One or more user modes that can not be added/removed by #
787 #             users. You can exempt server operators from this with   #
788 #             the servers/use-disabled-commands privilege.            #
789 #                                                                     #
790 # fakenonexistent - Whether to pretend that a disabled command/mode   #
791 #                   does not exist when executed/changed by a user.   #
792 #                   Defaults to no.                                   #
793 #                                                                     #
794 # notifyopers - Whether to send a notice to snomask `a` when a user   #
795 #               is prevented from using a disabled command/mode.      #
796 #               Defaults to no.                                       #
797 #                                                                     #
798 #<disabled commands="KICK TOPIC"                                      #
799 #          chanmodes="kp"                                             #
800 #          usermodes="iw"                                             #
801 #          fakenonexistent="yes"                                      #
802 #          notifyopers="no">                                          #
803
804 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
805 # DNS blacklist module: Provides support for looking up IPs on one or #
806 # more blacklists.                                                    #
807 #<module name="dnsbl">                                                #
808 #                                                                     #
809 # For configuration options please see the wiki page for dnsbl at     #
810 # https://wiki.inspircd.org/Modules/3.0/dnsbl                         #
811
812 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
813 # Exempt channel operators module: Provides support for allowing      #
814 # users of a specified channel status to be exempt from some channel  #
815 # restriction modes. Supported restrictions are                       #
816 # blockcaps, blockcolor, censor, filter, flood, nickflood, noctcp,    #
817 # nonick, nonotice, regmoderated, stripcolor, and topiclock.          #
818 # See <options:exemptchanops> in inspircd.conf.example for a more     #
819 # detailed list of the restriction modes that can be exempted.        #
820 # These are settable using /mode #chan +X <restriction>:<status>      #
821 #<module name="exemptchanops">                                        #
822
823 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
824 # Filter module: Provides message filtering, similar to SPAMFILTER.   #
825 #<module name="filter">
826 #                                                                     #
827 # This module depends upon a regex provider such as regex_pcre or     #
828 # regex_glob to function. You must specify which of these you want    #
829 # the filter module to use via the tag below.                         #
830 #                                                                     #
831 # Valid engines are:                                                  #
832 #                                                                     #
833 # glob   - Glob patterns, provided via regex_glob.                    #
834 # pcre   - PCRE regexps, provided via regex_pcre, needs libpcre.      #
835 # tre    - TRE regexps, provided via regex_tre, requires libtre.      #
836 # posix  - POSIX regexps, provided via regex_posix, not available     #
837 #          on Windows, no dependencies on other operating systems.    #
838 # stdlib - stdlib regexps, provided via regex_stdlib, see comment     #
839 #          at the <module> tag for info on availability.              #
840 #                                                                     #
841 # If notifyuser is set to no, the user will not be notified when      #
842 # his/her message is blocked.                                         #
843 #<filteropts engine="glob" notifyuser="yes">
844 #                                                                     #
845 # Your choice of regex engine must match on all servers network-wide. #
846 #                                                                     #
847 # To learn more about the configuration of this module, read          #
848 # examples/filter.conf.example, which covers the various types of     #
849 # filters and shows how to add exemptions.                            #
850 #                                                                     #
851 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
852 #                                                                     #
853 # Optional - If you specify to use the filter module, then            #
854 # specify below the path to the filter.conf file, or define some      #
855 # <filter> tags.                                                      #
856 #                                                                     #
857 #<include file="examples/filter.conf.example">
858
859 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
860 # Flash Policy Daemon module: Allows Flash IRC clients (e.g. LightIRC)#
861 # to connect. If no file is specified, it'll serve a default policy   #
862 # allowing all IPs to connect to all plaintext IRC ports              #
863 #<bind address="" port="8430" type="flashpolicyd">                    #
864 #<flashpolicyd timeout="5" file="">                                   #
865 #<module name="flashpolicyd">                                         #
866
867 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
868 # Real name ban: Implements two extended bans:                        #
869 # 'a', which matches a n!u@h+realname mask like +b a:*!*@host+*real*  #
870 # 'r', which matches a realname mask like +b r:*realname?here*        #
871 #<module name="gecosban">
872
873 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
874 # GeoIP module: Allows the server admin to match users by country code.
875 # This module is in extras. Re-run configure with:
876 # ./configure --enable-extras=m_geoip.cpp
877 # and run make install, then uncomment this module to enable it.
878 # This module requires GeoIP to be installed on your system,
879 # use your package manager to find the appropriate packages
880 # or check the InspIRCd wiki page for this module.
881 #<module name="geoip">
882 #
883 # The actual allow/ban actions are done by connect classes, not by the
884 # GeoIP module. An example connect class to ban people from russia or
885 # turkey:
886 #
887 # <connect deny="*" geoip="TR,RU">
888 #
889 # If enabled you can also ban people from channnels by country code
890 # using the G: extban (e.g. /mode #channel +b G:US).
891 # <geoip extban="yes">
892 #
893 # The country code must be in capitals and should be an ISO country
894 # code such as TR, GB, or US. Unknown IPs (localhost, LAN IPs, etc)
895 # will be assigned the country code "UNK". Since connect classes are
896 # matched from top down, your deny classes must be above your allow
897 # classes for them to match.
898
899 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
900 # Globops module: Provides the /GLOBOPS command and snomask +g.
901 # This module is oper-only.
902 # To use, GLOBOPS must be in one of your oper class blocks.
903 #<module name="globops">
904
905 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
906 # Global load module: Allows loading and unloading of modules network-
907 # wide (USE WITH EXTREME CAUTION!)
908 # This module is oper-only and provides /GLOADMODULE, /GUNLOADMODULE
909 # and /GRELOADMODULE.
910 # To use, GLOADMODULE, GUNLOADMODULE and GRELOADMODULE
911 # must be in one of your oper class blocks.
912 #<module name="globalload">
913
914 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
915 # HAProxy module: Adds support for the HAProxy PROXY v2 protocol. To
916 # use this module specify hook="haproxy" in the <bind> tag that HAProxy
917 # has been configured to connect to.
918 #<module name="haproxy">
919
920 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
921 # HELPOP module: Provides the /HELPOP command
922 #<module name="helpop">
923 #
924 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
925 #                                                                     #
926 # If you specify to use the helpop module, then specify below the     #
927 # path to the helpop.conf file.                                       #
928 #                                                                     #
929 #<include file="examples/helpop-full.conf.example">
930
931 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
932 # Hide chans module: Allows users to hide their channels list from non-
933 # opers by setting user mode +I on themselves.
934 #<module name="hidechans">
935 #
936 # This mode can optionally prevent opers from seeing channels on a +I
937 # user, for more privacy if set to true.
938 # This setting is not recommended for most mainstream networks.
939 #<hidechans affectsopers="false">
940
941 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
942 # Hide list module: Allows for hiding the list of listmodes from users
943 # who do not have sufficient channel rank.
944 #<module name="hidelist">
945 #
946 # Each <hidelist> tag configures one listmode to hide.
947 # mode: Name of the listmode to hide.
948 # rank: Minimum rank required to view the list. If set to 0, all
949 # members of the channel may view the list, but non-members may not.
950 # The rank of the built-in op and voice mode is 30000 and 10000,
951 # respectively; the rank of other prefix modes is configurable.
952 # Defaults to 20000.
953 #
954 # Hiding the ban list is not recommended because it may break some
955 # clients.
956 #
957 # Hide filter (+g) list:
958 #<hidelist mode="filter" rank="30000">
959 # Only show invite exceptions (+I) to channel members:
960 #<hidelist mode="invex" rank="0">
961
962 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
963 # Hide mode module: Allows for hiding mode changes from users who do not
964 # have sufficient channel privileges.
965 #<module name="hidemode">
966 #
967 # Hide bans (+b) from people who are not voiced:
968 #<hidemode mode="ban" rank="10000">
969
970 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
971 # Hide oper module: Allows opers to hide their oper status from non-
972 # opers by setting user mode +H on themselves.
973 # This module is oper-only.
974 #<module name="hideoper">
975
976 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
977 # Hostchange module: Allows a different style of cloaking.
978 #<module name="hostchange">
979 #
980 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
981 #                                                                     #
982 # See https://wiki.inspircd.org/Modules/3.0/hostchange for help.      #
983 #                                                                     #
984 #<hostchange mask="*@42.theanswer.example.org" action="addaccount" suffix=".users.example.com">
985 #<hostchange mask="*root@*" action="addnick" prefix="example/users/">
986 #<hostchange mask="a@example.com" action="set" value="foo.bar.baz">
987 #<hostchange mask="*@localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
988
989 # hostcycle: If loaded, when a user gets a host or ident set, it will
990 # cycle them in all their channels. If not loaded it will simply change
991 # their host/ident without cycling them.
992 # This module is compatible with the ircv3_chghost module. Clients
993 # supporting the chghost extension will get the chghost message instead
994 # of seeing a host cycle.
995 #<module name="hostcycle">
996
997 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
998 # httpd module: Provides HTTP server support for InspIRCd.
999 #<module name="httpd">
1000 #
1001 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1002 #
1003 # If you choose to use the httpd module, then you will need to add
1004 # a <bind> tag with type "httpd", and load at least one of the other
1005 # httpd_* modules to provide pages to display.
1006 # <bind address="127.0.0.1" port="8067" type="httpd">
1007 # <bind address="127.0.0.1" port="8097" type="httpd" ssl="gnutls">
1008 #
1009 # You can adjust the timeout for HTTP connections below. All HTTP
1010 # connections will be closed after (roughly) this time period.
1011 #<httpd timeout="20">
1012
1013 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1014 # HTTP ACL module: Provides access control lists for httpd dependent
1015 # modules. Use this module to restrict pages by IP address and by
1016 # password.
1017 #<module name="httpd_acl">
1018 #
1019 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD ACL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1020 #
1021 # Restrict access to the httpd_stats module to all but the local
1022 # network and when the correct password is specified:
1023 # <httpdacl path="/stats*" types="password,whitelist"
1024 #    username="secrets" password="mypasshere" whitelist="127.0.0.*,10.*">
1025 #
1026 # Deny all connections to all but the main index page:
1027 # <httpdacl path="/*" types="blacklist" blacklist="*">
1028
1029 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1030 # HTTP config module: Allows the server configuration to be viewed over
1031 # HTTP via the /config path. Requires the httpd module to be loaded for
1032 # it to function.
1033 #
1034 # IMPORTANT: This module exposes extremely sensitive information about
1035 # your server and users so you *MUST* protect it using a local-only
1036 # <bind> tag and/or the httpd_acl module. See above for details.
1037 #<module name="httpd_config">
1038
1039 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1040 # HTTP stats module: Provides server statistics over HTTP via the /stats
1041 # path. Requires the httpd module to be loaded for it to function.
1042 #
1043 # IMPORTANT: This module exposes extremely sensitive information about
1044 # your server and users so you *MUST* protect it using a local-only
1045 # <bind> tag and/or the httpd_acl module. See above for details.
1046 #<module name="httpd_stats">
1047
1048 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1049 # Ident: Provides RFC 1413 ident lookup support.
1050 # When this module is loaded <connect:allow> tags may have an optional
1051 # useident="yes|no" boolean value, determining whether or not to lookup
1052 # ident on users matching that connect tag.
1053 #<module name="ident">
1054 #
1055 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1056 #                                                                     #
1057 # Optional - If you are using the ident module, then you can specify  #
1058 # the timeout for ident lookups here. If not defined, it will default #
1059 # to 5 seconds. This is a non-blocking timeout which holds the user   #
1060 # in a 'connecting' state until the lookup is complete.               #
1061 # nolookupprefix: If on, the idents of users being in a connect class #
1062 # with ident lookups disabled (i.e. <connect useident="off">) will be #
1063 # prefixed with a "~". If off, the ident of those users will not be   #
1064 # prefixed. Default is off.                                           #
1065 #
1066 #<ident timeout="5" nolookupprefix="no">
1067
1068 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1069 # Invite exception module: Adds support for channel invite exceptions
1070 # (+I).
1071 #<module name="inviteexception">
1072 # bypasskey: If this is enabled, exceptions will bypass +k as well as +i
1073 #<inviteexception bypasskey="yes">
1074
1075 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1076 # IRCv3 module: Provides the following IRCv3 extensions:
1077 # extended-join, away-notify and account-notify. These are optional
1078 # enhancements to the client-to-server protocol. An extension is only
1079 # active for a client when the client specifically requests it, so this
1080 # module needs the cap module to work.
1081 #
1082 # Further information on these extensions can be found at the IRCv3
1083 # working group website:
1084 # http://ircv3.net/irc/
1085 #
1086 #<module name="ircv3">
1087 # The following block can be used to control which extensions are
1088 # enabled. Note that extended-join can be incompatible with delayjoin
1089 # and host cycling.
1090 #<ircv3 accountnotify="on" awaynotify="on" extendedjoin="on">
1091
1092 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1093 # IRCv3 account-tag module. Adds the 'account' tag which contains the
1094 # services account name of the message sender.
1095 #<module name="ircv3_accounttag">
1096
1097 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1098 # IRCv3 batch module: Provides the batch IRCv3 extension which allows
1099 # the server to inform a client that a group of messages are related to
1100 # each other.
1101 #<module name="ircv3_batch">
1102
1103 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1104 # IRCv3 cap-notify module: Provides the cap-notify IRCv3 extension.
1105 # Required for IRCv3 conformance.
1106 #<module name="ircv3_capnotify">
1107
1108 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1109 # IRCv3 chghost module: Provides the chghost IRCv3 extension which
1110 # allows capable clients to learn when the host/ident of another user
1111 # changes without cycling the user. This module is compatible with the
1112 # hostcycle module. If both are loaded, clients supporting the chghost
1113 # extension will get the chghost message and won't see host cycling.
1114 #<module name="ircv3_chghost">
1115
1116 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1117 # IRCv3 echo-message module: Provides the echo-message IRCv3
1118 # extension which allows capable clients to get an acknowledgement when
1119 # their messages are delivered and learn what modifications, if any,
1120 # were applied to them.
1121 #<module name="ircv3_echomessage">
1122
1123 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1124 # IRCv3 invite-notify module: Provides the invite-notify IRCv3
1125 # extension which notifies supporting clients when a user invites
1126 # another user into a channel. This respects <options:announceinvites>.
1127 #<module name="ircv3_invitenotify">
1128
1129 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1130 # IRCv3 server-time module. Adds the 'time' tag which adds a timestamp
1131 # to all messages received from the server.
1132 #<module name="ircv3_servertime">
1133
1134 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1135 # IRCv3 Strict Transport Security module: Provides the sts IRCv3
1136 # extension which allows clients connecting insecurely to upgrade their
1137 # connections to TLS.
1138 #<module name="ircv3_sts">
1139 #
1140 # If using the ircv3_sts module you MUST define a STS policy to send
1141 # to clients using the <sts> tag. This tag takes the following
1142 # attributes:
1143 #
1144 # host     - A glob match for the SNI hostname to apply this policy to.
1145 # duration - The amount of time that the policy lasts for. Defaults to
1146 #            approximately two months by default.
1147 # port     - The port on which TLS connections to the server are being
1148 #            accepted. You MUST have a CA-verified certificate on this
1149 #            port. Self signed certificates are not acceptable.
1150 # preload  - Whether client developers can include your certificate in
1151 #            preload lists.
1152 #
1153 # <sts host="*.example.com" duration="60d" port="6697" preload="yes">
1154
1155 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1156 # Join flood module: Adds support for join flood protection +j X:Y.
1157 # Closes the channel for N seconds if X users join in Y seconds.
1158 #<module name="joinflood">
1159 #
1160 # The number of seconds to close the channel for:
1161 #<joinflood duration="1m">
1162
1163 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1164 # Jump server module: Adds support for the RPL_REDIR numeric.
1165 # This module is oper-only.
1166 # To use, JUMPSERVER must be in one of your oper class blocks.
1167 # If your server is redirecting new clients and you get disconnected,
1168 # do a REHASH from shell to open up again.
1169 #<module name="jumpserver">
1170
1171 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1172 # Anti auto rejoin: Adds support for prevention of auto-rejoin (+J).
1173 #<module name="kicknorejoin">
1174
1175 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1176 # Knock module: Adds the /KNOCK command and channel mode +K.
1177 #<module name="knock">
1178 #
1179 # This setting specifies what to do when someone successfully /KNOCKs.
1180 # If set to "notice", then a NOTICE will be sent to the channel.
1181 # This is the default and the compatible setting, as it requires no
1182 # special support from the clients.
1183 # If set to "numeric" then a 710 numeric will be sent to the channel.
1184 # This allows easier scripting but not all clients support it.
1185 # If set to "both" then (surprise!) both will be sent.
1186 #<knock notify="notice">
1187
1188 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1189 # LDAP module: Allows other SQL modules to access a LDAP database
1190 # through a unified API.
1191 # This modules is in extras. Re-run configure with:
1192 # ./configure --enable-extras=m_ldap.cpp
1193 # and run make install, then uncomment this module to enable it.
1194 #
1195 #<module name="ldap">
1196 #<database module="ldap" id="ldapdb" server="ldap://localhost" binddn="cn=Manager,dc=inspircd,dc=org" bindauth="mysecretpass" searchscope="subtree">
1197 # The server parameter indicates the LDAP server to connect to. The   #
1198 # ldap:// style scheme before the hostname proper is MANDATORY.       #
1199 #                                                                     #
1200 # The binddn and bindauth indicate the DN to bind to for searching,   #
1201 # and the password for the distinguished name. Some LDAP servers will #
1202 # allow anonymous searching in which case these two values do not     #
1203 # need defining, otherwise they should be set similar to the examples #
1204 # above.                                                              #
1205 #                                                                     #
1206 # The searchscope value indicates the subtree to search under. On our #
1207 # test system this is 'subtree'. Your mileage may vary.               #
1208
1209 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1210 # LDAP authentication module: Adds the ability to authenticate users  #
1211 # via LDAP.                                                           #
1212 #<module name="ldapauth">
1213 #                                                                     #
1214 # Configuration:                                                      #
1215 #                                                                     #
1216 # <ldapauth dbid="ldapdb"                                             #
1217 #           baserdn="ou=People,dc=brainbox,dc=cc"                     #
1218 #           attribute="uid"                                           #
1219 #           allowpattern="Guest* Bot*"                                #
1220 #           killreason="Access denied"                                #
1221 #           verbose="yes"                                             #
1222 #           host="$uid.$ou.inspircd.org"                              #
1223 #           useusername="no">                                         #
1224 #                                                                     #
1225 # <ldapwhitelist cidr="10.42.0.0/16">                                 #
1226 #                                                                     #
1227 # <ldaprequire attribute="attr" value="val">                          #
1228 #                                                                     #
1229 # The baserdn indicates the base DN to search in for users. Usually   #
1230 # this is 'ou=People,dc=yourdomain,dc=yourtld'.                       #
1231 #                                                                     #
1232 # The attribute value indicates the attribute which is used to locate #
1233 # a user account by name. On POSIX systems this is usually 'uid'.     #
1234 #                                                                     #
1235 # The allowpattern value allows you to specify a space separated list #
1236 # of wildcard masks which will always be allowed to connect           #
1237 # regardless of if they have an account, for example guest and bot    #
1238 # users.                                                              #
1239 #                                                                     #
1240 # The useusername setting chooses whether the user's username or      #
1241 # nickname is used when locating a user account, if a username isn't  #
1242 # provided in PASS.                                                   #
1243 #                                                                     #
1244 # Killreason indicates the QUIT reason to give to users if they fail  #
1245 # to authenticate.                                                    #
1246 #                                                                     #
1247 # Setting the verbose value causes an oper notice to be sent out for  #
1248 # every failed authentication to the server, with an error string.    #
1249 #                                                                     #
1250 # ldapwhitelist indicates that clients connecting from an IP in the   #
1251 # provided CIDR do not need to authenticate against LDAP. It can be   #
1252 # repeated to whitelist multiple CIDRs.                               #
1253 #                                                                     #
1254 # ldaprequire allows further filtering on the LDAP user, by requiring #
1255 # certain LDAP attibutes to have a given value. It can be repeated,   #
1256 # in which case the list will act as an OR list, that is, the         #
1257 # authentication will succeed if any of the requirements in the list  #
1258 # is satisfied.                                                       #
1259 #                                                                     #
1260 # host allows you to change the displayed host of users connecting    #
1261 # from ldap. The string supplied takes formatters which are replaced  #
1262 # from the DN. For instance, if your DN looks like:                   #
1263 # uid=w00t,ou=people,dc=inspircd,dc=org, then the formatters uid, ou  #
1264 # and dc will be available to you. If a key is given multiple times   #
1265 # in the DN, the last appearance will take precedence.                #
1266
1267 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1268 # LDAP oper configuration module: Adds the ability to authenticate    #
1269 # opers via LDAP.                                                     #
1270 #<module name="ldapoper">
1271 #                                                                     #
1272 # Configuration:                                                      #
1273 #                                                                     #
1274 # <ldapoper dbid="ldapdb"
1275 #           baserdn="ou=People,dc=brainbox,dc=cc"
1276 #           attribute="uid">
1277 #                                                                     #
1278 # Available configuration items are identical to the same items in    #
1279 # ldapauth above (except for the verbose setting, that is only        #
1280 # supported in ldapauth).                                             #
1281 # Please always specify a password in your <oper> tags even if the    #
1282 # opers are to be authenticated via LDAP, so in case this module is   #
1283 # not loaded the oper accounts are still protected by a password.     #
1284
1285 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1286 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that    #
1287 # are used to temporarily close/open the server for new connections.  #
1288 # These commands require that the /LOCKSERV and /UNLOCKSERV commands  #
1289 # are specified in a <class> tag that the oper is part of. This is so #
1290 # you can control who has access to this possible dangerous command.  #
1291 # If your server is locked and you get disconnected, do a REHASH from #
1292 # shell to open up again.                                             #
1293 # This module is oper-only.
1294 #<module name="lockserv">
1295
1296 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1297 # Map hiding module: replaces /MAP and /LINKS output to users with a  #
1298 # message to see a website, set by maphide="http://test.org/map" in   #
1299 # the <security> tag, instead.                                        #
1300 #<module name="maphide">
1301
1302 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1303 # Message flood module: Adds message/notice flood protection via
1304 # channel mode +f.
1305 #<module name="messageflood">
1306
1307 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1308 # MLOCK module: Adds support for server-side enforcement of services
1309 # side MLOCKs. Basically, this module suppresses any mode change that
1310 # would likely be immediately bounced by services.
1311 #<module name="mlock">
1312
1313 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1314 # Modenotice module: Adds the /MODENOTICE command that allows opers to
1315 # send notices to all users having the given user mode(s) set.
1316 #<module name="modenotice">
1317
1318 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1319 # Monitor module: Adds support for MONITOR which is used by clients to
1320 # maintain notify lists.
1321 #<module name="monitor">
1322 #
1323 # Set the maximum number of entries on a user's monitor list below.
1324 #<monitor maxentries="30">
1325
1326 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1327 # MySQL module: Allows other SQL modules to access MySQL databases
1328 # through a unified API.
1329 # This module is in extras. Re-run configure with:
1330 # ./configure --enable-extras=m_mysql.cpp
1331 # and run make install, then uncomment this module to enable it.
1332 #<module name="mysql">
1333 #
1334 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1335 #                                                                     #
1336 # mysql is more complex than described here, see the wiki for more    #
1337 # info: https://wiki.inspircd.org/Modules/3.0/mysql                   #
1338 #
1339 #<database module="mysql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database2">
1340
1341 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1342 # Named modes module: Allows for the display and set/unset of channel
1343 # modes via long-form mode names via +Z and the /PROP command.
1344 # For example, to set a ban, do /mode #channel +Z ban=foo!bar@baz or
1345 # /PROP #channel ban=foo!bar@baz
1346 #<module name="namedmodes">
1347
1348 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1349 # NAMESX module: Provides support for the NAMESX extension which allows
1350 # clients to see all the prefixes set on a user without getting confused.
1351 # This is supported by mIRC, x-chat, klient, and maybe more.
1352 #<module name="namesx">
1353
1354 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1355 # National characters module:
1356 # 1) Allows using national characters in nicknames.
1357 # 2) Allows using custom (national) casemapping over the network.
1358 #<module name="nationalchars">
1359 #
1360 # file - Location of the file which contains casemapping rules. If this
1361 #        is a relative path then it is relative to "<PWD>/../locales"
1362 #        on UNIX and "<PWD>/locales" on Windows.
1363 # casemapping - The name of the casemapping sent to clients in the 005
1364 #               numeric. If this is not set then it defaults to the name
1365 #               of the casemapping file unless the file name contains a
1366 #               space in which case you will have to specify it manually.
1367 #<nationalchars file="bynets/russian-w1251-charlink" casemapping="ru_RU.cp1251-charlink">
1368
1369 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1370 # Nickchange flood protection module: Provides channel mode +F X:Y
1371 # which allows up to X nick changes in Y seconds.
1372 #<module name="nickflood">
1373 #
1374 # The number of seconds to prevent nick changes for:
1375 #<nickflood duration="1m">
1376
1377 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1378 # Nicklock module: Let opers change a user's nick and then stop that
1379 # user from changing their nick again until unlocked.
1380 # This module is oper-only.
1381 # To use, NICKLOCK and NICKUNLOCK must be in one of your oper class blocks.
1382 #<module name="nicklock">
1383
1384 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1385 # No CTCP module: Adds the channel mode +C and user mode +T to block
1386 # CTCPs and extban 'C' to block CTCPs sent by specific users.
1387 #<module name="noctcp">
1388 #
1389 # The +T user mode is not enabled by default to enable link compatibility
1390 # with 2.0 servers. You can enable it by uncommenting this:
1391 #<noctcp enableumode="yes">
1392
1393 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1394 # No kicks module: Adds the +Q channel mode and the Q: extban to deny
1395 # certain users from kicking.
1396 #<module name="nokicks">
1397
1398 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1399 # No nicks module: Adds the +N channel mode, as well as the 'N' extban.
1400 # +N stops all users from changing their nick, the N extban stops
1401 # anyone from matching a +b N:nick!user@host mask from changing their
1402 # nick.
1403 #<module name="nonicks">
1404
1405 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1406 # No part message module: Adds extban 'p' to block part messages from #
1407 # matching users.                                                     #
1408 #<module name="nopartmsg">
1409
1410 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1411 # No notice module: Adds the channel mode +T and the extban 'T' to
1412 # block specific users from noticing the channel.
1413 #<module name="nonotice">
1414
1415 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1416 # Network business join module:
1417 # Allows an oper to join a channel using /OJOIN, giving them +Y on the
1418 # channel which makes them immune to kick/deop/etc.
1419 #<module name="ojoin">
1420 #
1421 # Specify the prefix that +Y will grant here.
1422 # Leave 'prefix' empty if you do not wish +Y to grant a prefix.
1423 # If 'notice' is set to on, upon /OJOIN, the server will notice the
1424 # channel saying that the oper is joining on network business.
1425 # If 'op' is set to on, it will give them +o along with +Y.
1426 #<ojoin prefix="!" notice="yes" op="yes">
1427
1428 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1429 # Oper channels mode: Adds the +O channel mode and extban O:<mask>
1430 # to ban, except, etc. specific oper types. For example
1431 # /mode #channel +iI O:* is equivalent to channel mode +O, but you
1432 # may also set +iI O:AdminTypeOnly to only allow admins.
1433 # Modes +I and +e work in a similar fashion.
1434 #<module name="operchans">
1435
1436 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1437 # Oper join module: Auto-joins opers to a channel upon oper-up.
1438 # This module is oper-only. For the user equivalent, see the conn_join
1439 # module.
1440 #<module name="operjoin">
1441 #
1442 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1443 #                                                                     #
1444 # If you are using the operjoin module, specify options here:         #
1445 #                                                                     #
1446 # channel     -      The channel name to join, can also be a comma    #
1447 #                    separated list e.g. "#channel1,#channel2".       #
1448 #                                                                     #
1449 # override    -      If on, lets the oper join walking thru any modes #
1450 #                    that might be set, even bans.                    #
1451 #                                                                     #
1452 #<operjoin channel="#channel" override="no">
1453 #
1454 # Alternatively you can use the autojoin="channellist" in a <type>    #
1455 # tag to set specific autojoins for a type of oper, for example:      #
1456 #
1457 #<type name="Helper" autojoin="#help" classes="...">
1458
1459 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1460 # Oper log module: Logs all oper commands to the server log (with log
1461 # type "m_operlog" at default loglevel), and optionally to the 'r'
1462 # snomask.
1463 # This module is oper-only.
1464 #<module name="operlog">
1465 #
1466 # If the following option is on then all oper commands will be sent to
1467 # the snomask 'r'. The default is off.
1468 #<operlog tosnomask="off">
1469
1470 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1471 # Oper prefixing module: Adds a channel prefix mode +y which is given
1472 # to all IRC operators automatically on all channels they are in.
1473 # This prefix mode is more powerful than channel op and other regular
1474 # prefix modes.
1475 #
1476 # Load this module if you want all your IRC operators to have channel
1477 # operator powers.
1478 #<module name="operprefix">
1479 #
1480 # You may additionally customise the prefix character.
1481 #<operprefix prefix="!">
1482
1483 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1484 # Oper MOTD module: Provides support for separate message of the day
1485 # on oper-up.
1486 # This module is oper-only.
1487 #<module name="opermotd">
1488 #
1489 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1490 #                                                                     #
1491 # If you are using the opermotd module, specify the motd here.   #
1492 #                                                                     #
1493 # onoper        - If on, the message is sent on /OPER, otherwise it's #
1494 #                 only sent when /OPERMOTD is used.                   #
1495 #                                                                     #
1496 #<opermotd file="examples/opermotd.txt.example" onoper="yes">
1497
1498 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1499 # Override module: Adds support for oper override.
1500 # This module is oper-only.
1501 #<module name="override">
1502 #
1503 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1504 #                                                                     #
1505 # Much of override's configuration relates to your oper blocks.       #
1506 # For more information on how to allow opers to override, see:        #
1507 # https://wiki.inspircd.org/Modules/3.0/override                      #
1508 #                                                                     #
1509 # noisy         - If enabled, all oper overrides will be announced    #
1510 #                 via channel notice.                                 #
1511 #                                                                     #
1512 # requirekey    - If enabled, overriding on join requires a channel   #
1513 #                 key of "override" to be specified                   #
1514 #                                                                     #
1515 # enableumode   - If enabled, usermode +O is required for override.   #
1516 #                                                                     #
1517 #<override noisy="yes" requirekey="no" enableumode="true">
1518
1519 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1520 # Oper levels module: Gives each oper a level and prevents actions
1521 # being taken by lower level opers against higher level opers.
1522 # Specify the level as the 'level' parameter of the <type> tag.
1523 # This module is oper-only.
1524 #<module name="operlevels">
1525
1526 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1527 # Oper modes module: Allows you to specify modes to add/remove on oper.
1528 # Specify the modes as the 'modes' parameter of the <type> tag
1529 # and/or as the 'modes' parameter of the <oper> tag.
1530 # This module is oper-only. For the user equivalent, see the 
1531 # conn_umodes module.
1532 #<module name="opermodes">
1533
1534 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1535 # Password forwarding module: Forwards a password users can send on
1536 # connect to the specified client below. The client is usually NickServ
1537 # and this module is usually used to authenticate users with NickServ
1538 # using their connect password.
1539 #<module name="passforward">
1540
1541 <passforward
1542                 # nick: nick to forward connect passwords to.
1543                 nick="NickServ"
1544
1545                 # forwardmsg: Message to send to users using a connect password.
1546                 # $nick will be the users' nick, $nickrequired will be the nick
1547                 # of where the password is going (the nick above).
1548                 # You can also use $user for the user ident string.
1549                 forwardmsg="NOTICE $nick :*** Forwarding PASS to $nickrequired"
1550
1551                 # cmd: Command for the user to run when it receives a connect
1552                 # password.
1553                 cmd="PRIVMSG $nickrequired :IDENTIFY $pass">
1554
1555 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1556 # Password hash module: Allows hashed passwords to be used.
1557 # To be useful, a hashing module like bcrypt also needs to be loaded.
1558 #<module name="password_hash">
1559 #
1560 #-#-#-#-#-#-#-#-#-# PASSWORD HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#
1561 #
1562 # To use this module, you must define a hash type for each oper's
1563 # password you want to hash. For example:
1564 #
1565 #     <oper name="Brain"
1566 #           host="ident@dialup15.isp.test.com"
1567 #           hash="bcrypt"
1568 #           password="$2a$10$Mss9AtHHslZTLBrXqM0FB.JBwD.UTSu8A48SfrY9exrpxbsRiRTbO"
1569 #           type="NetAdmin">
1570 #
1571 # If you are using a hash algorithm which does not perform salting you can use
1572 # HMAC to salt your passwords in order to prevent them from being looked up in
1573 # a rainbow table.
1574 #
1575 #    hash="hmac-sha256" password="lkS1Nbtp$CyLd/WPQXizsbxFUTqFRoMvaC+zhOULEeZaQkUJj+Gg"
1576 #
1577 # Generate hashes using the /MKPASSWD command on the server.
1578 # Don't run it on a server you don't trust with your password.
1579
1580 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1581 # PBKDF2 module: Allows other modules to generate PBKDF2 hashes,
1582 # usually for cryptographic uses and security.
1583 # This module relies on other hash providers (e.g. SHA256).
1584 #<module name="pbkdf2">
1585 #
1586 # iterations: Iterations the hashing function runs when generating new
1587 # hashes.
1588 # length: Length in bytes of the derived key.
1589 #<pbkdf2 iterations="12288" length="32">
1590 # You can override these values with specific values
1591 # for specific providers if you want to. Example given for SHA256.
1592 #<pbkdf2prov hash="sha256" iterations="24576">
1593
1594 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1595 # Permanent channels module: Channels with the permanent channel mode
1596 # will remain open even after everyone else has left the channel, and
1597 # therefore keep things like modes, ban lists and topic. Permanent
1598 # channels -may- need support from your Services package to function
1599 # properly with them. This adds channel mode +P.
1600 # This module is oper-only.
1601 #<module name="permchannels">
1602 #
1603 # If you like, this module can write a config file of permanent channels
1604 # whenever +P is set, unset, or the topic/modes on a +P channel is changed.
1605 # If you want to do this, set the filename below, and uncomment the include.
1606 #
1607 # If 'listmodes' is true then all list modes (+b, +I, +e, +g...) will be
1608 # saved. Defaults to false.
1609 #<permchanneldb filename="permchannels.conf" listmodes="true">
1610 #<include file="permchannels.conf">
1611 #
1612 # You may also create channels on startup by using the <permchannels> block.
1613 #<permchannels channel="#opers" modes="isP" topic="Opers only.">
1614
1615 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1616 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1617 # through a unified API.
1618 # This module is in extras. Re-run configure with:
1619 # ./configure --enable-extras=m_pgsql.cpp
1620 # and run make install, then uncomment this module to enable it.
1621 #<module name="pgsql">
1622 #
1623 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1624 #                                                                     #
1625 # pgsql is more complex than described here, see the wiki for         #
1626 # more: https://wiki.inspircd.org/Modules/3.0/pgsql                   #
1627 #
1628 #<database module="pgsql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database" ssl="no">
1629
1630 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1631 # Muteban: Implements extended ban 'm', which stops anyone matching
1632 # a mask like +b m:nick!user@host from speaking on channel.
1633 #<module name="muteban">
1634 #
1635 # If notifyuser is set to no, the user will not be notified when
1636 # his/her message is blocked.
1637 #<muteban notifyuser="yes">
1638
1639 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1640 # Random quote module: Provides a random quote on connect.
1641 # NOTE: Some of these may mimic fatal errors and confuse users and
1642 # opers alike - BEWARE!
1643 #<module name="randquote">
1644 #
1645 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1646 #                                                                     #
1647 # Optional - If you specify to use the randquote module, then specify #
1648 # below the path to the quotes file.                                  #
1649 #                                                                     #
1650 #<randquote file="quotes.txt">
1651
1652 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1653 # Redirect module: Adds channel mode +L which redirects users to      #
1654 # another channel when the channel has reached its user limit and     #
1655 # user mode +L which stops redirection.                               #
1656 #<module name="redirect">
1657
1658 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1659 # Regular expression provider for glob or wildcard (?/*) matching.
1660 # You must have at least 1 provider loaded to use the filter or R-line
1661 # modules. This module has no additional requirements, as it uses the
1662 # matching already present in InspIRCd core.
1663 #<module name="regex_glob">
1664
1665 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1666 # Regular expression provider for PCRE (Perl-Compatible Regular
1667 # Expressions). You need libpcre installed to compile and load this
1668 # module. You must have at least 1 provider loaded to use the filter or
1669 # R-line modules.
1670 #<module name="regex_pcre">
1671
1672 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1673 # Regular Expression Provider for RE2 Regular Expressions.
1674 # You need libre2 installed and in your include/library paths in order
1675 # to compile and load this module.
1676 #<module name="regex_re2">
1677
1678 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1679 # Regular expression provider for POSIX regular expressions.
1680 # You shouldn't need any additional libraries on a POSIX-compatible
1681 # system (i.e.: any Linux, BSD, but not Windows). You must have at
1682 # least 1 provider loaded to use the filter or R-line modules.
1683 # On POSIX-compliant systems, regex syntax can be found by using the
1684 # command: 'man 7 regex'.
1685 #<module name="regex_posix">
1686
1687 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1688 # Regular expression provider for C++11 std::regex regular expressions.
1689 # This module works on any fully compliant implementation of the C++11
1690 # std::regex container. Examples for such are Visual C++ 2010 and newer
1691 # but not libstdc++ (which GCC uses).
1692 # You should verify that std::regex is supported by your setup before
1693 # using this module, as it may compile normally but won't do anything
1694 # on some implementations.
1695 #<module name="regex_stdlib">
1696 #
1697 # Specify the regular expression engine to use here. Valid settings are
1698 # bre, ere, awk, grep, egrep, ecmascript (default if not specified).
1699 #<stdregex type="ecmascript">
1700
1701 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1702 # Regular expression provider for TRE regular expressions.
1703 # This is the same regular expression engine used by UnrealIRCd, so
1704 # if you are most familiar with the syntax of /SPAMFILTER from there,
1705 # this is the provider you want. You need libtre installed in order
1706 # to compile and load this module.
1707 #<module name="regex_tre">
1708
1709 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1710 # Remove module: Adds the /REMOVE command which is a peaceful
1711 # alternative to /KICK.
1712 #<module name="remove">
1713 #
1714 # supportnokicks: If true, /REMOVE is not allowed on channels where the
1715 # nokicks (+Q) mode is set. Defaults to false.
1716 # protectedrank: Members having this rank or above may not be /REMOVE'd
1717 # by anyone. Set to 0 to disable this feature. Defaults to 50000.
1718 #<remove supportnokicks="true" protectedrank="50000">
1719
1720 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1721 # A module to block, kick or ban upon similar messages being uttered several times.
1722 # Syntax [~*][lines]:[sec]{[:difference]}{[:matchlines]}
1723 # ~ is to block, * is to ban, default is kick.
1724 # lines - In mode 1 the amount of lines that has to match consecutively - In mode 2 the size of the backlog to keep for matching
1725 # seconds - How old the message has to be before it's invalidated.
1726 # distance - Edit distance, in percent, between two strings to trigger on.
1727 # matchlines - When set, the function goes into mode 2. In this mode the function will trigger if this many of the last <lines> matches.
1728 #
1729 # As this module can be rather CPU-intensive, it comes with some options.
1730 # maxbacklog - Maximum size that can be specified for backlog. 0 disables multiline matching.
1731 # maxdistance - Max percentage of difference between two lines we'll allow to match. Set to 0 to disable edit-distance matching.
1732 # maxlines - Max lines of backlog to match against.
1733 # maxtime - Maximum period of time a user can set. 0 to allow any.
1734 # size - Maximum number of characters to check for, can be used to truncate messages
1735 # before they are checked, resulting in less CPU usage. Increasing this beyond 512
1736 # doesn't have any effect, as the maximum length of a message on IRC cannot exceed that.
1737 #<repeat maxbacklog="20" maxlines="20" maxdistance="50" maxtime="0" size="512">
1738 #<module name="repeat">
1739
1740 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1741 # Restricted channels module: Allows only opers or registered users to
1742 # create channels.
1743 #
1744 # You probably *DO NOT* want to load this module on a public network.
1745 #
1746 #<module name="restrictchans">
1747 #
1748 # allowregistered: should registered users be allowed to bypass the restrictions?
1749 #<restrictchans allowregistered="no">
1750 #
1751 # Allow any channel matching #user-* to be created, bypassing restrictchans checks
1752 #<allowchannel name="#user-*">
1753
1754 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1755 # Restrict message module: Allows users to only message opers.
1756 #
1757 # You probably *DO NOT* want to load this module on a public network.
1758 #
1759 #<module name="restrictmsg">
1760
1761 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1762 # R-line module: Ban users through regular expression patterns.
1763 #<module name="rline">
1764 #
1765 #-#-#-#-#-#-#-#-#-#-#-#- RLINE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1766 #
1767 # If you wish to re-check a user when they change nickname (can be
1768 # useful under some situations, but *can* also use CPU with more users
1769 # on a server) then set 'matchonnickchange' to yes.
1770 # Also, this is where you set what Regular Expression engine is to be
1771 # used. If you ever change it while running, all of your R-lines will
1772 # be wiped. This is the regex engine used by all R-lines set, and
1773 # regex_<engine> must be loaded, or rline will be non-functional
1774 # until you load it or change the engine to one that is loaded.
1775 #
1776 #<rline matchonnickchange="yes" engine="pcre">
1777 #
1778 # Generally, you will NOT want to use 'glob' here, as this turns an
1779 # R-line into just another G-line. The exceptions are that R-lines will
1780 # always use the full "nick!user@host realname" string, rather than only
1781 # user@host, but beware that only the ? and * wildcards are available,
1782 # and are the only way to specify where the space can occur if you do
1783 # use glob. For this reason, is recommended to use a real regex engine
1784 # so that at least \s or [[:space:]] is available.
1785
1786 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1787 # RMODE module: Adds the /RMODE command
1788 # Allows channel mods to remove list modes en masse.
1789 # Syntax: /rmode <channel> <mode> [pattern]
1790 # E.g. '/rmode #Channel b m:*' will remove all mute-extbans on the channel.
1791 #<module name="rmode">
1792
1793 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1794 # SAJOIN module: Adds the /SAJOIN command which forcibly joins a user
1795 # to the given channel.
1796 # This module is oper-only.
1797 # To use, SAJOIN must be in one of your oper class blocks.
1798 # Opers need the users/sajoin-others priv to be able to /SAJOIN users
1799 # other than themselves.
1800 #<module name="sajoin">
1801
1802 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1803 # SAKICK module: Adds the /SAKICK command which kicks a user from the
1804 # given channel.
1805 # This module is oper-only.
1806 # To use, SAKICK must be in one of your oper class blocks.
1807 #<module name="sakick">
1808
1809 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1810 # SAMODE module: Adds the /SAMODE command which allows server operators
1811 # to change modes on a channel without requiring them to have any
1812 # channel priviliges. Also allows changing user modes for any user.
1813 # This module is oper-only.
1814 # To use, SAMODE must be in one of your oper class blocks.
1815 #<module name="samode">
1816
1817 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1818 # SANICK module: Adds the /SANICK command which allows opers to change
1819 # users' nicks.
1820 # This module is oper-only.
1821 # To use, SANICK must be in one of your oper class blocks.
1822 #<module name="sanick">
1823
1824 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1825 # SAPART module: Adds the /SAPART command which forcibly parts a user
1826 # from a channel.
1827 # This module is oper-only.
1828 # To use, SAPART must be in one of your oper class blocks.
1829 #<module name="sapart">
1830
1831 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1832 # SAQUIT module: Adds the /SAQUIT command which forcibly quits a user.
1833 # This module is oper-only.
1834 # To use, SAQUIT must be in one of your oper class blocks.
1835 #<module name="saquit">
1836
1837 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1838 # SATOPIC module: Adds the /SATOPIC command which allows changing the
1839 # topic on a channel without requiring any channel priviliges.
1840 # This module is oper-only.
1841 # To use, SATOPIC must be in one of your oper class blocks.
1842 #<module name="satopic">
1843
1844 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1845 # SASL authentication module: Provides support for IRC Authentication
1846 # Layer via AUTHENTICATE. Note: You also need to have cap loaded
1847 # for SASL to work.
1848 #<module name="sasl">
1849 # Define the following to your services server name to improve security
1850 # by ensuring the SASL messages are only sent to the services server
1851 # and not to all connected servers. This prevents a rogue server from
1852 # capturing SASL messages and disables the SASL cap when services is
1853 # down.
1854 #<sasl target="services.mynetwork.com">
1855
1856 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1857 # Secure list module: Prevent /LIST in the first minute of connection,
1858 # crippling most spambots and trojan spreader bots.
1859 #<module name="securelist">
1860 #
1861 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1862 #                                                                     #
1863 # Securelist can be harmful to some IRC search engines. To prevent    #
1864 # securelist blocking these sites from listing, define exception tags #
1865 # as shown below:                                                     #
1866 #<securehost exception="*@*.netsplit.de">
1867 #<securehost exception="*@*.ircdriven.com">
1868 #<securehost exception="*@*.ircs.me">
1869 #                                                                     #
1870 # Define the following variable to change how long a user must wait   #
1871 # before issuing a LIST. If not defined, defaults to 60 seconds.      #
1872 #                                                                     #
1873 #<securelist waittime="1m">                                           #
1874
1875 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1876 # Servprotect module: Provides support for Austhex style +k /
1877 # UnrealIRCD +S services mode.
1878 #<module name="servprotect">
1879
1880 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1881 # See nicks module: Adds snomask +n and +N which show local and remote
1882 # nick changes.
1883 # This module is oper-only.
1884 #<module name="seenicks">
1885
1886 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1887 # Set idle module: Adds a command for opers to change their idle time.
1888 # This module is oper-only.
1889 # To use, SETIDLE must be in one of your oper class blocks.
1890 #<module name="setidle">
1891
1892 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1893 # Services support module: Adds several usermodes such as +R and +M.
1894 # This module implements the 'identified' state via account names,
1895 # and is similar in operation to the way asuka and ircu handle services.
1896 #
1897 # At the same time, this offers +r for users and channels to mark them
1898 # as identified separately from the idea of a master account, which
1899 # can be useful for services which are heavily nick-as-account centric.
1900 #
1901 # Also of note is that this module implements two extbans:
1902 # +b R: (stop matching account names from joining)
1903 # +b U:n!u@h (blocks matching unregistered users)
1904 #
1905 #<module name="services_account">
1906
1907 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1908 # Sethost module: Adds the /SETHOST command.
1909 # This module is oper-only.
1910 # To use, SETHOST must be in one of your oper class blocks.
1911 # See the chghost module for how to customise valid chars for hostnames.
1912 #<module name="sethost">
1913
1914 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1915 # Setident module: Adds the /SETIDENT command.
1916 # This module is oper-only.
1917 # To use, SETIDENT must be in one of your oper class blocks.
1918 #<module name="setident">
1919
1920 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1921 # SETNAME module: Adds the /SETNAME command.
1922 #<module name="setname">
1923
1924 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1925 # Serverban: Implements extended ban 's', which stops anyone connected
1926 # to a server matching a mask like +b s:server.mask.here from joining.
1927 #<module name="serverban">
1928
1929 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1930 # SHA1 module: Allows other modules to generate SHA1 hashes.
1931 # Required by the WebSocket module.
1932 #<module name="sha1">
1933
1934 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1935 # Showfile: Provides support for showing a text file to users when    #
1936 # they enter a command.                                               #
1937 # This module adds one command for each <showfile> tag that shows the #
1938 # given file to the user as a series of messages or numerics.         #
1939 #<module name="showfile">                                             #
1940 #                                                                     #
1941 #-#-#-#-#-#-#-#-#-#-# SHOWFILE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1942 #                                                                     #
1943 # name    - The name of the command which displays this file. This is #
1944 #           the only mandatory setting, all others are optional.      #
1945 # file    - The text file to be shown to the user.                    #
1946 #           By default same as the command name.                      #
1947 # method  - How should the file be shown?                             #
1948 #           * numeric: Send contents using a numeric                  #
1949 #             (similar to /MOTD; the default).                        #
1950 #           * notice:  Send contents as a series of notices.          #
1951 #           * msg:     Send contents as a series of private messages. #
1952 #                                                                     #
1953 # When using the method "numeric", the following extra settings are   #
1954 # available:                                                          #
1955 #                                                                     #
1956 # introtext    - Introductory line, "Showing <name>" by default.      #
1957 # intronumeric - Numeric used for the introductory line.              #
1958 # numeric      - Numeric used for sending the text itself.            #
1959 # endtext      - Ending line, "End of <name>" by default.             #
1960 # endnumeric   - Numeric used for the ending line.                    #
1961 #                                                                     #
1962 #<showfile name="RULES"
1963 #          file="rules.txt"
1964 #          introtext="Server rules:"
1965 #          endtext="End of server rules.">
1966
1967 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1968 # Show whois module: Adds the +W usermode which allows opers to see
1969 # when they are /WHOIS'd.
1970 # This module is oper-only by default.
1971 #<module name="showwhois">
1972 #
1973 # If you wish, you may also let users set this mode. Only opers with the
1974 # users/auspex priv will see real hosts of people, though.
1975 #<showwhois opersonly="yes"
1976 #
1977 # You may also set whether or not users should receive whois notices,
1978 # should they be /WHOIS'd by an oper.
1979 #showfromopers="yes">
1980
1981 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1982 # Shun module: Provides the /SHUN command, which stops a user from
1983 # executing all except configured commands.
1984 # This module is oper-only.
1985 # To use, SHUN must be in one of your oper class blocks.
1986 #<module name="shun">
1987 #
1988 # You may also configure which commands you wish a user to be able to
1989 # perform when shunned. It should be noted that if a shunned user
1990 # issues QUIT or PART then their message will be removed, as if they
1991 # did not issue one.
1992 #
1993 # You can optionally let the user know that their command was blocked.
1994 #
1995 # You may also let SHUN affect opers (defaults to no).
1996 #<shun enabledcommands="ADMIN PING PONG QUIT PART JOIN" notifyuser="yes" affectopers="no">
1997
1998 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1999 # SSL mode module: Adds support for SSL-only channels via the '+z'
2000 # channel mode, SSL-only private messages via the '+z' user mode and
2001 # the 'z:' extban which matches SSL client certificate fingerprints.
2002 #
2003 # Does not do anything useful without a working SSL module and the
2004 # sslinfo module (see below).
2005 #<module name="sslmodes">
2006 #
2007 # The +z user mode is not enabled by default to enable link compatibility
2008 # with 2.0 servers. You can enable it by uncommenting this:
2009 #<sslmodes enableumode="yes">
2010
2011 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2012 # SSL rehash signal module: Allows the SSL modules to be rehashed by
2013 # sending SIGUSR1 to a running InspIRCd process.
2014 # This modules is in extras. Re-run configure with:
2015 # ./configure --enable-extras=m_sslrehashsignal.cpp
2016 # and run make install, then uncomment this module to enable it.
2017 #<module name="sslrehashsignal">
2018
2019 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2020 # GnuTLS SSL module: Adds support for SSL connections using GnuTLS,
2021 # if enabled. You must answer 'yes' in ./configure when asked or
2022 # manually symlink the source for this module from the directory
2023 # src/modules/extra, if you want to enable this, or it will not load.
2024 #<module name="ssl_gnutls">
2025 #
2026 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2027 #                                                                     #
2028 # ssl_gnutls is too complex to describe here, see the wiki:           #
2029 # https://wiki.inspircd.org/Modules/3.0/ssl_gnutls                    #
2030
2031 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2032 # SSL info module: Allows users to retrieve information about other
2033 # users' peer SSL certificates and keys. This can be used by client
2034 # scripts to validate users. For this to work, one of ssl_gnutls
2035 # or ssl_openssl must be loaded. This module also adds the
2036 # "* <user> is using a secure connection" whois line, the ability for
2037 # opers to use SSL cert fingerprints to verify their identity and the
2038 # ability to force opers to use SSL connections in order to oper up.
2039 # It is highly recommended to load this module if you use SSL on your
2040 # network.
2041 # For how to use the oper features, please see the first example <oper> tag
2042 # in opers.conf.example.
2043 #
2044 #<module name="sslinfo">
2045
2046 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2047 # mbedTLS SSL module: Adds support for SSL/TLS connections using mbedTLS.
2048 #<module name="ssl_mbedtls">
2049
2050 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2051 # OpenSSL SSL module: Adds support for SSL connections using OpenSSL,
2052 # if enabled. You must answer 'yes' in ./configure when asked or symlink
2053 # the source for this module from the directory src/modules/extra, if
2054 # you want to enable this, or it will not load.
2055 #<module name="ssl_openssl">
2056 #
2057 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2058 #                                                                     #
2059 # ssl_openssl is too complex to describe here, see the wiki:          #
2060 # https://wiki.inspircd.org/Modules/3.0/ssl_openssl                   #
2061
2062 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2063 # Strip color module: Adds channel mode +S that strips color codes and
2064 # all control codes except CTCP from all messages sent to the channel.
2065 #<module name="stripcolor">
2066
2067 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2068 # Silence module: Adds support for the /SILENCE command, which allows
2069 # users to have a server-side ignore list for their client.
2070 #<module name="silence">
2071 #
2072 # Set the maximum number of entries allowed on a user's silence list.
2073 #<silence maxentries="32"
2074 #
2075 # Whether messages from U-lined servers will bypass silence masks.
2076 #exemptuline="yes">
2077
2078 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2079 # SQLite3 module: Allows other SQL modules to access SQLite3          #
2080 # databases through a unified API.                                    #
2081 # This module is in extras. Re-run configure with:                    #
2082 # ./configure --enable-extras=m_sqlite3.cpp
2083 # and run make install, then uncomment this module to enable it.      #
2084 #
2085 #<module name="sqlite3">
2086 #
2087 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
2088 #                                                                     #
2089 # sqlite is more complex than described here, see the wiki for more   #
2090 # info: https://wiki.inspircd.org/Modules/3.0/sqlite3                 #
2091 #
2092 #<database module="sqlite" hostname="/full/path/to/database.db" id="anytext">
2093
2094 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2095 # SQL authentication module: Allows IRCd connections to be tied into
2096 # a database table (for example a forum).
2097 #
2098 #<module name="sqlauth">
2099 #
2100 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2101 #                                                                     #
2102 # sqlauth is too complex to describe here, see the wiki:              #
2103 # https://wiki.inspircd.org/Modules/3.0/sqlauth                       #
2104
2105 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2106 # SQL oper module: Allows you to store oper credentials in an SQL
2107 # table. You can add additional table columns like you would config
2108 # tags in opers.conf. Opers in opers.conf will override opers from
2109 # this module.
2110 #
2111 #<module name="sqloper">
2112 #
2113 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2114 #                                                                     #
2115 # dbid       - Database ID to use (see SQL modules).                  #
2116 #                                                                     #
2117 # See also: https://wiki.inspircd.org/Modules/3.0/sqloper             #
2118 #                                                                     #
2119 #<sqloper dbid="1">
2120
2121 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2122 # StartTLS module: Implements STARTTLS, which allows clients          #
2123 # connected to non SSL enabled ports to enable SSL, if a proper SSL   #
2124 # module is loaded (either ssl_gnutls or ssl_openssl).                #
2125 #<module name="starttls">
2126
2127 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2128 # SVSHold module: Implements SVSHOLD. Like Q-lines, but can only be   #
2129 # added/removed by Services.                                          #
2130 #<module name="svshold">
2131 # SVSHOLD does not generate server notices by default, you can turn
2132 # notices on by uncommenting the next line.
2133 #<svshold silent="false">
2134
2135 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2136 # SWHOIS module: Allows you to add arbitrary lines to user WHOIS.
2137 # This module is oper-only.
2138 # To use, SWHOIS must be in one of your oper class blocks.
2139 #<module name="swhois">
2140
2141 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2142 # Timed bans module: Adds timed channel bans with the /TBAN command.
2143 #<module name="timedbans">
2144
2145 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2146 # Test line module: Adds the /TLINE command, used to test how many
2147 # users a /GLINE or /ZLINE etc. would match.
2148 # This module is oper-only.
2149 # To use, TLINE must be in one of your oper class blocks.
2150 #<module name="tline">
2151
2152 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2153 # Topiclock module: implements server-side topic locking to achieve deeper
2154 # integration with services packages.
2155 #<module name="topiclock">
2156
2157 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2158 # UHNAMES support module: Adds support for the IRCX style UHNAMES
2159 # extension, which displays ident and hostname in the names list for
2160 # each user, saving clients from doing a WHO on the channel.
2161 # If a client does not support UHNAMES it will not enable it, this will
2162 # not break incompatible clients.
2163 #<module name="uhnames">
2164
2165 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2166 # Uninvite module: Adds the /UNINVITE command which lets users remove
2167 # pending invites from channels without waiting for the user to join.
2168 #<module name="uninvite">
2169
2170 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2171 # Userip module: Adds the /USERIP command.
2172 # Allows users to query their own IP, also allows opers to query the IP
2173 # of anyone else.
2174 #<module name="userip">
2175
2176 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2177 # Vhost module: Adds the VHOST command which allows for adding virtual
2178 # hosts which are accessible using a username and password in the config.
2179 #<module name="vhost">
2180 #
2181 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
2182 #                                                                     #
2183 # user       - Username for the vhost.                                #
2184 #                                                                     #
2185 # pass       - Password for the vhost.                                #
2186 #                                                                     #
2187 # hash       - The hash for the specific user (optional)              #
2188 #              password_hash and a hashing module must be loaded for  #
2189 #              this to work.                                          #
2190 #                                                                     #
2191 # host       - Vhost to set.                                          #
2192 #
2193 #<vhost user="some_username" pass="some_password" host="some.host.test.cc">
2194 #<vhost user="foo" password="$2a$10$iTuYLT6BRhRlOgzfsW9oPe62etW.oXwSpyKw5rJit64SGZanLXghO" hash="bcrypt" host="some.other.host.example.com">
2195
2196 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2197 # Watch module: Adds the WATCH command, which is used by clients to
2198 # maintain notify lists.
2199 #<module name="watch">
2200 #
2201 # Set the maximum number of entries on a user's watch list below.
2202 #<watch maxentries="32">
2203
2204 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2205 # WebSocket module: Adds HTML5 WebSocket support.
2206 # Specify hook="websocket" in a <bind> tag to make that port accept
2207 # WebSocket connections. Compatible with SSL/TLS.
2208 # Requires SHA-1 hash support available in the sha1 module.
2209 #<module name="websocket">
2210 #
2211 # Whether to re-encode messages as UTF-8 before sending to WebSocket
2212 # clients. This is recommended as the WebSocket protocol requires all
2213 # text frames to be sent as UTF-8. If you do not have this enabled
2214 # messages will be sent as binary frames instead.
2215 #<websocket sendastext="yes">
2216 #
2217 # If you use the websocket module you MUST specify one or more origins
2218 # which are allowed to connect to the server. You should set this as
2219 # strict as possible to prevent malicious webpages from connecting to
2220 # your server.
2221 # <wsorigin allow="https://*.example.com/">
2222
2223 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2224 # XLine database: Stores all *-lines (G/Z/K/R/any added by other modules)
2225 # in a file which is re-loaded on restart. This is useful
2226 # for two reasons: it keeps bans so users may not evade them, and on
2227 # bigger networks, server connections will take less time as there will
2228 # be a lot less bans to apply - as most of them will already be there.
2229 #<module name="xline_db">
2230
2231 # Specify the filename for the xline database here.
2232 #<xlinedb filename="xline.db">
2233
2234 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2235 #    ____                _   _____ _     _       ____  _ _   _        #
2236 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
2237 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
2238 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
2239 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
2240 #                                                                     #
2241 # To link servers to InspIRCd, you MUST load the spanningtree module. #
2242 # If you don't do this, server links will NOT work at all.            #
2243 # This is by design, to allow for the implementation of other linking #
2244 # protocols in modules in the future.                                 #
2245
2246 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2247 # Spanning tree module: Allows linking of servers using the spanning
2248 # tree protocol (see the READ THIS BIT section above).
2249 # You will almost always want to load this.
2250 #
2251 #<module name="spanningtree">