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