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