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