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