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