]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/conf/modules.conf.example
Add support for the IRCv3 server-time specification.
[user/henk/code/inspircd.git] / docs / conf / modules.conf.example
1 #-#-#-#-#-#-#-#-#-#-#-#-#-  MODULE OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
2 #                                                                     #
3 #  These tags define which modules will be loaded on startup by your  #
4 #  server. Add modules without any paths. When you make your ircd     #
5 #  using the 'make' command, all compiled modules will be moved into  #
6 #  the folder you specified when you ran ./configure. The module tag  #
7 #  automatically looks for modules in this location.                  #
8 #  If you attempt to load a module outside of this location, either   #
9 #  in the config, or via /LOADMODULE, you will receive an error.      #
10 #                                                                     #
11 #  By default, ALL modules are commented out. You must uncomment them #
12 #  or add lines to your config to load modules. Please refer to       #
13 #  https://wiki.inspircd.org/3.0/Modules for a list of modules and    #
14 #  each modules link for any additional conf tags they require.       #
15 #                                                                     #
16 #    ____                _   _____ _     _       ____  _ _   _        #
17 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
18 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
19 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
20 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
21 #                                                                     #
22 # To link servers to InspIRCd, you MUST load the spanningtree module. #
23 # If you don't do this, server links will NOT work at all.            #
24 # This is by design, to allow for the implementation of other linking #
25 # protocols in modules in the future. This module is at the bottom of #
26 # this file.                                                          #
27 #                                                                     #
28
29 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
30 # MD5 module: Allows other modules to generate MD5 hashes, usually for
31 # cryptographic uses and security.
32 #
33 # IMPORTANT:
34 # Other modules such as cloaking and password_hash may rely on
35 # this module being loaded to function.
36 #
37 #<module name="md5">
38 #
39 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
40 # SHA256 module: Allows other modules to generate SHA256 hashes,
41 # usually for cryptographic uses and security.
42 #
43 # IMPORTANT:
44 # Other modules such as password_hash may rely on this module being
45 # loaded to function. Certain modules such as spanningtree will
46 # function without this module but when it is loaded their features will
47 # be enhanced (for example the addition of HMAC authentication).
48 #
49 #<module name="sha256">
50 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
51 # RIPEMD160 module: Allows other modules to generate RIPEMD160 hashes,
52 # usually for cryptographic uses and security.
53 #
54 # IMPORTANT:
55 # Other modules may rely on this module being loaded to function.
56 #<module name="ripemd160">
57
58 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
59 # Abbreviation module: Provides the ability to abbreviate commands a-la
60 # BBC BASIC keywords.
61 #<module name="abbreviation">
62
63 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
64 # Alias module: Allows you to define server-side command aliases.
65 #<module name="alias">
66 #
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">
72 #
73 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
74 #                                                                     #
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:     #
79 #                                                                     #
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.     #
87 #                                                                     #
88 # usercommand -      If this is true, the alias can be run simply as  #
89 #                    /aliasname. Defaults to true.                    #
90 #                                                                     #
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.                      #
95 #                                                                     #
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         #
103 #                    optional.                                        #
104 #                                                                     #
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).         #
120 #                                                                     #
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.  #
125 #                                                                     #
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  #
132 #                    a service.                                       #
133 #                                                                     #
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.                             #
137 #                                                                     #
138 #
139 # An example of using the format value to create an alias with two
140 # different behaviours depending on the format of the parameters.
141 #
142 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
143 #  requires="ChanServ" uline="yes">
144 #
145 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
146 #  requires="NickServ" uline="yes">
147 #
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.
151 #
152 #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
153 #  requires="NickServ" uline="yes">
154 #
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.
159 #
160 #<alias text="CS" usercommand="no" channelcommand="yes"
161 #  replace="PRIVMSG ChanServ :$1 $chan $2-" requires="ChanServ" uline="yes">
162 #
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 "!".
166
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">
171
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">
177
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
183 # policies.
184 #<module name="anticaps">
185 #
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">
191
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">
196 #
197 # Auditorium settings:
198 #
199 #<auditorium opvisible="no" opcansee="no" opercansee="yes">
200 #
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
205 # opercansee:
206 #   Allow opers (channels/auspex) to see see all joins/parts/kicks in the channel
207 #
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.
210
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">
220
221 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
222 # Ban except module: Adds support for channel ban exceptions (+e).
223 #<module name="banexception">
224
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">
229
230 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
231 # bcrypt module: Allows other modules to generate bcrypt hashes,
232 # usually for cryptographic uses and security.
233 #<module name="bcrypt">
234 #
235 # rounds: Defines how many rounds the bcrypt function will run when
236 # generating new hashes.
237 #<bcrypt rounds="10">
238
239 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
240 # Block amsg module: Attempt to block all usage of /amsg and /ame.
241 #<module name="blockamsg">
242 #
243 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
244 #                                                                     #
245 # If you have the blockamsg module loaded, you can configure it with  #
246 # the <blockamsg> tag:                                                #
247 #                                                                     #
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.                       #
253 #
254 #<blockamsg delay="3" action="killopers">
255
256 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
257 # Block CAPS module: Adds channel mode +B, blocks all-CAPS messages.
258 #
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">
262 #
263 #-#-#-#-#-#-#-#-#-#-#-  BLOCKCAPS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
264 #                                                                     #
265 # percent        - The percentage of a message which must be upper    #
266 #                  case before it will be blocked.                    #
267 #                                                                     #
268 # minlen         - The minimum length a message must be before it     #
269 #                  will be blocked.                                   #
270 #                                                                     #
271 # lowercase      - The characters which will be considered lower      #
272 #                  case.                                              #
273 #                                                                     #
274 # uppercase      - The characters which will be considered upper      #
275 #                  case.                                              #
276 #
277 #<blockcaps percent="50"
278 #           minlen="5"
279 #           lowercase="abcdefghijklmnopqrstuvwxyz"
280 #           uppercase="ABCDEFGHIJKLMNOPQRSTUVWXYZ">
281
282 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
283 # Block color module: Blocking color-coded messages with chan mode +c.
284 #<module name="blockcolor">
285
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">
290
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">
295 #
296 #-#-#-#-#-#-#-#-#-#-#- CALLERID  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
297 # maxaccepts     - Maximum number of entries a user can add to his    #
298 #                  /ACCEPT list. Default is 16 entries.               #
299 # tracknick      - Preserve /accept entries when a user changes nick? #
300 #                  If no (the default), the user is removed from      #
301 #                  everyone's accept list if he changes nickname.     #
302 # cooldown       - Amount of time that must pass since the last       #
303 #                  notification sent to a user before he can be sent  #
304 #                  another. Default is 1 minute.                      #
305 #<callerid maxaccepts="16"
306 #          tracknick="no"
307 #          cooldown="1m">
308
309 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
310 # CAP module: Provides the CAP negotiation mechanism required by the
311 # sasl, namesx, uhnames, and ircv3 modules.
312 # It is also recommended for STARTTLS support in the starttls module.
313 #<module name="cap">
314
315 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
316 # CBAN module: Lets you disallow channels from being used at runtime.
317 # This module is oper-only and provides /CBAN.
318 # To use, CBAN must be in one of your oper class blocks.
319 #<module name="cban">
320
321 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
322 # Censor module: Adds channel and user mode +G.
323 #<module name="censor">
324 #
325 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
326 #                                                                     #
327 # Optional - If you specify to use the censor module, then you must   #
328 # specify some censor tags. See also:                                 #
329 # https://wiki.inspircd.org/Modules/3.0/censor                        #
330 #
331 #<include file="examples/censor.conf.example">
332
333 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
334 # CGI:IRC module: Enables forwarding the real IP address of a user from
335 # a gateway to the IRC server.
336 #<module name="cgiirc">
337 #
338 #-#-#-#-#-#-#-#-#-#-#-# CGIIRC  CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
339 #
340 # If you use the cgiirc module then you must specify the gateways which
341 # are authorised to forward IP/host information to your server. There
342 # are currently two ways to do this:
343 #
344 # The webirc method is the recommended way to allow gateways to forward
345 # IP/host information. When using this method the gateway sends a WEBIRC
346 # message to the server on connection. For more details please read the
347 # IRCv3 WebIRC specification at http://ircv3.net/specs/extensions/webirc.html.
348 #
349 # When using this method you must specify a wildcard mask or CIDR range
350 # to allow gateway connections from and at least one of either a SSL
351 # client certificate fingerprint for the gateway or a password to be
352 # sent in the WEBIRC command.
353 #
354 # <cgihost type="webirc"
355 #          fingerprint="bd90547b59c1942b85f382bc059318f4c6ca54c5"
356 #          mask="192.0.2.0/24">
357 # <cgihost type="webirc"
358 #          password="$2a$10$WEUpX9GweJiEF1WxBDSkeODBstIBMlVPweQTG9cKM8/Vd58BeM5cW"
359 #          hash="bcrypt"
360 #          mask="*.webirc.gateway.example.com">
361 #
362 # Alternatively if your gateway does not support sending the WEBIRC
363 # message then you can configure InspIRCd to look for the client IP
364 # address in the ident sent by the user. This is not recommended as it
365 # only works with IPv4 connections.
366 #
367 # When using this method you must specify a wildcard mask or CIDR range to
368 # allow gateway connections from.
369 #
370 # <cgihost type="ident" mask="198.51.100.0/24">
371 # <cgihost type="ident" mask="*.ident.gateway.example.com">
372 #
373 # By default gateway connections are logged to the +w snomask. If you
374 # do not want this to happen then you can uncomment this to disable it.
375 # <cgiirc opernotice="no">
376
377 # IMPORTANT NOTE:
378 # ---------------
379 #
380 # When you connect gateway clients, there are two connect classes which
381 # apply to these clients. When the client initially connects, the connect
382 # class which matches the gateway site's host is checked. Therefore you
383 # must raise the maximum local/global clients for this IP as high as you
384 # want to allow gateway clients. After the client has connected and is
385 # determined to be a gateway client, the class which matches the client's
386 # real IP is then checked. You may set this class to a lower value, so that
387 # the real IP of the client can still be restricted to, for example, 3
388 # sessions maximum.
389
390 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
391 # Channel create module: Adds snomask +j, which will notify opers of
392 # any new channels that are created.
393 # This module is oper-only.
394 #<module name="chancreate">
395
396 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
397 # Channel filter module: Allows channel-op defined message filtering
398 # using simple string matches (channel mode +g).
399 #<module name="chanfilter">
400 #
401 # If hidemask is set to yes, the user will not be shown the mask when
402 # his/her message is blocked.
403 #
404 # If maxlen is set then it defines the maximum length of a filter entry.
405 #
406 # If notifyuser is set to no, the user will not be notified when
407 # his/her message is blocked.
408 #<chanfilter hidemask="yes" maxlen="50" notifyuser="yes">
409
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">
416 #
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">
423
424 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
425 # Channel logging module: Used to send snotice output to channels, to
426 # allow staff to centrally monitor and discuss network activity.
427 #
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
430 # are allowed.
431 #<module name="chanlog">
432 #<chanlog snomasks="AOcC" channel="#opers">
433
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">
440
441 #<channames
442         # denyrange: characters or range of characters to deny in channel
443         # names.
444         #denyrange="2,3"
445
446         # allowrange: characters or range of characters to specifically allow
447         # in channel names.
448         #allowrange="">
449
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">
457
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">
465
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
472 # want to load this.
473 #<module name="chghost">
474 #
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:     #
478 #                                                                    #
479 # charmap        - A list of chars accepted as valid by the /CHGHOST #
480 #                  and /SETHOST commands. Also note that the list is #
481 #                  case-sensitive.                                   #
482 #<hostname charmap="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_/0123456789">
483
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">
489
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">
495 #
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">
502
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">
507
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">
515 #
516 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
517 #                                                                     #
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.                                   #
521 #                                                                     #
522 # There are two methods of cloaking:                                  #
523 #                                                                     #
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       #
527 #                  address.                                           #
528 #                  To change the number of shown parts, modify the    #
529 #                  domainparts option.                                #
530 #                                                                     #
531 #   full           Cloak the users completely, using three slices for #
532 #                  common CIDR bans (IPv4: /16, /24; IPv6: /48, /64). #
533 #                                                                     #
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 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
537 #
538 #<cloak mode="half"
539 #       key="secret"
540 #       domainparts="3"
541 #       prefix="net-">
542
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">
548
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">
556
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
560 # you.
561 #<module name="commonchans">
562
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
567 # for X seconds.
568 #<module name="conn_join">
569 #
570 #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
571 #
572 # If you have the conn_join module loaded, you can configure it below
573 # or set autojoin="#chat,#help" in <connect> blocks.
574 #
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">
579
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">
585
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">
591 #
592 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
593 #                                                                     #
594 # If you have the conn_waitpong module loaded, configure it with the  #
595 # <waitpong> tag:                                                     #
596 #                                                                     #
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.       #
600 #                                                                     #
601 # killonbadreply -   Whether to kill the user if they send the wrong  #
602 #                    PONG reply.                                      #
603 #                                                                     #
604 #<waitpong sendsnotice="yes" killonbadreply="yes">
605
606 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
607 # Channel cycle module: Adds the /CYCLE command which is a server-side
608 # /HOP that bypasses restrictive modes.
609 #<module name="cycle">
610
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">
616 #
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
620 # prevent attacks.
621 #
622 # This allows for 10 connections in an hour with a 10 minute ban if
623 # that is exceeded.
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.">
627
628 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
629 # Connection throttle module.
630 #<module name="connflood">
631 #
632 #-#-#-#-#-#-#-#-#-#-#- CONNTHROTTLE CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
633 #  period, maxconns -  Amount of connections per <period>.
634 #
635 #  timeout           -  Time to wait after the throttle was activated
636 #                       before deactivating it. Be aware that the time
637 #                       is seconds + timeout.
638 #
639 #  quitmsg           -  The message that users get if they attempt to
640 #                       connect while the throttle is active.
641 #
642 #  bootwait          -  Amount of time in seconds to wait before enforcing
643 #                       the throttling when the server just booted.
644 #
645 #<connflood seconds="30" maxconns="3" timeout="30"
646 #   quitmsg="Throttled" bootwait="10">
647
648 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
649 # Custom prefixes: Allows for channel prefixes to be configured.
650 #<module name="customprefix">
651 #
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,
657 #            respectively.
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="&amp;" rank="40000" ranktoset="50000">
663 #<customprefix name="halfop" letter="h" prefix="%" rank="20000" ranktoset="30000">
664 #
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">
669 #
670 # Do /RELOADMODULE customprefix after changing the settings of this module.
671
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
675 # specified.
676 #<module name="customtitle">
677 #
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
683 #             for this to work.
684 #  host     - Allowed hostmask (optional).
685 #  title    - Title shown in whois.
686 #  vhost    - Displayed host (optional).
687 #
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">
691
692 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
693 # DCCALLOW module: Adds the /DCCALLOW command.
694 #<module name="dccallow">
695 #
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.
702 #
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
707 #                      'allow'.
708 #
709 #<dccallow blockchat="yes" length="5m" action="block" maxentries="20">
710 #<banfile pattern="*.exe" action="block">
711 #<banfile pattern="*.txt" action="allow">
712
713 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
714 # Deaf module: Adds support for the usermode +d - deaf to channel
715 # messages and channel notices.
716 #<module name="deaf">
717
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">
725
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">
733
734 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
735 # Deny channels module: Deny channels from being used by users.
736 #<module name="denychans">
737 #
738 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
739 #                                                                     #
740 # If you have the denychans module loaded, you need to specify the    #
741 # channels to deny:                                                   #
742 #                                                                     #
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.        #
747 #                                                                     #
748 #<badchan name="#gods*" allowopers="yes" reason="Tortoises!">         #
749 #<badchan name="#chan1" redirect="#chan2" reason="Chan1 is closed">   #
750 #                                                                     #
751 # Redirects will not work if the target channel is set +L.            #
752 #                                                                     #
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.                                  #
757
758 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
759 # DNS blacklist module: Provides support for looking up IPs on one or #
760 # more blacklists.                                                    #
761 #<module name="dnsbl">                                                #
762 #                                                                     #
763 # For configuration options please see the wiki page for dnsbl at     #
764 # https://wiki.inspircd.org/Modules/3.0/dnsbl                         #
765
766 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
767 # Exempt channel operators module: Provides support for allowing      #
768 # users of a specified channel status to be exempt from some channel  #
769 # restriction modes. Supported restrictions are                       #
770 # blockcaps, blockcolor, censor, filter, flood, nickflood, noctcp,    #
771 # nonick, nonotice, regmoderated, stripcolor, and topiclock.          #
772 # See <options:exemptchanops> in inspircd.conf.example for a more     #
773 # detailed list of the restriction modes that can be exempted.        #
774 # These are settable using /mode #chan +X <restriction>:<status>      #
775 #<module name="exemptchanops">                                        #
776
777 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
778 # Filter module: Provides message filtering, similar to SPAMFILTER.   #
779 #<module name="filter">
780 #                                                                     #
781 # This module depends upon a regex provider such as regex_pcre or     #
782 # regex_glob to function. You must specify which of these you want    #
783 # the filter module to use via the tag below.                         #
784 #                                                                     #
785 # Valid engines are:                                                  #
786 #                                                                     #
787 # glob   - Glob patterns, provided via regex_glob.                    #
788 # pcre   - PCRE regexps, provided via regex_pcre, needs libpcre.      #
789 # tre    - TRE regexps, provided via regex_tre, requires libtre.      #
790 # posix  - POSIX regexps, provided via regex_posix, not available     #
791 #          on Windows, no dependencies on other operating systems.    #
792 # stdlib - stdlib regexps, provided via regex_stdlib, see comment     #
793 #          at the <module> tag for info on availability.              #
794 #                                                                     #
795 # If notifyuser is set to no, the user will not be notified when      #
796 # his/her message is blocked.                                         #
797 #<filteropts engine="glob" notifyuser="yes">
798 #                                                                     #
799 # Your choice of regex engine must match on all servers network-wide. #
800 #                                                                     #
801 # To learn more about the configuration of this module, read          #
802 # examples/filter.conf.example, which covers the various types of     #
803 # filters and shows how to add exemptions.                            #
804 #                                                                     #
805 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
806 #                                                                     #
807 # Optional - If you specify to use the filter module, then            #
808 # specify below the path to the filter.conf file, or define some      #
809 # <filter> tags.                                                      #
810 #                                                                     #
811 #<include file="examples/filter.conf.example">
812
813 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
814 # Flash Policy Daemon module: Allows Flash IRC clients (e.g. LightIRC)#
815 # to connect. If no file is specified, it'll serve a default policy   #
816 # allowing all IPs to connect to all plaintext IRC ports              #
817 #<bind address="" port="8430" type="flashpolicyd">                    #
818 #<flashpolicyd timeout="5" file="">                                   #
819 #<module name="flashpolicyd">                                         #
820
821 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
822 # Real name ban: Implements extended ban 'r', which stops anyone
823 # matching a mask like +b r:*realname?here* from joining a channel.
824 #<module name="gecosban">
825
826 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
827 # GeoIP module: Allows the server admin to match users by country code.
828 # This module is in extras. Re-run configure with:
829 # ./configure --enable-extras=m_geoip.cpp
830 # and run make install, then uncomment this module to enable it.
831 # This module requires GeoIP to be installed on your system,
832 # use your package manager to find the appropriate packages
833 # or check the InspIRCd wiki page for this module.
834 #<module name="geoip">
835 #
836 # The actual allow/ban actions are done by connect classes, not by the
837 # GeoIP module. An example connect class to ban people from russia or
838 # turkey:
839 #
840 # <connect deny="*" geoip="TR,RU">
841 #
842 # If enabled you can also ban people from channnels by country code
843 # using the G: extban (e.g. /mode #channel +b G:US).
844 # <geoip extban="yes">
845 #
846 # The country code must be in capitals and should be an ISO country
847 # code such as TR, GB, or US. Unknown IPs (localhost, LAN IPs, etc)
848 # will be assigned the country code "UNK". Since connect classes are
849 # matched from top down, your deny classes must be above your allow
850 # classes for them to match.
851
852 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
853 # Globops module: Provides the /GLOBOPS command and snomask +g.
854 # This module is oper-only.
855 # To use, GLOBOPS must be in one of your oper class blocks.
856 #<module name="globops">
857
858 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
859 # Global load module: Allows loading and unloading of modules network-
860 # wide (USE WITH EXTREME CAUTION!)
861 # This module is oper-only and provides /GLOADMODULE, /GUNLOADMODULE
862 # and /GRELOADMODULE.
863 # To use, GLOADMODULE, GUNLOADMODULE and GRELOADMODULE
864 # must be in one of your oper class blocks.
865 #<module name="globalload">
866
867 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
868 # HAProxy module: Adds support for the HAProxy PROXY v2 protocol. To
869 # use this module specify hook="haproxy" in the <bind> tag that HAProxy
870 # has been configured to connect to.
871 #<module name="haproxy">
872
873 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
874 # HELPOP module: Provides the /HELPOP command
875 #<module name="helpop">
876 #
877 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
878 #                                                                     #
879 # If you specify to use the helpop module, then specify below the     #
880 # path to the helpop.conf file.                                       #
881 #                                                                     #
882 #<include file="examples/helpop-full.conf.example">
883
884 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
885 # Hide chans module: Allows users to hide their channels list from non-
886 # opers by setting user mode +I on themselves.
887 #<module name="hidechans">
888 #
889 # This mode can optionally prevent opers from seeing channels on a +I
890 # user, for more privacy if set to true.
891 # This setting is not recommended for most mainstream networks.
892 #<hidechans affectsopers="false">
893
894 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
895 # Hide list module: Allows for hiding the list of listmodes from users
896 # who do not have sufficient channel rank.
897 #<module name="hidelist">
898 #
899 # Each <hidelist> tag configures one listmode to hide.
900 # mode: Name of the listmode to hide.
901 # rank: Minimum rank required to view the list. If set to 0, all
902 # members of the channel may view the list, but non-members may not.
903 # The rank of the built-in op and voice mode is 30000 and 10000,
904 # respectively; the rank of other prefix modes is configurable.
905 # Defaults to 20000.
906 #
907 # Hiding the ban list is not recommended because it may break some
908 # clients.
909 #
910 # Hide filter (+g) list:
911 #<hidelist mode="filter" rank="30000">
912 # Only show invite exceptions (+I) to channel members:
913 #<hidelist mode="invex" rank="0">
914
915 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
916 # Hide oper module: Allows opers to hide their oper status from non-
917 # opers by setting user mode +H on themselves.
918 # This module is oper-only.
919 #<module name="hideoper">
920
921 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
922 # Hostchange module: Allows a different style of cloaking.
923 #<module name="hostchange">
924 #
925 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
926 #                                                                     #
927 # See https://wiki.inspircd.org/Modules/3.0/hostchange for help.      #
928 #                                                                     #
929 #<host suffix="invalid.org" separator="." prefix="">
930 #<hostchange mask="*@42.theanswer.example.org" action="addnick">
931 #<hostchange mask="*root@*" action="suffix">
932 #<hostchange mask="a@example.com" action="set" value="foo.bar.baz">
933 #<hostchange mask="localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
934
935 # hostcycle: If loaded, when a user gets a host or ident set, it will
936 # cycle them in all their channels. If not loaded it will simply change
937 # their host/ident without cycling them.
938 # This module is compatible with the ircv3_chghost module. Clients
939 # supporting the chghost extension will get the chghost message instead
940 # of seeing a host cycle.
941 #<module name="hostcycle">
942
943 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
944 # httpd module: Provides HTTP server support for InspIRCd.
945 #<module name="httpd">
946 #
947 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
948 #
949 # If you choose to use the httpd module, then you will need to add
950 # a <bind> tag with type "httpd", and load at least one of the other
951 # httpd_* modules to provide pages to display.
952 # <bind address="127.0.0.1" port="8067" type="httpd">
953 # <bind address="127.0.0.1" port="8097" type="httpd" ssl="gnutls">
954 #
955 # You can adjust the timeout for HTTP connections below. All HTTP
956 # connections will be closed after (roughly) this time period.
957 #<httpd timeout="20">
958
959 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
960 # HTTP ACL module: Provides access control lists for httpd dependent
961 # modules. Use this module to restrict pages by IP address and by
962 # password.
963 #<module name="httpd_acl">
964 #
965 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD ACL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
966 #
967 # Restrict access to the httpd_stats module to all but the local
968 # network and when the correct password is specified:
969 # <httpdacl path="/stats*" types="password,whitelist"
970 #    username="secrets" password="mypasshere" whitelist="127.0.0.*,10.*">
971 #
972 # Deny all connections to all but the main index page:
973 # <httpdacl path="/*" types="blacklist" blacklist="*">
974
975 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
976 # HTTP config module: Allows the server configuration to be viewed over
977 # HTTP via the /config path. Requires the httpd module to be loaded for
978 # it to function.
979 #
980 # IMPORTANT: This module exposes extremely sensitive information about
981 # your server and users so you *MUST* protect it using a local-only
982 # <bind> tag and/or the httpd_acl module. See above for details.
983 #<module name="httpd_config">
984
985 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
986 # HTTP stats module: Provides server statistics over HTTP via the /stats
987 # path. Requires the httpd module to be loaded for it to function.
988 #
989 # IMPORTANT: This module exposes extremely sensitive information about
990 # your server and users so you *MUST* protect it using a local-only
991 # <bind> tag and/or the httpd_acl module. See above for details.
992 #<module name="httpd_stats">
993
994 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
995 # Ident: Provides RFC 1413 ident lookup support.
996 # When this module is loaded <connect:allow> tags may have an optional
997 # useident="yes|no" boolean value, determining whether or not to lookup
998 # ident on users matching that connect tag.
999 #<module name="ident">
1000 #
1001 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1002 #                                                                     #
1003 # Optional - If you are using the ident module, then you can specify  #
1004 # the timeout for ident lookups here. If not defined, it will default #
1005 # to 5 seconds. This is a non-blocking timeout which holds the user   #
1006 # in a 'connecting' state until the lookup is complete.               #
1007 # The bind value indicates which IP to bind outbound requests to.     #
1008 # nolookupprefix: If on, the idents of users being in a connect class #
1009 # with ident lookups disabled (i.e. <connect useident="off">) will be #
1010 # prefixed with a "~". If off, the ident of those users will not be   #
1011 # prefixed. Default is off.                                           #
1012 #
1013 #<ident timeout="5" nolookupprefix="no">
1014
1015 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1016 # Invite exception module: Adds support for channel invite exceptions
1017 # (+I).
1018 #<module name="inviteexception">
1019 # bypasskey: If this is enabled, exceptions will bypass +k as well as +i
1020 #<inviteexception bypasskey="yes">
1021
1022 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1023 # IRCv3 module: Provides the following IRCv3 extensions:
1024 # extended-join, away-notify and account-notify. These are optional
1025 # enhancements to the client-to-server protocol. An extension is only
1026 # active for a client when the client specifically requests it, so this
1027 # module needs the cap module to work.
1028 #
1029 # Further information on these extensions can be found at the IRCv3
1030 # working group website:
1031 # http://ircv3.net/irc/
1032 #
1033 #<module name="ircv3">
1034 # The following block can be used to control which extensions are
1035 # enabled. Note that extended-join can be incompatible with delayjoin
1036 # and host cycling.
1037 #<ircv3 accountnotify="on" awaynotify="on" extendedjoin="on">
1038
1039 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1040 # IRCv3 account-tag module. Adds the 'account' tag which contains the
1041 # services account name of the message sender.
1042 #<module name="ircv3_accounttag">
1043
1044 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1045 # IRCv3 cap-notify module: Provides the cap-notify IRCv3.2 extension.
1046 # Required for IRCv3.2 conformance.
1047 #<module name="ircv3_capnotify">
1048
1049 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1050 # IRCv3 chghost module: Provides the chghost IRCv3.2 extension which
1051 # allows capable clients to learn when the host/ident of another user
1052 # changes without cycling the user. This module is compatible with the
1053 # hostcycle module. If both are loaded, clients supporting the chghost
1054 # extension will get the chghost message and won't see host cycling.
1055 #<module name="ircv3_chghost">
1056
1057 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1058 # IRCv3 echo-message module: Provides the echo-message IRCv3.2
1059 # extension which allows capable clients to get an acknowledgement when
1060 # their messages are delivered and learn what modifications, if any,
1061 # were applied to them.
1062 #<module name="ircv3_echomessage">
1063
1064 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1065 # IRCv3 invite-notify module: Provides the invite-notify IRCv3.2
1066 # extension which notifies supporting clients when a user invites
1067 # another user into a channel. This respects <options:announceinvites>.
1068 #<module name="ircv3_invitenotify">
1069
1070 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1071 # IRCv3 server-time module. Adds the 'time' tag which adds a timestamp
1072 # to all messages received from the server.
1073 #<module name="ircv3_servertime">
1074
1075 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1076 # IRCv3 Strict Transport Security module: Provides the sts IRCv3.2
1077 # extension which allows clients connecting insecurely to upgrade their
1078 # connections to TLS.
1079 #<module name="ircv3_sts">
1080 #
1081 # If using the ircv3_sts module you MUST define a STS policy to send
1082 # to clients using the <sts> tag. This tag takes the following
1083 # attributes:
1084 #
1085 # host     - A glob match for the SNI hostname to apply this policy to.
1086 # duration - The amount of time that the policy lasts for. Defaults to
1087 #            approximately two months by default.
1088 # port     - The port on which TLS connections to the server are being
1089 #            accepted. You MUST have a CA-verified certificate on this
1090 #            port. Self signed certificates are not acceptable.
1091 # preload  - Whether client developers can include your certificate in
1092 #            preload lists.
1093 #
1094 # <sts host="*.example.com" duration="60d" port="6697" preload="yes">
1095
1096 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1097 # Join flood module: Adds support for join flood protection +j X:Y.
1098 # Closes the channel for N seconds if X users join in Y seconds.
1099 #<module name="joinflood">
1100 #
1101 # The number of seconds to close the channel for:
1102 #<joinflood duration="1m">
1103
1104 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1105 # Jump server module: Adds support for the RPL_REDIR numeric.
1106 # This module is oper-only.
1107 # To use, JUMPSERVER must be in one of your oper class blocks.
1108 # If your server is redirecting new clients and you get disconnected,
1109 # do a REHASH from shell to open up again.
1110 #<module name="jumpserver">
1111
1112 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1113 # Anti auto rejoin: Adds support for prevention of auto-rejoin (+J).
1114 #<module name="kicknorejoin">
1115
1116 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1117 # Knock module: Adds the /KNOCK command and channel mode +K.
1118 #<module name="knock">
1119 #
1120 # This setting specifies what to do when someone successfully /KNOCKs.
1121 # If set to "notice", then a NOTICE will be sent to the channel.
1122 # This is the default and the compatible setting, as it requires no
1123 # special support from the clients.
1124 # If set to "numeric" then a 710 numeric will be sent to the channel.
1125 # This allows easier scripting but not all clients support it.
1126 # If set to "both" then (surprise!) both will be sent.
1127 #<knock notify="notice">
1128
1129 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1130 # LDAP module: Allows other SQL modules to access a LDAP database
1131 # through a unified API.
1132 # This modules is in extras. Re-run configure with:
1133 # ./configure --enable-extras=m_ldap.cpp
1134 # and run make install, then uncomment this module to enable it.
1135 #
1136 #<module name="ldap">
1137 #<database module="ldap" id="ldapdb" server="ldap://localhost" binddn="cn=Manager,dc=inspircd,dc=org" bindauth="mysecretpass" searchscope="subtree">
1138 # The server parameter indicates the LDAP server to connect to. The   #
1139 # ldap:// style scheme before the hostname proper is MANDATORY.       #
1140 #                                                                     #
1141 # The binddn and bindauth indicate the DN to bind to for searching,   #
1142 # and the password for the distinguished name. Some LDAP servers will #
1143 # allow anonymous searching in which case these two values do not     #
1144 # need defining, otherwise they should be set similar to the examples #
1145 # above.                                                              #
1146 #                                                                     #
1147 # The searchscope value indicates the subtree to search under. On our #
1148 # test system this is 'subtree'. Your mileage may vary.               #
1149
1150 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1151 # LDAP authentication module: Adds the ability to authenticate users  #
1152 # via LDAP.                                                           #
1153 #<module name="ldapauth">
1154 #                                                                     #
1155 # Configuration:                                                      #
1156 #                                                                     #
1157 # <ldapauth dbid="ldapdb"                                             #
1158 #           baserdn="ou=People,dc=brainbox,dc=cc"                     #
1159 #           attribute="uid"                                           #
1160 #           allowpattern="Guest* Bot*"                                #
1161 #           killreason="Access denied"                                #
1162 #           verbose="yes"                                             #
1163 #           host="$uid.$ou.inspircd.org"                              #
1164 #           useusername="no">                                         #
1165 #                                                                     #
1166 # <ldapwhitelist cidr="10.42.0.0/16">                                 #
1167 #                                                                     #
1168 # <ldaprequire attribute="attr" value="val">                          #
1169 #                                                                     #
1170 # The baserdn indicates the base DN to search in for users. Usually   #
1171 # this is 'ou=People,dc=yourdomain,dc=yourtld'.                       #
1172 #                                                                     #
1173 # The attribute value indicates the attribute which is used to locate #
1174 # a user account by name. On POSIX systems this is usually 'uid'.     #
1175 #                                                                     #
1176 # The allowpattern value allows you to specify a space separated list #
1177 # of wildcard masks which will always be allowed to connect           #
1178 # regardless of if they have an account, for example guest and bot    #
1179 # users.                                                              #
1180 #                                                                     #
1181 # The useusername setting chooses whether the user's username or      #
1182 # nickname is used when locating a user account, if a username isn't  #
1183 # provided in PASS.                                                   #
1184 #                                                                     #
1185 # Killreason indicates the QUIT reason to give to users if they fail  #
1186 # to authenticate.                                                    #
1187 #                                                                     #
1188 # Setting the verbose value causes an oper notice to be sent out for  #
1189 # every failed authentication to the server, with an error string.    #
1190 #                                                                     #
1191 # ldapwhitelist indicates that clients connecting from an IP in the   #
1192 # provided CIDR do not need to authenticate against LDAP. It can be   #
1193 # repeated to whitelist multiple CIDRs.                               #
1194 #                                                                     #
1195 # ldaprequire allows further filtering on the LDAP user, by requiring #
1196 # certain LDAP attibutes to have a given value. It can be repeated,   #
1197 # in which case the list will act as an OR list, that is, the         #
1198 # authentication will succeed if any of the requirements in the list  #
1199 # is satisfied.                                                       #
1200 #                                                                     #
1201 # host allows you to change the displayed host of users connecting    #
1202 # from ldap. The string supplied takes formatters which are replaced  #
1203 # from the DN. For instance, if your DN looks like:                   #
1204 # uid=w00t,ou=people,dc=inspircd,dc=org, then the formatters uid, ou  #
1205 # and dc will be available to you. If a key is given multiple times   #
1206 # in the DN, the last appearance will take precedence.                #
1207
1208 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1209 # LDAP oper configuration module: Adds the ability to authenticate    #
1210 # opers via LDAP.                                                     #
1211 #<module name="ldapoper">
1212 #                                                                     #
1213 # Configuration:                                                      #
1214 #                                                                     #
1215 # <ldapoper dbid="ldapdb"
1216 #           baserdn="ou=People,dc=brainbox,dc=cc"
1217 #           attribute="uid">
1218 #                                                                     #
1219 # Available configuration items are identical to the same items in    #
1220 # ldapauth above (except for the verbose setting, that is only        #
1221 # supported in ldapauth).                                             #
1222 # Please always specify a password in your <oper> tags even if the    #
1223 # opers are to be authenticated via LDAP, so in case this module is   #
1224 # not loaded the oper accounts are still protected by a password.     #
1225
1226 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1227 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that    #
1228 # are used to temporarily close/open the server for new connections.  #
1229 # These commands require that the /LOCKSERV and /UNLOCKSERV commands  #
1230 # are specified in a <class> tag that the oper is part of. This is so #
1231 # you can control who has access to this possible dangerous command.  #
1232 # If your server is locked and you get disconnected, do a REHASH from #
1233 # shell to open up again.                                             #
1234 # This module is oper-only.
1235 #<module name="lockserv">
1236
1237 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1238 # Map hiding module: replaces /MAP and /LINKS output to users with a  #
1239 # message to see a website, set by maphide="http://test.org/map" in   #
1240 # the <security> tag, instead.                                        #
1241 #<module name="maphide">
1242
1243 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1244 # Message flood module: Adds message/notice flood protection via
1245 # channel mode +f.
1246 #<module name="messageflood">
1247
1248 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1249 # MLOCK module: Adds support for server-side enforcement of services
1250 # side MLOCKs. Basically, this module suppresses any mode change that
1251 # would likely be immediately bounced by services.
1252 #<module name="mlock">
1253
1254 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1255 # Modenotice module: Adds the /MODENOTICE command that allows opers to
1256 # send notices to all users having the given user mode(s) set.
1257 #<module name="modenotice">
1258
1259 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1260 # Monitor module: Adds support for MONITOR which is used by clients to
1261 # maintain notify lists.
1262 #<module name="monitor">
1263 #
1264 # Set the maximum number of entries on a user's monitor list below.
1265 #<monitor maxentries="30">
1266
1267 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1268 # MySQL module: Allows other SQL modules to access MySQL databases
1269 # through a unified API.
1270 # This module is in extras. Re-run configure with:
1271 # ./configure --enable-extras=m_mysql.cpp
1272 # and run make install, then uncomment this module to enable it.
1273 #<module name="mysql">
1274 #
1275 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1276 #                                                                     #
1277 # mysql is more complex than described here, see the wiki for more    #
1278 # info: https://wiki.inspircd.org/Modules/3.0/mysql                   #
1279 #
1280 #<database module="mysql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database2">
1281
1282 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1283 # Named modes module: Allows for the display and set/unset of channel
1284 # modes via long-form mode names via +Z and the /PROP command.
1285 # For example, to set a ban, do /mode #channel +Z ban=foo!bar@baz or
1286 # /PROP #channel ban=foo!bar@baz
1287 #<module name="namedmodes">
1288
1289 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1290 # NAMESX module: Provides support for the NAMESX extension which allows
1291 # clients to see all the prefixes set on a user without getting confused.
1292 # This is supported by mIRC, x-chat, klient, and maybe more.
1293 #<module name="namesx">
1294
1295 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1296 # National characters module:
1297 # 1) Allows using national characters in nicknames.
1298 # 2) Allows using custom (national) casemapping over the network.
1299 #<module name="nationalchars">
1300 #
1301 # file - Location of the file which contains casemapping rules. If this
1302 #        is a relative path then it is relative to "<PWD>/../locales"
1303 #        on UNIX and "<PWD>/locales" on Windows.
1304 # casemapping - The name of the casemapping sent to clients in the 005
1305 #               numeric. If this is not set then it defaults to the name
1306 #               of the casemapping file unless the file name contains a
1307 #               space in which case you will have to specify it manually.
1308 #<nationalchars file="bynets/russian-w1251-charlink" casemapping="ru_RU.cp1251-charlink">
1309
1310 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1311 # Nickchange flood protection module: Provides channel mode +F X:Y
1312 # which allows up to X nick changes in Y seconds.
1313 #<module name="nickflood">
1314 #
1315 # The number of seconds to prevent nick changes for:
1316 #<nickflood duration="1m">
1317
1318 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1319 # Nicklock module: Let opers change a user's nick and then stop that
1320 # user from changing their nick again until unlocked.
1321 # This module is oper-only.
1322 # To use, NICKLOCK and NICKUNLOCK must be in one of your oper class blocks.
1323 #<module name="nicklock">
1324
1325 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1326 # No CTCP module: Adds the channel mode +C to block CTCPs and extban
1327 # 'C' to block CTCPs sent by specific users.
1328 #<module name="noctcp">
1329
1330 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1331 # No kicks module: Adds the +Q channel mode and the Q: extban to deny
1332 # certain users from kicking.
1333 #<module name="nokicks">
1334
1335 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1336 # No nicks module: Adds the +N channel mode, as well as the 'N' extban.
1337 # +N stops all users from changing their nick, the N extban stops
1338 # anyone from matching a +b N:nick!user@host mask from changing their
1339 # nick.
1340 #<module name="nonicks">
1341
1342 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1343 # No part message module: Adds extban 'p' to block part messages from #
1344 # matching users.                                                     #
1345 #<module name="nopartmsg">
1346
1347 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1348 # No notice module: Adds the channel mode +T and the extban 'T' to
1349 # block specific users from noticing the channel.
1350 #<module name="nonotice">
1351
1352 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1353 # Network business join module:
1354 # Allows an oper to join a channel using /OJOIN, giving them +Y on the
1355 # channel which makes them immune to kick/deop/etc.
1356 #<module name="ojoin">
1357 #
1358 # Specify the prefix that +Y will grant here.
1359 # Leave 'prefix' empty if you do not wish +Y to grant a prefix.
1360 # If 'notice' is set to on, upon /OJOIN, the server will notice the
1361 # channel saying that the oper is joining on network business.
1362 # If 'op' is set to on, it will give them +o along with +Y.
1363 #<ojoin prefix="!" notice="yes" op="yes">
1364
1365 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1366 # Oper channels mode: Adds the +O channel mode and extban O:<mask>
1367 # to ban, except, etc. specific oper types. For example
1368 # /mode #channel +iI O:* is equivalent to channel mode +O, but you
1369 # may also set +iI O:AdminTypeOnly to only allow admins.
1370 # Modes +I and +e work in a similar fashion.
1371 #<module name="operchans">
1372
1373 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1374 # Oper join module: Auto-joins opers to a channel upon oper-up.
1375 # This module is oper-only. For the user equivalent, see the conn_join
1376 # module.
1377 #<module name="operjoin">
1378 #
1379 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1380 #                                                                     #
1381 # If you are using the operjoin module, specify options here:         #
1382 #                                                                     #
1383 # channel     -      The channel name to join, can also be a comma    #
1384 #                    separated list e.g. "#channel1,#channel2".       #
1385 #                                                                     #
1386 # override    -      If on, lets the oper join walking thru any modes #
1387 #                    that might be set, even bans.                    #
1388 #                                                                     #
1389 #<operjoin channel="#channel" override="no">
1390 #
1391 # Alternatively you can use the autojoin="channellist" in a <type>    #
1392 # tag to set specific autojoins for a type of oper, for example:      #
1393 #
1394 #<type name="Helper" autojoin="#help" classes="...">
1395
1396 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1397 # Oper log module: Logs all oper commands to the server log (with log
1398 # type "m_operlog" at default loglevel), and optionally to the 'r'
1399 # snomask.
1400 # This module is oper-only.
1401 #<module name="operlog">
1402 #
1403 # If the following option is on then all oper commands will be sent to
1404 # the snomask 'r'. The default is off.
1405 #<operlog tosnomask="off">
1406
1407 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1408 # Oper prefixing module: Adds a channel prefix mode +y which is given
1409 # to all IRC operators automatically on all channels they are in.
1410 # This prefix mode is more powerful than channel op and other regular
1411 # prefix modes.
1412 #
1413 # Load this module if you want all your IRC operators to have channel
1414 # operator powers.
1415 #<module name="operprefix">
1416 #
1417 # You may additionally customise the prefix character.
1418 #<operprefix prefix="!">
1419
1420 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1421 # Oper MOTD module: Provides support for separate message of the day
1422 # on oper-up.
1423 # This module is oper-only.
1424 #<module name="opermotd">
1425 #
1426 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1427 #                                                                     #
1428 # If you are using the opermotd module, specify the motd here.   #
1429 #                                                                     #
1430 # onoper        - If on, the message is sent on /OPER, otherwise it's #
1431 #                 only sent when /OPERMOTD is used.                   #
1432 #                                                                     #
1433 #<opermotd file="examples/opermotd.txt.example" onoper="yes">
1434
1435 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1436 # Override module: Adds support for oper override.
1437 # This module is oper-only.
1438 #<module name="override">
1439 #
1440 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1441 #                                                                     #
1442 # Much of override's configuration relates to your oper blocks.       #
1443 # For more information on how to allow opers to override, see:        #
1444 # https://wiki.inspircd.org/Modules/3.0/override                      #
1445 #                                                                     #
1446 # noisy         - If enabled, all oper overrides will be announced    #
1447 #                 via channel notice.                                 #
1448 #                                                                     #
1449 # requirekey    - If enabled, overriding on join requires a channel   #
1450 #                 key of "override" to be specified                   #
1451 #                                                                     #
1452 # enableumode   - If enabled, usermode +O is required for override.   #
1453 #                                                                     #
1454 #<override noisy="yes" requirekey="no" enableumode="true">
1455
1456 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1457 # Oper levels module: Gives each oper a level and prevents actions
1458 # being taken by lower level opers against higher level opers.
1459 # Specify the level as the 'level' parameter of the <type> tag.
1460 # This module is oper-only.
1461 #<module name="operlevels">
1462
1463 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1464 # Oper modes module: Allows you to specify modes to add/remove on oper.
1465 # Specify the modes as the 'modes' parameter of the <type> tag
1466 # and/or as the 'modes' parameter of the <oper> tag.
1467 # This module is oper-only. For the user equivalent, see the 
1468 # conn_umodes module.
1469 #<module name="opermodes">
1470
1471 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1472 # Password forwarding module: Forwards a password users can send on
1473 # connect to the specified client below. The client is usually NickServ
1474 # and this module is usually used to authenticate users with NickServ
1475 # using their connect password.
1476 #<module name="passforward">
1477
1478 <passforward
1479                 # nick: nick to forward connect passwords to.
1480                 nick="NickServ"
1481
1482                 # forwardmsg: Message to send to users using a connect password.
1483                 # $nick will be the users' nick, $nickrequired will be the nick
1484                 # of where the password is going (the nick above).
1485                 # You can also use $user for the user ident string.
1486                 forwardmsg="NOTICE $nick :*** Forwarding PASS to $nickrequired"
1487
1488                 # cmd: Command for the user to run when it receives a connect
1489                 # password.
1490                 cmd="PRIVMSG $nickrequired :IDENTIFY $pass">
1491
1492 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1493 # Password hash module: Allows hashed passwords to be used.
1494 # To be useful, a hashing module like bcrypt also needs to be loaded.
1495 #<module name="password_hash">
1496 #
1497 #-#-#-#-#-#-#-#-#-# PASSWORD HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#
1498 #
1499 # To use this module, you must define a hash type for each oper's
1500 # password you want to hash. For example:
1501 #
1502 #     <oper name="Brain"
1503 #           host="ident@dialup15.isp.test.com"
1504 #           hash="bcrypt"
1505 #           password="$2a$10$Mss9AtHHslZTLBrXqM0FB.JBwD.UTSu8A48SfrY9exrpxbsRiRTbO"
1506 #           type="NetAdmin">
1507 #
1508 # If you are using a hash algorithm which does not perform salting you can use
1509 # HMAC to salt your passwords in order to prevent them from being looked up in
1510 # a rainbow table.
1511 #
1512 #    hash="hmac-sha256" password="lkS1Nbtp$CyLd/WPQXizsbxFUTqFRoMvaC+zhOULEeZaQkUJj+Gg"
1513 #
1514 # Generate hashes using the /MKPASSWD command on the server.
1515 # Don't run it on a server you don't trust with your password.
1516
1517 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1518 # PBKDF2 module: Allows other modules to generate PBKDF2 hashes,
1519 # usually for cryptographic uses and security.
1520 # This module relies on other hash providers (e.g. SHA256).
1521 #<module name="pbkdf2">
1522 #
1523 # iterations: Iterations the hashing function runs when generating new
1524 # hashes.
1525 # length: Length in bytes of the derived key.
1526 #<pbkdf2 iterations="12288" length="32">
1527 # You can override these values with specific values
1528 # for specific providers if you want to. Example given for SHA256.
1529 #<pbkdf2prov hash="sha256" iterations="24576">
1530
1531 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1532 # Permanent channels module: Channels with the permanent channel mode
1533 # will remain open even after everyone else has left the channel, and
1534 # therefore keep things like modes, ban lists and topic. Permanent
1535 # channels -may- need support from your Services package to function
1536 # properly with them. This adds channel mode +P.
1537 # This module is oper-only.
1538 #<module name="permchannels">
1539 #
1540 # If you like, this module can write a config file of permanent channels
1541 # whenever +P is set, unset, or the topic/modes on a +P channel is changed.
1542 # If you want to do this, set the filename below, and uncomment the include.
1543 #
1544 # If 'listmodes' is true then all list modes (+b, +I, +e, +g...) will be
1545 # saved. Defaults to false.
1546 #<permchanneldb filename="permchannels.conf" listmodes="true">
1547 #<include file="permchannels.conf">
1548 #
1549 # You may also create channels on startup by using the <permchannels> block.
1550 #<permchannels channel="#opers" modes="isP" topic="Opers only.">
1551
1552 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1553 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1554 # through a unified API.
1555 # This module is in extras. Re-run configure with:
1556 # ./configure --enable-extras=m_pgsql.cpp
1557 # and run make install, then uncomment this module to enable it.
1558 #<module name="pgsql">
1559 #
1560 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1561 #                                                                     #
1562 # pgsql is more complex than described here, see the wiki for         #
1563 # more: https://wiki.inspircd.org/Modules/3.0/pgsql                   #
1564 #
1565 #<database module="pgsql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database" ssl="no">
1566
1567 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1568 # Muteban: Implements extended ban 'm', which stops anyone matching
1569 # a mask like +b m:nick!user@host from speaking on channel.
1570 #<module name="muteban">
1571 #
1572 # If notifyuser is set to no, the user will not be notified when
1573 # his/her message is blocked.
1574 #<muteban notifyuser="yes">
1575
1576 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1577 # Random quote module: Provides a random quote on connect.
1578 # NOTE: Some of these may mimic fatal errors and confuse users and
1579 # opers alike - BEWARE!
1580 #<module name="randquote">
1581 #
1582 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1583 #                                                                     #
1584 # Optional - If you specify to use the randquote module, then specify #
1585 # below the path to the quotes file.                                  #
1586 #                                                                     #
1587 #<randquote file="quotes.txt">
1588
1589 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1590 # Redirect module: Adds channel mode +L which redirects users to      #
1591 # another channel when the channel has reached its user limit and     #
1592 # user mode +L which stops redirection.                               #
1593 #<module name="redirect">
1594
1595 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1596 # Regular expression provider for glob or wildcard (?/*) matching.
1597 # You must have at least 1 provider loaded to use the filter or rline
1598 # modules. This module has no additional requirements, as it uses the
1599 # matching already present in InspIRCd core.
1600 #<module name="regex_glob">
1601
1602 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1603 # Regular expression provider for PCRE (Perl-Compatible Regular
1604 # Expressions). You need libpcre installed to compile and load this
1605 # module. You must have at least 1 provider loaded to use the filter or
1606 # rline modules.
1607 #<module name="regex_pcre">
1608
1609 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1610 # Regular Expression Provider for RE2 Regular Expressions.
1611 # You need libre2 installed and in your include/library paths in order
1612 # to compile and load this module.
1613 #<module name="regex_re2">
1614
1615 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1616 # Regular expression provider for POSIX regular expressions.
1617 # You shouldn't need any additional libraries on a POSIX-compatible
1618 # system (i.e.: any Linux, BSD, but not Windows). You must have at
1619 # least 1 provider loaded to use filter or rline.
1620 # On POSIX-compliant systems, regex syntax can be found by using the
1621 # command: 'man 7 regex'.
1622 #<module name="regex_posix">
1623
1624 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1625 # Regular expression provider for C++11 std::regex regular expressions.
1626 # This module works on any fully compliant implementation of the C++11
1627 # std::regex container. Examples for such are Visual C++ 2010 and newer
1628 # but not libstdc++ (which GCC uses).
1629 # You should verify that std::regex is supported by your setup before
1630 # using this module, as it may compile normally but won't do anything
1631 # on some implementations.
1632 #<module name="regex_stdlib">
1633 #
1634 # Specify the regular expression engine to use here. Valid settings are
1635 # bre, ere, awk, grep, egrep, ecmascript (default if not specified).
1636 #<stdregex type="ecmascript">
1637
1638 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1639 # Regular expression provider for TRE regular expressions.
1640 # This is the same regular expression engine used by UnrealIRCd, so
1641 # if you are most familiar with the syntax of /SPAMFILTER from there,
1642 # this is the provider you want. You need libtre installed in order
1643 # to compile and load this module.
1644 #<module name="regex_tre">
1645
1646 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1647 # Registered users only channel creation module. If enabled, only
1648 # registered users and opers can create new channels.
1649 #
1650 # You probably *DO NOT* want to load this module on a public network.
1651 #
1652 #<module name="regonlycreate">
1653
1654 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1655 # Remove module: Adds the /REMOVE command which is a peaceful
1656 # alternative to /KICK.
1657 #<module name="remove">
1658 #
1659 # supportnokicks: If true, /REMOVE is not allowed on channels where the
1660 # nokicks (+Q) mode is set. Defaults to false.
1661 # protectedrank: Members having this rank or above may not be /REMOVE'd
1662 # by anyone. Set to 0 to disable this feature. Defaults to 50000.
1663 #<remove supportnokicks="true" protectedrank="50000">
1664
1665 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1666 # A module to block, kick or ban upon similar messages being uttered several times.
1667 # Syntax [~*][lines]:[sec]{[:difference]}{[:matchlines]}
1668 # ~ is to block, * is to ban, default is kick.
1669 # 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
1670 # seconds - How old the message has to be before it's invalidated.
1671 # distance - Edit distance, in percent, between two strings to trigger on.
1672 # matchlines - When set, the function goes into mode 2. In this mode the function will trigger if this many of the last <lines> matches.
1673 #
1674 # As this module can be rather CPU-intensive, it comes with some options.
1675 # maxbacklog - Maximum size that can be specified for backlog. 0 disables multiline matching.
1676 # maxdistance - Max percentage of difference between two lines we'll allow to match. Set to 0 to disable edit-distance matching.
1677 # maxlines - Max lines of backlog to match against.
1678 # maxtime - Maximum period of time a user can set. 0 to allow any.
1679 # size - Maximum number of characters to check for, can be used to truncate messages
1680 # before they are checked, resulting in less CPU usage. Increasing this beyond 512
1681 # doesn't have any effect, as the maximum length of a message on IRC cannot exceed that.
1682 #<repeat maxbacklog="20" maxlines="20" maxdistance="50" maxtime="0" size="512">
1683 #<module name="repeat">
1684
1685 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1686 # Restricted channels module: Allows only opers to create channels.
1687 #
1688 # You probably *DO NOT* want to load this module on a public network.
1689 #
1690 #<module name="restrictchans">
1691
1692 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1693 # Restrict message module: Allows users to only message opers.
1694 #
1695 # You probably *DO NOT* want to load this module on a public network.
1696 #
1697 #<module name="restrictmsg">
1698
1699 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1700 # R-Line module: Ban users through regular expression patterns.
1701 #<module name="rline">
1702 #
1703 #-#-#-#-#-#-#-#-#-#-#-#- RLINE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1704 #
1705 # If you wish to re-check a user when they change nickname (can be
1706 # useful under some situations, but *can* also use CPU with more users
1707 # on a server) then set 'matchonnickchange' to yes.
1708 # Also, this is where you set what Regular Expression engine is to be
1709 # used. If you ever change it while running, all of your R-Lines will
1710 # be wiped. This is the regex engine used by all R-Lines set, and
1711 # regex_<engine> must be loaded, or rline will be non-functional
1712 # until you load it or change the engine to one that is loaded.
1713 #
1714 #<rline matchonnickchange="yes" engine="pcre">
1715 #
1716 # Generally, you will NOT want to use 'glob' here, as this turns
1717 # rline into just another gline. The exceptions are that rline will
1718 # always use the full "nick!user@host realname" string, rather than only
1719 # user@host, but beware that only the ? and * wildcards are available,
1720 # and are the only way to specify where the space can occur if you do
1721 # use glob. For this reason, is recommended to use a real regex engine
1722 # so that at least \s or [[:space:]] is available.
1723
1724 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1725 # RMODE module: Adds the /RMODE command
1726 # Allows channel mods to remove list modes en masse.
1727 # Syntax: /rmode <channel> <mode> [pattern]
1728 # E.g. '/rmode #Channel b m:*' will remove all mute-extbans on the channel.
1729 #<module name="rmode">
1730
1731 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1732 # SAJOIN module: Adds the /SAJOIN command which forcibly joins a user
1733 # to the given channel.
1734 # This module is oper-only.
1735 # To use, SAJOIN must be in one of your oper class blocks.
1736 # Opers need the users/sajoin-others priv to be able to /SAJOIN users
1737 # other than themselves.
1738 #<module name="sajoin">
1739
1740 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1741 # SAKICK module: Adds the /SAKICK command which kicks a user from the
1742 # given channel.
1743 # This module is oper-only.
1744 # To use, SAKICK must be in one of your oper class blocks.
1745 #<module name="sakick">
1746
1747 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1748 # SAMODE module: Adds the /SAMODE command which allows server operators
1749 # to change modes on a channel without requiring them to have any
1750 # channel priviliges. Also allows changing user modes for any user.
1751 # This module is oper-only.
1752 # To use, SAMODE must be in one of your oper class blocks.
1753 #<module name="samode">
1754
1755 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1756 # SANICK module: Adds the /SANICK command which allows opers to change
1757 # users' nicks.
1758 # This module is oper-only.
1759 # To use, SANICK must be in one of your oper class blocks.
1760 #<module name="sanick">
1761
1762 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1763 # SAPART module: Adds the /SAPART command which forcibly parts a user
1764 # from a channel.
1765 # This module is oper-only.
1766 # To use, SAPART must be in one of your oper class blocks.
1767 #<module name="sapart">
1768
1769 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1770 # SAQUIT module: Adds the /SAQUIT command which forcibly quits a user.
1771 # This module is oper-only.
1772 # To use, SAQUIT must be in one of your oper class blocks.
1773 #<module name="saquit">
1774
1775 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1776 # SATOPIC module: Adds the /SATOPIC command which allows changing the
1777 # topic on a channel without requiring any channel priviliges.
1778 # This module is oper-only.
1779 # To use, SATOPIC must be in one of your oper class blocks.
1780 #<module name="satopic">
1781
1782 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1783 # SASL authentication module: Provides support for IRC Authentication
1784 # Layer via AUTHENTICATE. Note: You also need to have cap loaded
1785 # for SASL to work.
1786 #<module name="sasl">
1787 # Define the following to your services server name to improve security
1788 # by ensuring the SASL messages are only sent to the services server
1789 # and not to all connected servers. This prevents a rogue server from
1790 # capturing SASL messages and disables the SASL cap when services is
1791 # down.
1792 #<sasl target="services.mynetwork.com">
1793
1794 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1795 # Secure list module: Prevent /LIST in the first minute of connection,
1796 # crippling most spambots and trojan spreader bots.
1797 #<module name="securelist">
1798 #
1799 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1800 #                                                                     #
1801 # Securelist can be harmful to some IRC search engines. To prevent    #
1802 # securelist blocking these sites from listing, define exception tags #
1803 # as shown below:                                                     #
1804 #<securehost exception="*@*.netsplit.de">
1805 #<securehost exception="*@*.ircdriven.com">
1806 #<securehost exception="*@*.ircs.me">
1807 #                                                                     #
1808 # Define the following variable to change how long a user must wait   #
1809 # before issuing a LIST. If not defined, defaults to 60 seconds.      #
1810 #                                                                     #
1811 #<securelist waittime="1m">                                           #
1812
1813 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1814 # Servprotect module: Provides support for Austhex style +k /
1815 # UnrealIRCD +S services mode.
1816 #<module name="servprotect">
1817
1818 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1819 # See nicks module: Adds snomask +n and +N which show local and remote
1820 # nick changes.
1821 # This module is oper-only.
1822 #<module name="seenicks">
1823
1824 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1825 # Set idle module: Adds a command for opers to change their idle time.
1826 # This module is oper-only.
1827 # To use, SETIDLE must be in one of your oper class blocks.
1828 #<module name="setidle">
1829
1830 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1831 # Services support module: Adds several usermodes such as +R and +M.
1832 # This module implements the 'identified' state via account names,
1833 # and is similar in operation to the way asuka and ircu handle services.
1834 #
1835 # At the same time, this offers +r for users and channels to mark them
1836 # as identified separately from the idea of a master account, which
1837 # can be useful for services which are heavily nick-as-account centric.
1838 #
1839 # Also of note is that this module implements two extbans:
1840 # +b R: (stop matching account names from joining)
1841 # +b U:n!u@h (blocks matching unregistered users)
1842 #
1843 #<module name="services_account">
1844
1845 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1846 # Sethost module: Adds the /SETHOST command.
1847 # This module is oper-only.
1848 # To use, SETHOST must be in one of your oper class blocks.
1849 # See the chghost module for how to customise valid chars for hostnames.
1850 #<module name="sethost">
1851
1852 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1853 # Setident module: Adds the /SETIDENT command.
1854 # This module is oper-only.
1855 # To use, SETIDENT must be in one of your oper class blocks.
1856 #<module name="setident">
1857
1858 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1859 # SETNAME module: Adds the /SETNAME command.
1860 #<module name="setname">
1861
1862 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1863 # Serverban: Implements extended ban 's', which stops anyone connected
1864 # to a server matching a mask like +b s:server.mask.here from joining.
1865 #<module name="serverban">
1866
1867 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1868 # SHA1 module: Allows other modules to generate SHA1 hashes.
1869 # Required by the WebSocket module.
1870 #<module name="sha1">
1871
1872 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1873 # Showfile: Provides support for showing a text file to users when    #
1874 # they enter a command.                                               #
1875 # This module adds one command for each <showfile> tag that shows the #
1876 # given file to the user as a series of messages or numerics.         #
1877 #<module name="showfile">                                             #
1878 #                                                                     #
1879 #-#-#-#-#-#-#-#-#-#-# SHOWFILE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1880 #                                                                     #
1881 # name    - The name of the command which displays this file. This is #
1882 #           the only mandatory setting, all others are optional.      #
1883 # file    - The text file to be shown to the user.                    #
1884 #           By default same as the command name.                      #
1885 # method  - How should the file be shown?                             #
1886 #           * numeric: Send contents using a numeric                  #
1887 #             (similar to /MOTD; the default).                        #
1888 #           * notice:  Send contents as a series of notices.          #
1889 #           * msg:     Send contents as a series of private messages. #
1890 #                                                                     #
1891 # When using the method "numeric", the following extra settings are   #
1892 # available:                                                          #
1893 #                                                                     #
1894 # introtext    - Introductory line, "Showing <name>" by default.      #
1895 # intronumeric - Numeric used for the introductory line.              #
1896 # numeric      - Numeric used for sending the text itself.            #
1897 # endtext      - Ending line, "End of <name>" by default.             #
1898 # endnumeric   - Numeric used for the ending line.                    #
1899 #                                                                     #
1900 #<showfile name="RULES"
1901 #          file="rules.txt"
1902 #          introtext="Server rules:"
1903 #          endtext="End of server rules.">
1904
1905 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1906 # Show whois module: Adds the +W usermode which allows opers to see
1907 # when they are /WHOIS'd.
1908 # This module is oper-only by default.
1909 #<module name="showwhois">
1910 #
1911 # If you wish, you may also let users set this mode. Only opers with the
1912 # users/auspex priv will see real hosts of people, though.
1913 #<showwhois opersonly="yes"
1914 #
1915 # You may also set whether or not users should receive whois notices,
1916 # should they be /WHOIS'd by an oper.
1917 #showfromopers="yes">
1918
1919 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1920 # Shun module: Provides the /SHUN command, which stops a user from
1921 # executing all except configured commands.
1922 # This module is oper-only.
1923 # To use, SHUN must be in one of your oper class blocks.
1924 #<module name="shun">
1925 #
1926 # You may also configure which commands you wish a user to be able to
1927 # perform when shunned. It should be noted that if a shunned user
1928 # issues QUIT or PART then their message will be removed, as if they
1929 # did not issue one.
1930 #
1931 # You can optionally let the user know that their command was blocked.
1932 #
1933 # You may also let SHUN affect opers (defaults to no).
1934 #<shun enabledcommands="ADMIN PING PONG QUIT PART JOIN" notifyuser="yes" affectopers="no">
1935
1936 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1937 # SSL mode module: Adds support for SSL-only channels via the '+z'
1938 # channel mode, SSL-only private messages via the '+z' user mode and
1939 # the 'z:' extban which matches SSL client certificate fingerprints.
1940 #
1941 # Does not do anything useful without a working SSL module and the
1942 # sslinfo module (see below).
1943 #<module name="sslmodes">
1944 #
1945 # The +z user mode is not enabled by default to enable link compatibility
1946 # with 2.0 servers. You can enable it by uncommenting this:
1947 #<sslmodes enableumode="yes">
1948
1949 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1950 # SSL rehash signal module: Allows the SSL modules to be rehashed by
1951 # sending SIGUSR1 to a running InspIRCd process.
1952 # This modules is in extras. Re-run configure with:
1953 # ./configure --enable-extras=m_sslrehashsignal.cpp
1954 # and run make install, then uncomment this module to enable it.
1955 #<module name="sslrehashsignal">
1956
1957 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1958 # GnuTLS SSL module: Adds support for SSL connections using GnuTLS,
1959 # if enabled. You must answer 'yes' in ./configure when asked or
1960 # manually symlink the source for this module from the directory
1961 # src/modules/extra, if you want to enable this, or it will not load.
1962 #<module name="ssl_gnutls">
1963 #
1964 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1965 #                                                                     #
1966 # ssl_gnutls is too complex to describe here, see the wiki:           #
1967 # https://wiki.inspircd.org/Modules/3.0/ssl_gnutls                    #
1968
1969 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1970 # SSL info module: Allows users to retrieve information about other
1971 # users' peer SSL certificates and keys. This can be used by client
1972 # scripts to validate users. For this to work, one of ssl_gnutls
1973 # or ssl_openssl must be loaded. This module also adds the
1974 # "* <user> is using a secure connection" whois line, the ability for
1975 # opers to use SSL cert fingerprints to verify their identity and the
1976 # ability to force opers to use SSL connections in order to oper up.
1977 # It is highly recommended to load this module if you use SSL on your
1978 # network.
1979 # For how to use the oper features, please see the first example <oper> tag
1980 # in opers.conf.example.
1981 #
1982 #<module name="sslinfo">
1983
1984 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1985 # mbedTLS SSL module: Adds support for SSL/TLS connections using mbedTLS.
1986 #<module name="ssl_mbedtls">
1987
1988 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1989 # OpenSSL SSL module: Adds support for SSL connections using OpenSSL,
1990 # if enabled. You must answer 'yes' in ./configure when asked or symlink
1991 # the source for this module from the directory src/modules/extra, if
1992 # you want to enable this, or it will not load.
1993 #<module name="ssl_openssl">
1994 #
1995 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1996 #                                                                     #
1997 # ssl_openssl is too complex to describe here, see the wiki:          #
1998 # https://wiki.inspircd.org/Modules/3.0/ssl_openssl                   #
1999
2000 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2001 # Strip color module: Adds channel mode +S that strips color codes and
2002 # all control codes except CTCP from all messages sent to the channel.
2003 #<module name="stripcolor">
2004
2005 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2006 # Silence module: Adds support for the /SILENCE command, which allows
2007 # users to have a server-side ignore list for their client.
2008 #<module name="silence">
2009 #
2010 # Set the maximum number of entries allowed on a user's silence list.
2011 #<silence maxentries="32"
2012 #
2013 # Whether messages from U-lined servers will bypass silence masks.
2014 #exemptuline="yes">
2015
2016 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2017 # SQLite3 module: Allows other SQL modules to access SQLite3          #
2018 # databases through a unified API.                                    #
2019 # This module is in extras. Re-run configure with:                    #
2020 # ./configure --enable-extras=m_sqlite3.cpp
2021 # and run make install, then uncomment this module to enable it.      #
2022 #
2023 #<module name="sqlite3">
2024 #
2025 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
2026 #                                                                     #
2027 # sqlite is more complex than described here, see the wiki for more   #
2028 # info: https://wiki.inspircd.org/Modules/3.0/sqlite3                 #
2029 #
2030 #<database module="sqlite" hostname="/full/path/to/database.db" id="anytext">
2031
2032 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2033 # SQL authentication module: Allows IRCd connections to be tied into
2034 # a database table (for example a forum).
2035 #
2036 #<module name="sqlauth">
2037 #
2038 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2039 #                                                                     #
2040 # sqlauth is too complex to describe here, see the wiki:              #
2041 # https://wiki.inspircd.org/Modules/3.0/sqlauth                       #
2042
2043 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2044 # SQL oper module: Allows you to store oper credentials in an SQL
2045 # table. You can add additional table columns like you would config
2046 # tags in opers.conf. Opers in opers.conf will override opers from
2047 # this module.
2048 #
2049 #<module name="sqloper">
2050 #
2051 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2052 #                                                                     #
2053 # dbid       - Database ID to use (see SQL modules).                  #
2054 #                                                                     #
2055 # See also: https://wiki.inspircd.org/Modules/3.0/sqloper             #
2056 #                                                                     #
2057 #<sqloper dbid="1">
2058
2059 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2060 # StartTLS module: Implements STARTTLS, which allows clients          #
2061 # connected to non SSL enabled ports to enable SSL, if a proper SSL   #
2062 # module is loaded (either ssl_gnutls or ssl_openssl).                #
2063 #<module name="starttls">
2064
2065 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2066 # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be   #
2067 # added/removed by Services.                                          #
2068 #<module name="svshold">
2069 # SVSHOLD does not generate server notices by default, you can turn
2070 # notices on by uncommenting the next line.
2071 #<svshold silent="false">
2072
2073 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2074 # SWHOIS module: Allows you to add arbitrary lines to user WHOIS.
2075 # This module is oper-only.
2076 # To use, SWHOIS must be in one of your oper class blocks.
2077 #<module name="swhois">
2078
2079 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2080 # Timed bans module: Adds timed channel bans with the /TBAN command.
2081 #<module name="timedbans">
2082
2083 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2084 # Test line module: Adds the /TLINE command, used to test how many
2085 # users a /GLINE or /ZLINE etc. would match.
2086 # This module is oper-only.
2087 # To use, TLINE must be in one of your oper class blocks.
2088 #<module name="tline">
2089
2090 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2091 # Topiclock module: implements server-side topic locking to achieve deeper
2092 # integration with services packages.
2093 #<module name="topiclock">
2094
2095 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2096 # UHNAMES support module: Adds support for the IRCX style UHNAMES
2097 # extension, which displays ident and hostname in the names list for
2098 # each user, saving clients from doing a WHO on the channel.
2099 # If a client does not support UHNAMES it will not enable it, this will
2100 # not break incompatible clients.
2101 #<module name="uhnames">
2102
2103 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2104 # Uninvite module: Adds the /UNINVITE command which lets users remove
2105 # pending invites from channels without waiting for the user to join.
2106 #<module name="uninvite">
2107
2108 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2109 # Userip module: Adds the /USERIP command.
2110 # Allows users to query their own IP, also allows opers to query the IP
2111 # of anyone else.
2112 #<module name="userip">
2113
2114 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2115 # Vhost module: Adds the VHOST command which allows for adding virtual
2116 # hosts which are accessible using a username and password in the config.
2117 #<module name="vhost">
2118 #
2119 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
2120 #                                                                     #
2121 # user       - Username for the vhost.                                #
2122 #                                                                     #
2123 # pass       - Password for the vhost.                                #
2124 #                                                                     #
2125 # hash       - The hash for the specific user (optional)              #
2126 #              password_hash and a hashing module must be loaded for  #
2127 #              this to work.                                          #
2128 #                                                                     #
2129 # host       - Vhost to set.                                          #
2130 #
2131 #<vhost user="some_username" pass="some_password" host="some.host.test.cc">
2132 #<vhost user="foo" password="$2a$10$iTuYLT6BRhRlOgzfsW9oPe62etW.oXwSpyKw5rJit64SGZanLXghO" hash="bcrypt" host="some.other.host.example.com">
2133
2134 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2135 # Watch module: Adds the WATCH command, which is used by clients to
2136 # maintain notify lists.
2137 #<module name="watch">
2138 #
2139 # Set the maximum number of entries on a user's watch list below.
2140 #<watch maxentries="32">
2141
2142 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2143 # WebSocket module: Adds HTML5 WebSocket support.
2144 # Specify hook="websocket" in a <bind> tag to make that port accept
2145 # WebSocket connections. Compatible with SSL/TLS.
2146 # Requires SHA-1 hash support available in the sha1 module.
2147 #<module name="websocket">
2148
2149 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2150 # XLine database: Stores all *Lines (G/Z/K/R/any added by other modules)
2151 # in a file which is re-loaded on restart. This is useful
2152 # for two reasons: it keeps bans so users may not evade them, and on
2153 # bigger networks, server connections will take less time as there will
2154 # be a lot less bans to apply - as most of them will already be there.
2155 #<module name="xline_db">
2156
2157 # Specify the filename for the xline database here.
2158 #<xlinedb filename="xline.db">
2159
2160 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2161 #    ____                _   _____ _     _       ____  _ _   _        #
2162 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
2163 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
2164 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
2165 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
2166 #                                                                     #
2167 # To link servers to InspIRCd, you MUST load the spanningtree module. #
2168 # If you don't do this, server links will NOT work at all.            #
2169 # This is by design, to allow for the implementation of other linking #
2170 # protocols in modules in the future.                                 #
2171
2172 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2173 # Spanning tree module: Allows linking of servers using the spanning
2174 # tree protocol (see the READ THIS BIT section above).
2175 # You will almost always want to load this.
2176 #
2177 #<module name="spanningtree">