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