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