]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/conf/modules.conf.example
Fix two minor docs issues
[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/2.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 m_spanningtree       #
23 # module. 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 m_cloaking.so and m_password_hash.so may rely on
35 # this module being loaded to function.
36 #
37 #<module name="m_md5.so">
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 m_password_hash.so may rely on this module being
45 # loaded to function. Certain modules such as m_spanningtree.so 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="m_sha256.so">
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="m_ripemd160.so">
57
58 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
59 # Abbreviation module: Provides the ability to abbreviate commands a-la
60 # BBC BASIC keywords.
61 #<module name="m_abbreviation.so">
62
63 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
64 # Alias module: Allows you to define server-side command aliases.
65 #<module name="m_alias.so">
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 m_alias.so module loaded, you may also define       #
76 # aliases as shown below. They are commonly used to provide shortcut  #
77 # commands to 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 #<alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
139 #<alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
140 #<alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
141 #<alias text="BOTSERV" replace="PRIVMSG BotServ :$2-" requires="BotServ" uline="yes">
142 #<alias text="HOSTSERV" replace="PRIVMSG HostServ :$2-" requires="HostServ" uline="yes">
143 #<alias text="MEMOSERV" replace="PRIVMSG MemoServ :$2-" requires="MemoServ" uline="yes">
144 #<alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
145 #<alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
146 #<alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
147 #<alias text="BS" replace="PRIVMSG BotServ :$2-" requires="BotServ" uline="yes">
148 #<alias text="HS" replace="PRIVMSG HostServ :$2-" requires="HostServ" uline="yes">
149 #<alias text="MS" replace="PRIVMSG MemoServ :$2-" requires="MemoServ" uline="yes">
150 #
151 # An example of using the format value to create an alias with two
152 # different behaviours depending on the format of the parameters.
153 #
154 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
155 #  requires="ChanServ" uline="yes">
156 #
157 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
158 #  requires="NickServ" uline="yes">
159 #
160 # This alias fixes a glitch in xchat 2.6.x and above and the way it
161 # assumes IDENTIFY must be prefixed by a colon (:) character. It should
162 # be placed ABOVE the default NICKSERV alias (the first example) listed
163 # above.
164 #
165 #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
166 #  requires="NickServ" uline="yes">
167 #
168 # You may also add aliases to trigger based on something said in a
169 # channel, aka 'fantasy' commands, configured in the same manner as any
170 # other alias, with usercommand="no" and channelcommand="yes" The
171 # command must be preceded by the fantasy prefix when used.
172 #
173 #<alias text="CS" usercommand="no" channelcommand="yes"
174 #  replace="PRIVMSG ChanServ :$1 $chan $2-" requires="ChanServ" uline="yes">
175 #
176 # This would be used as "!cs <command> <options>", with the channel
177 # being automatically inserted after the command in the message to
178 # ChanServ, assuming the fantasy prefix is "!".
179
180 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
181 # Allowinvite module: Gives channel mode +A to allow all users to use
182 # /INVITE, and extban A to deny invite from specific masks.
183 #<module name="m_allowinvite.so">
184
185 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
186 # Alltime module: Shows time on all connected servers at once.
187 # This module is oper-only and provides /ALLTIME.
188 # To use, ALLTIME must be in one of your oper class blocks.
189 #<module name="m_alltime.so">
190
191 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
192 # Auditorium module: Adds channel mode +u which makes everyone else
193 # except you in the channel invisible, used for large meetings etc.
194 #<module name="m_auditorium.so">
195 #
196 # Auditorium settings:
197 #
198 #<auditorium opvisible="no" opcansee="no" opercansee="yes">
199 #
200 # opvisible (auditorium-vis in exemptchanops):
201 #   Show channel ops to all users
202 # opcansee (auditorium-see in exemptchanops):
203 #   Allow ops to see all joins/parts/kicks in the channel
204 # opercansee:
205 #   Allow opers (channels/auspex) to see see all joins/parts/kicks in the channel
206 #
207 # Exemptchanops can be used to adjust the level at which users become visible or
208 # the level at which they can see the full member list of the channel.
209
210 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
211 # Autoop module: Adds basic channel access controls via the +w listmode.
212 # For example +w o:*!Attila@127.0.0.1 will op anyone matching that mask
213 # on join. This can be combined with extbans, for example +w o:R:Brain
214 # will op anyone identified to the account "Brain".
215 # Another useful combination is with SSL client certificate
216 # fingerprints: +w h:z:72db600734bb9546c1bdd02377bc21d2a9690d48 will
217 # give halfop to the user(s) having the given certificate.
218 #<module name="m_autoop.so">
219
220 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
221 # Ban except module: Adds support for channel ban exceptions (+e).
222 #<module name="m_banexception.so">
223
224 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
225 # Ban redirection module: Allows bans which redirect to a specified
226 # channel. e.g. +b nick!ident@host#channelbanneduserissentto
227 #<module name="m_banredirect.so">
228
229 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
230 # Block amsg module: Attempt to block all usage of /amsg and /ame.
231 #<module name="m_blockamsg.so">
232 #
233 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
234 #                                                                     #
235 # If you have the m_blockamsg.so module loaded, you can configure it  #
236 # with the <blockamsg> tag:                                           #
237 #                                                                     #
238 # delay          -   How many seconds between two messages to force   #
239 #                    them to be recognised as unrelated.              #
240 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
241 #                    or 'killopers'. Define how to take action when   #
242 #                    a user uses /amsg or /ame.                       #
243 #
244 #<blockamsg delay="3" action="killopers">
245
246 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
247 # Block CAPS module: Adds channel mode +B, blocks all-CAPS messages.
248 #<module name="m_blockcaps.so">
249 #
250 #-#-#-#-#-#-#-#-#-#-#-  BLOCKCAPS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
251 #                                                                     #
252 # percent        - How many percent of text must be caps before text  #
253 #                  will be blocked.                                   #
254 #                                                                     #
255 # minlen         - The minimum length a line must be for the block    #
256 #                  percent to have any effect.                        #
257 #                                                                     #
258 # capsmap        - A list of chars to be considered CAPS. Can be used #
259 #                  to add CAPS characters for your language. Also you #
260 #                  can add things like ! and space to further lock    #
261 #                  down on caps usage.                                #
262 #<blockcaps percent="50"
263 #           minlen="5"
264 #           capsmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ! ">
265
266 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
267 # Block color module: Blocking color-coded messages with chan mode +c.
268 #<module name="m_blockcolor.so">
269
270 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
271 # Botmode module: Adds the user mode +B. If set on a user, it will
272 # show that the user is a bot in /WHOIS.
273 #<module name="m_botmode.so">
274
275 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
276 # CallerID module: Adds usermode +g which activates hybrid-style
277 # callerid: block all private messages unless you /ACCEPT first.
278 #<module name="m_callerid.so">
279 #
280 #-#-#-#-#-#-#-#-#-#-#- CALLERID  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
281 # maxaccepts     - Maximum number of entries a user can add to his    #
282 #                  /ACCEPT list. Default is 16 entries.               #
283 # operoverride   - Can opers (note: ALL opers) override callerid?     #
284 #                  Default is no.                                     #
285 # tracknick      - Preserve /accept entries when a user changes nick? #
286 #                  If no (the default), the user is removed from      #
287 #                  everyone's accept list if he changes nickname.     #
288 # cooldown       - Amount of time (in seconds) that must pass since   #
289 #                  the last notification sent to a user before he can #
290 #                  be sent another. Default is 60 (1 minute).         #
291 #<callerid maxaccepts="16"
292 #          operoverride="no"
293 #          tracknick="no"
294 #          cooldown="60">
295
296 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
297 # CAP module: Provides the CAP negotiation mechanism required by the
298 # m_sasl, m_namesx, m_uhnames, and m_ircv3 modules.
299 # It is also recommended for the STARTTLS support in m_ssl_gnutls.
300 #<module name="m_cap.so">
301
302 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
303 # CBAN module: Lets you disallow channels from being used at runtime.
304 # This module is oper-only and provides /CBAN.
305 # To use, CBAN must be in one of your oper class blocks.
306 #<module name="m_cban.so">
307
308 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
309 # Censor module: Adds channel and user mode +G.
310 #<module name="m_censor.so">
311 #
312 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
313 #                                                                     #
314 # Optional - If you specify to use the m_censor module, then you must #
315 # specify some censor tags. See also:                                 #
316 # https://wiki.inspircd.org/Modules/2.0/censor                        #
317 #
318 #<include file="conf/examples/censor.conf.example">
319
320 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
321 # CGI:IRC module: Adds support for automatic host changing in CGI:IRC
322 # (http://cgiirc.sourceforge.net).
323 #<module name="m_cgiirc.so">
324 #
325 #-#-#-#-#-#-#-#-#-#-#-# CGIIRC  CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
326 #
327 # Optional - If you specify to use m_cgiirc, then you must specify one
328 # or more cgihost tags which indicate authorised CGI:IRC servers which
329 # will be connecting to your network, and an optional cgiirc tag.
330 # For more information see: https://wiki.inspircd.org/Modules/2.0/cgiirc
331 #
332 # Set to yes if you want to notice opers when CGI:IRC clients connect.
333 # <cgiirc opernotice="no">
334 #
335 # The type field indicates where the module should get the real
336 # client's IP address from, for further information, please see the
337 # CGI:IRC documentation.
338 #
339 # Old style:
340 # <cgihost type="pass" mask="www.example.com">       # Get IP from PASS
341 # <cgihost type="ident" mask="otherbox.example.com"> # Get IP from ident
342 # <cgihost type="passfirst" mask="www.example.com">  # See the docs
343 # New style:
344 # <cgihost type="webirc" password="foobar"
345 #   mask="somebox.example.com">                      # Get IP from WEBIRC
346 #
347 # IMPORTANT NOTE:
348 # ---------------
349 #
350 # When you connect CGI:IRC clients, there are two connect classes which
351 # apply to these clients. When the client initially connects, the connect
352 # class which matches the CGI:IRC site's host is checked. Therefore you
353 # must raise the maximum local/global clients for this ip as high as you
354 # want to allow cgi clients. After the client has connected and is
355 # determined to be a cgi:irc client, the class which matches the client's
356 # real IP is then checked. You may set this class to a lower value, so that
357 # the real IP of the client can still be restricted to, for example, 3
358 # sessions maximum.
359
360 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
361 # Channel create module: Adds snomask +j, which will notify opers of
362 # any new channels that are created.
363 # This module is oper-only.
364 #<module name="m_chancreate.so">
365
366 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
367 # Channel filter module: Allows channel-op defined message filtering
368 # using simple string matches (channel mode +g).
369 #<module name="m_chanfilter.so">
370 #
371 # If hidemask is set to yes, the user will not be shown the mask when
372 # his/her message is blocked.
373 #<chanfilter hidemask="yes">
374
375 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
376 # Channel history module: Displays the last 'X' lines of chat to a user
377 # joining a channel with +H 'X:T' set; 'T' is the maximum time to keep
378 # lines in the history buffer. Designed so that the new user knows what
379 # the current topic of conversation is when joining the channel.
380 #<module name="m_chanhistory.so">
381 #
382 # Set the maximum number of lines allowed to be stored per channel below.
383 # This is the hard limit for 'X'.
384 # If notice is set to yes, joining users will get a NOTICE before playback
385 # telling them about the following lines being the pre-join history.
386 #<chanhistory maxlines="20" notice="yes">
387
388 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
389 # Channel logging module: Used to send snotice output to channels, to
390 # allow staff to centrally monitor and discuss network activity.
391 #
392 # The "channel" field is where you want the messages to go, "snomasks"
393 # is what snomasks you want to be sent to that channel. Multiple tags
394 # are allowed.
395 #<module name="m_chanlog.so">
396 #<chanlog snomasks="AOcC" channel="#opers">
397
398 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
399 # Channel names module: Allows disabling channels which have certain
400 # characters in the channel name such as bold, colorcodes, etc. which
401 # can be quite annoying and allow users to on occasion have a channel
402 # that looks like the name of another channel on the network.
403 #<module name="m_channames.so">
404
405 #<channames
406         # denyrange: characters or range of characters to deny in channel
407         # names.
408         #denyrange="2,3"
409
410         # allowrange: characters or range of characters to specifically allow
411         # in channel names.
412         #allowrange="">
413
414 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
415 # Channelban: Implements extended ban j:, which stops anyone already
416 # in a channel matching a ban like +b j:#channel*mask from joining.
417 # Note that by default wildcard characters * and ? are allowed in
418 # channel names. To disallow them, load m_channames and add characters
419 # 42 and 63 to denyrange (see above).
420 #<module name="m_channelban.so">
421
422 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
423 # Chanprotect module: Gives +q and +a channel modes.
424 #
425 # IMPORTANT: This module has been removed in the next major version of
426 # InspIRCd. You should use m_customprefix instead.
427 #<module name="m_chanprotect.so">
428
429 #<chanprotect
430         # noservices: With this set to yes, when a user joins an empty channel,
431         # the server will set +q on them. If set to no, it will only set +o
432         # on them until they register the channel.
433         #noservices="no"
434
435         # qprefix: Prefix (symbol) to use for +q users.
436         #qprefix="~"
437
438         # aprefix: Prefix (symbol) to use for +a users.
439         #aprefix="&amp;"
440
441         # deprotectself: If this value is set (true, yes or 1), it will allow
442         # +a and +q users to remove the +a and +q from themselves, otherwise,
443         # the status will have to be removed by services.
444         #deprotectself="yes"
445
446         # deprotectothers: If this value is set to yes, true, or 1, then any
447         # user with +q or +a may remove the +q or +a from other users.
448         #deprotectothers="yes">
449
450
451 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
452 # Check module: Adds the /CHECK command.
453 # Check is useful for looking up information on channels, users,
454 # IP addresses and hosts.
455 # This module is oper-only.
456 # To use, CHECK must be in one of your oper class blocks.
457 #<module name="m_check.so">
458
459 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
460 # CHGHOST module: Adds the /CHGHOST command.
461 # This module is oper-only.
462 # To use, CHGHOST must be in one of your oper class blocks.
463 # NOTE: Services will not be able to set vhosts on users if this module
464 # isn't loaded. If you're planning on running services, you probably
465 # want to load this.
466 #<module name="m_chghost.so">
467 #
468 #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST  CONFIGURATION #-#-#-#-#-#-#-#-#
469 # Optional - If you want to use special chars for hostnames you can  #
470 # specify your own custom list of chars with the <hostname> tag:     #
471 #                                                                    #
472 # charmap        - A list of chars accepted as valid by the /CHGHOST #
473 #                  and /SETHOST commands. Also note that the list is #
474 #                  case-sensitive.                                   #
475 #<hostname charmap="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_/0123456789">
476
477 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
478 # CHGIDENT module: Adds the /CHGIDENT command.
479 # This module is oper-only.
480 # To use, CHGIDENT must be in one of your oper class blocks.
481 #<module name="m_chgident.so">
482
483 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
484 # CHGNAME module: Adds the /CHGNAME command.
485 # This module is oper-only.
486 # To use, CHGNAME must be in one of your oper class blocks.
487 #<module name="m_chgname.so">
488
489 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
490 # Cloaking module: Adds usermode +x and cloaking support.
491 # Relies on the module m_md5.so being loaded.
492 # To cloak users when they connect, load m_conn_umodes and set
493 # <connect:modes> to include the +x mode. The example <connect> tag
494 # shows this. See the m_conn_umodes module for more information.
495 #<module name="m_cloaking.so">
496 #
497 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
498 #                                                                     #
499 # To use m_cloaking, you must define a cloak key, and optionally a    #
500 # cloak prefix as shown below. The cloak key must be shared across    #
501 # the network for correct cloaking.                                   #
502 #                                                                     #
503 # There are four methods of cloaking:                                 #
504 #                                                                     #
505 #   half           Cloak only the "unique" portion of a host; show    #
506 #                  the last 2 parts of the domain, /16 subnet of IPv4 #
507 #                  or /48 subnet of the IPv6 address.                 #
508 #                                                                     #
509 #   full           Cloak the users completely, using three slices for #
510 #                  common CIDR bans (IPv4: /16, /24; IPv6: /48, /64). #
511 #                                                                     #
512 # These methods use a single key that can be any length of text.      #
513 # An optional prefix may be specified to mark cloaked hosts.          #
514 #                                                                     #
515 # The following methods are maintained for backwards compatibility;   #
516 # they are slightly less secure, and always hide unresolved IPs.      #
517 #                                                                     #
518 #   compat-host    InspIRCd 1.2-compatible host-based cloaking.       #
519 #   compat-ip      InspIRCd 1.2-compatible ip-always cloaking.        #
520 #                                                                     #
521 # If you use a compat cloaking mode then you must specify key1, key2, #
522 # key3, key4; the values must be less than 0x80000000 and should be   #
523 # picked at random. Prefix is mandatory, will default to network name #
524 # if not specified, and will always have a "-" appended.              #
525 #                                                                     #
526 # IMPORTANT: The compat-host and compat-ip modes have been removed in #
527 # the next major version of InspIRCd. You should ONLY use them if you #
528 # need backwards compatibility with InspIRCd 1.2.                     #
529 #
530 #<cloak mode="half"
531 #       key="secret"
532 #       prefix="net-">
533
534 #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
535 # Close module: Allows an oper to close all unregistered connections.
536 # This module is oper-only and provides the /CLOSE command.
537 # To use, CLOSE must be in one of your oper class blocks.
538 #<module name="m_close.so">
539
540 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
541 # Clones module: Adds an oper command /CLONES for detecting cloned
542 # users. Warning: This command may be resource intensive when it is
543 # issued, use with care.
544 # This module is oper-only.
545 # To use, CLONES must be in one of your oper class blocks.
546 #<module name="m_clones.so">
547
548 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
549 # Common channels module: Adds user mode +c, which, when set, requires
550 # that users must share a common channel with you to PRIVMSG or NOTICE
551 # you.
552 #<module name="m_commonchans.so">
553
554 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
555 # Auto join on connect module: Allows you to force users to join one
556 # or more channels automatically upon connecting to the server.
557 #<module name="m_conn_join.so">
558 #
559 #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
560 #
561 # If you have m_conn_join.so loaded, you can configure it using the
562 # following values, or set autojoin="#chat,#help" in <connect> blocks.
563 #
564 #<autojoin channel="#one,#two,#three">
565
566 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
567 # Set modes on connect module: When this module is loaded <connect>
568 # blocks may have an optional modes="" value, which contains modes to
569 # add or remove from users when they connect to the server.
570 #<module name="m_conn_umodes.so">
571
572 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
573 # Wait for PONG on connect module: Send a PING to all connecting users
574 # and don't let them connect until they reply with a PONG.
575 # This is useful to stop certain kinds of bots and proxies.
576 #<module name="m_conn_waitpong.so">
577 #
578 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
579 #                                                                     #
580 # If you have the m_conn_waitpong.so module loaded, configure it with #
581 # the <waitpong> tag:                                                 #
582 #                                                                     #
583 # sendsnotice    -   Whether to send a helpful notice to users on     #
584 #                    connect telling them how to connect, should      #
585 #                    their client not reply PONG automatically.       #
586 #                                                                     #
587 # killonbadreply -   Whether to kill the user if they send the wrong  #
588 #                    PONG reply.                                      #
589 #                                                                     #
590 #<waitpong sendsnotice="yes" killonbadreply="yes">
591
592 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
593 # Channel cycle module: Adds the /CYCLE command which is a server-side
594 # /HOP that bypasses restrictive modes.
595 #<module name="m_cycle.so">
596
597 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
598 # Connectban: Provides IP connection throttling. Any IP range that
599 # connects too many times (configurable) in an hour is Z-Lined for a
600 # (configurable) duration, and their count resets to 0.
601 #<module name="m_connectban.so">
602 #
603 # ipv4cidr and ipv6cidr allow you to turn the comparison from
604 # individual IP addresses (32 and 128 bits) into CIDR masks, to allow
605 # for throttling over whole ISPs/blocks of IPs, which may be needed to
606 # prevent attacks.
607 #
608 # This allows for 10 connections in an hour with a 10 minute ban if
609 # that is exceeded.
610 #<connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128">
611
612 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
613 # Connection throttle module.
614 #<module name="m_connflood.so">
615 #
616 #-#-#-#-#-#-#-#-#-#-#- CONNTHROTTLE CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
617 #  seconds, maxconns -  Amount of connections per <seconds>.
618 #
619 #  timeout           -  Time to wait after the throttle was activated
620 #                       before deactivating it. Be aware that the time
621 #                       is seconds + timeout.
622 #
623 #  quitmsg           -  The message that users get if they attempt to
624 #                       connect while the throttle is active.
625 #
626 #  bootwait          -  Amount of time in seconds to wait before enforcing
627 #                       the throttling when the server just booted.
628 #
629 #<connflood seconds="30" maxconns="3" timeout="30"
630 #   quitmsg="Throttled" bootwait="10">
631
632 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
633 # Custom prefixes: Allows for channel prefixes to be added.
634 # This replaces m_chanprotect and m_halfop.
635 #<module name="m_customprefix.so">
636 #
637 # name       The name of the mode, must be unique from other modes.
638 # letter     The letter used for this mode. Required.
639 # prefix     The prefix used for nicks with this mode. Not required.
640 # rank       A numeric rank for this prefix, defining what permissions it gives.
641 #            The rank of voice, halfop and op is 10000, 20000, and 30000,
642 #            respectively.
643 # ranktoset  The numeric rank required to set/unset this mode. Defaults to rank.
644 # depriv     Can you remove the mode from yourself? Defaults to yes.
645 #<customprefix name="founder" letter="q" prefix="~" rank="50000" ranktoset="50000">
646 #<customprefix name="admin" letter="a" prefix="&amp;" rank="40000" ranktoset="50000">
647 #<customprefix name="halfop" letter="h" prefix="%" rank="20000" ranktoset="30000">
648 #<customprefix name="halfvoice" letter="V" prefix="-" rank="1" ranktoset="20000">
649 #
650 # Do /RELOADMODULE m_customprefix.so after changing the settings of this module.
651
652 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
653 # Custom title module: Adds the /TITLE command which allows for trusted
654 # users to gain a custom whois line and an optional vhost can be
655 # specified.
656 #<module name="m_customtitle.so">
657 #
658 #-#-#-#-#-#-#-#-#-#-  CUSTOM TITLE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#
659 #  name     - The username used to identify.
660 #  password - The password used to identify.
661 #  hash     - The hash for the specific user's password (optional).
662 #             m_password_hash.so and a hashing module must be loaded
663 #             for this to work.
664 #  host     - Allowed hostmask (optional).
665 #  title    - Title shown in whois.
666 #  vhost    - Displayed host (optional).
667 #
668 #<title name="foo" password="bar" title="Official Chat Helper">
669 #<title name="bar" password="foo" host="ident@test.org" title="Official Chat Helper" vhost="helper.test.org">
670 #<title name="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" title="Official Chat Helper">
671
672 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
673 # DCCALLOW module: Adds the /DCCALLOW command.
674 #<module name="m_dccallow.so">
675 #
676 #-#-#-#-#-#-#-#-#-#-#-  DCCALLOW CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
677 #  blockchat         - Whether to block DCC CHAT as well as DCC SEND.
678 #  length            - Default duration of entries in DCCALLOW list.
679 #  action            - Default action to take if no action is
680 #                      specified, can be 'block' or 'allow'.
681 #  maxentries        - Max number of nicks to allow on a DCCALLOW list.
682 #
683 # File configuration:
684 #  pattern           - The glob pattern to match against.
685 #  action            - Action to take if a user attempts to send a file
686 #                      that matches this pattern, can be 'block' or
687 #                      'allow'.
688 #
689 #<dccallow blockchat="yes" length="5m" action="block" maxentries="20">
690 #<banfile pattern="*.exe" action="block">
691 #<banfile pattern="*.txt" action="allow">
692
693 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
694 # Deaf module: Adds support for the usermode +d - deaf to channel
695 # messages and channel notices.
696 #<module name="m_deaf.so">
697
698 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
699 # Delay join module: Adds the channel mode +D which delays all JOIN
700 # messages from users until they speak. If they quit or part before
701 # speaking, their quit or part message will not be shown to the channel
702 # which helps cut down noise on large channels in a more friendly way
703 # than the auditorium mode. Only channel ops may set the +D mode.
704 #<module name="m_delayjoin.so">
705
706 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
707 # Delay message module: Adds the channel mode +d which disallows a user
708 # from talking in the channel unless they've been joined for X seconds.
709 # Settable using /MODE #chan +d 30
710 #<module name="m_delaymsg.so">
711 # Set allownotice to no to disallow NOTICEs too. Defaults to yes.
712 #<delaymsg allownotice="no">
713
714 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
715 # Deny channels module: Deny channels from being used by users.
716 #<module name="m_denychans.so">
717 #
718 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
719 #                                                                     #
720 # If you have the m_denychans.so module loaded, you need to specify   #
721 # the channels to deny:                                               #
722 #                                                                     #
723 # name        -      The channel name to deny (glob masks are ok).    #
724 # allowopers  -      If operators are allowed to override the deny.   #
725 # reason      -      Reason given for the deny.                       #
726 # redirect    -      Redirect the user to a different channel.        #
727 #                                                                     #
728 #<badchan name="#gods*" allowopers="yes" reason="Tortoises!">         #
729 #<badchan name="#chan1" redirect="#chan2" reason="Chan1 is closed">   #
730 #                                                                     #
731 # Redirects will not work if the target channel is set +L.            #
732 #                                                                     #
733 # Additionally, you may specify channels which are allowed, even if   #
734 # a badchan tag specifies it would be denied:                         #
735 #<goodchan name="#funtimes">                                          #
736 # Glob masks are accepted here also.                                  #
737
738 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
739 # Devoice module: Let users devoice themselves using /DEVOICE #chan.
740 #<module name="m_devoice.so">
741
742 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
743 # DNS blacklist module: Provides support for looking up IPs on one or #
744 # more blacklists.                                                    #
745 #<module name="m_dnsbl.so">                                           #
746 #                                                                     #
747 # For configuration options please see the wiki page for m_dnsbl at   #
748 # https://wiki.inspircd.org/Modules/2.0/dnsbl                         #
749
750 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
751 # Exempt channel operators module: Provides support for allowing      #
752 # channel operators to be exempt from some channel modes.  Supported  #
753 # modes are blockcaps, noctcp, blockcolor, nickflood, flood, censor,  #
754 # filter, regmoderated, nonick, nonotice, and stripcolor.             #
755 #<module name="m_exemptchanops.so">                                   #
756
757 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
758 # Filter module: Provides message filtering, similar to SPAMFILTER.   #
759 #<module name="m_filter.so">
760 #                                                                     #
761 # This module depends upon a regex provider such as m_regex_pcre or   #
762 # m_regex_glob to function. You must specify which of these you want  #
763 # m_filter to use via the tag below.                                  #
764 #                                                                     #
765 # Valid engines are:                                                  #
766 #                                                                     #
767 # glob   - Glob patterns, provided via m_regex_glob.                  #
768 # pcre   - PCRE regexps, provided via m_regex_pcre, needs libpcre.    #
769 # tre    - TRE regexps, provided via m_regex_tre, requires libtre.    #
770 # posix  - POSIX regexps, provided via m_regex_posix, not available   #
771 #          on Windows, no dependencies on other operating systems.    #
772 # stdlib - stdlib regexps, provided via m_regex_stdlib, see comment   #
773 #          at the <module> tag for info on availability.              #
774 #                                                                     #
775 #<filteropts engine="glob">                                           #
776 #                                                                     #
777 # Your choice of regex engine must match on all servers network-wide.
778 #
779 # You may specify specific channels that are exempt from being filtered:
780 #<exemptfromfilter channel="#blah">
781 #
782 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
783 #                                                                     #
784 # Optional - If you specify to use the m_filter module, then          #
785 # specify below the path to the filter.conf file, or define some      #
786 # <filter> tags.                                                      #
787 #                                                                     #
788 #<include file="conf/examples/filter.conf.example">
789
790 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
791 # Gecos ban: Implements extended ban 'r', which stops anyone matching
792 # a mask like +b r:*realname?here* from joining a channel.
793 #<module name="m_gecosban.so">
794
795 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
796 # GeoIP module: Allows the server admin to match users by country code.
797 # This module is in extras. Re-run configure with:
798 # ./configure --enable-extras=m_geoip.cpp
799 # and run make install, then uncomment this module to enable it.
800 # This module requires GeoIP to be installed on your system,
801 # use your package manager to find the appropriate packages
802 # or check the InspIRCd wiki page for this module.
803 #<module name="m_geoip.so">
804 #
805 # The actual allow/ban actions are done by connect classes, not by the
806 # GeoIP module. An example connect class to ban people from russia or
807 # turkey:
808 #
809 # <connect deny="*" geoip="TR,RU">
810 #
811 # The country code must be in capitals and should be an ISO country
812 # code such as TR, GB, or US. Unknown IPs (localhost, LAN IPs, etc)
813 # will be assigned the country code "UNK". Since connect classes are
814 # matched from top down, your deny classes must be above your allow
815 # classes for them to match.
816
817 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
818 # Globops module: Provides the /GLOBOPS command and snomask +g.
819 # This module is oper-only.
820 # To use, GLOBOPS must be in one of your oper class blocks.
821 #<module name="m_globops.so">
822
823 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
824 # Global load module: Allows loading and unloading of modules network-
825 # wide (USE WITH EXTREME CAUTION!)
826 # This module is oper-only and provides /GLOADMODULE, /GUNLOADMODULE
827 # and /GRELOADMODULE.
828 # To use, GLOADMODULE, GUNLOADMODULE and GRELOADMODULE
829 # must be in one of your oper class blocks.
830 #<module name="m_globalload.so">
831
832 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
833 # Halfop module: Provides the +h (halfops) channel status mode.
834 #
835 # IMPORTANT: This module has been removed in the next major version of
836 # InspIRCd. You should use m_customprefix instead.
837 #<module name="m_halfop.so">
838
839 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
840 # HELPOP module: Provides the /HELPOP command.
841 #<module name="m_helpop.so">
842 #
843 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
844 #                                                                     #
845 # If you specify to use the m_helpop.so module, then specify below    #
846 # the path to the helpop.conf file.                                   #
847 #<include file="conf/examples/inspircd.helpop-full.example">
848
849 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
850 # Hide chans module: Allows users to hide their channels list from non-
851 # opers by setting user mode +I on themselves.
852 #<module name="m_hidechans.so">
853 #
854 # This mode can optionally prevent opers from seeing channels on a +I
855 # user, for more privacy if set to true.
856 # This setting is not recommended for most mainstream networks.
857 #<hidechans affectsopers="false">
858
859 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
860 # Hide oper module: Allows opers to hide their oper status from non-
861 # opers by setting user mode +H on themselves.
862 # This module is oper-only.
863 #<module name="m_hideoper.so">
864
865 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
866 # Hostchange module: Allows a different style of cloaking.
867 #<module name="m_hostchange.so">
868 #
869 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
870 #                                                                     #
871 # See https://wiki.inspircd.org/Modules/2.0/hostchange for help.      #
872 #                                                                     #
873 #<host suffix="invalid.org" separator="." prefix="">
874 #<hostchange mask="*@42.theanswer.example.org" action="addnick">
875 #<hostchange mask="*root@*" action="suffix">
876 #<hostchange mask="a@example.com" action="set" value="foo.bar.baz">
877 #<hostchange mask="localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
878
879 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
880 # httpd module: Provides HTTP server support for InspIRCd.
881 #<module name="m_httpd.so">
882 #
883 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
884 #
885 # If you choose to use the m_httpd.so module, then you will need to add
886 # a <bind> tag with type "httpd", and load at least one of the other
887 # m_httpd_* modules to provide pages to display.
888 #
889 # You can adjust the timeout for HTTP connections below. All HTTP
890 # connections will be closed after (roughly) this many seconds.
891 #<httpd timeout="20">
892
893 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
894 # HTTP ACL module: Provides access control lists for m_httpd dependent
895 # modules. Use this module to restrict pages by IP address and by
896 # password.
897 #<module name="m_httpd_acl.so">
898 #
899 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD ACL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
900 #
901 # Restrict access to the m_httpd_stats module to all but the local
902 # network and when the correct password is specified:
903 # <httpdacl path="/stats*" types="password,whitelist"
904 #    username="secrets" password="mypasshere" whitelist="127.0.0.*,10.*">
905 #
906 # Deny all connections to all but the main index page:
907 # <httpdacl path="/*" types="blacklist" blacklist="*">
908
909 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
910 # HTTP config module: Allows the configuration of the server to be
911 # viewed over HTTP. Requires m_httpd.so to be loaded for it to function.
912 #<module name="m_httpd_config.so">
913
914 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
915 # HTTP stats module: Provides basic stats pages over HTTP.
916 # Requires m_httpd.so to be loaded for it to function.
917 #<module name="m_httpd_stats.so">
918
919 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
920 # Ident: Provides RFC 1413 ident lookup support.
921 # When this module is loaded <connect:allow> tags may have an optional
922 # useident="yes|no" boolean value, determining whether or not to lookup
923 # ident on users matching that connect tag.
924 #<module name="m_ident.so">
925 #
926 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
927 #                                                                     #
928 # Optional - If you are using the m_ident.so module, then you can     #
929 # specify the timeout for ident lookups here. If not defined, it will #
930 # default to 5 seconds. This is a non-blocking timeout which holds    #
931 # the user in a 'connecting' state until the lookup is complete.      #
932 # The bind value indicates which IP to bind outbound requests to.     #
933 #
934 #<ident timeout="5">
935
936 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
937 # Invite exception module: Adds support for channel invite exceptions
938 # (+I).
939 #<module name="m_inviteexception.so">
940 # bypasskey: If this is enabled, exceptions will bypass +k as well as +i
941 #<inviteexception bypasskey="yes">
942
943 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
944 # IRCv3 module: Provides the following IRCv3 extensions:
945 # extended-join, away-notify and account-notify. These are optional
946 # enhancements to the client-to-server protocol. An extension is only
947 # active for a client when the client specifically requests it, so this
948 # module needs m_cap to work.
949 #
950 # Further information on these extensions can be found at the IRCv3
951 # working group website:
952 # http://ircv3.net/irc/
953 #
954 #<module name="m_ircv3.so">
955 # The following block can be used to control which extensions are
956 # enabled. Note that extended-join can be incompatible with m_delayjoin
957 # and host cycling.
958 #<ircv3 accountnotify="on" awaynotify="on" extendedjoin="on">
959
960 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
961 # Join flood module: Adds support for join flood protection +j X:Y.
962 # Closes the channel for 60 seconds if X users join in Y seconds.
963 #<module name="m_joinflood.so">
964
965 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
966 # Jump server module: Adds support for the RPL_REDIR numeric.
967 # This module is oper-only.
968 # To use, JUMPSERVER must be in one of your oper class blocks.
969 # If your server is redirecting new clients and you get disconnected,
970 # do a REHASH from shell to open up again.
971 #<module name="m_jumpserver.so">
972
973 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
974 # Anti auto rejoin: Adds support for prevention of auto-rejoin (+J).
975 #<module name="m_kicknorejoin.so">
976 # Set the maximum time that is accepted as a parameter for +J here.
977 #<kicknorejoin maxtime="1m">
978
979 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
980 # Knock module: Adds the /KNOCK command and channel mode +K.
981 #<module name="m_knock.so">
982 #
983 # This setting specifies what to do when someone successfully /KNOCKs.
984 # If set to "notice", then a NOTICE will be sent to the channel.
985 # This is the default and the compatible setting, as it requires no
986 # special support from the clients.
987 # If set to "numeric" then a 710 numeric will be sent to the channel.
988 # This allows easier scripting but not all clients support it.
989 # If set to "both" then (surprise!) both will be sent.
990 #<knock notify="notice">
991
992 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
993 # LDAP authentication module: Adds the ability to authenticate users  #
994 # via LDAP. This is an extra module which must be enabled explicitly  #
995 # by symlinking it from modules/extra, and requires the OpenLDAP libs #
996 # This module is in extras. To enable it, Re-run configure with:      #
997 # ./configure --enable-extras=m_ldapauth.cpp                          #
998 # and run make install, then uncomment this module.                   #
999 #<module name="m_ldapauth.so">
1000 #                                                                     #
1001 # Configuration:                                                      #
1002 #                                                                     #
1003 # <ldapauth baserdn="ou=People,dc=brainbox,dc=cc"                     #
1004 #           attribute="uid"                                           #
1005 #           server="ldap://brainwave.brainbox.cc"                     #
1006 #           allowpattern="Guest*"                                     #
1007 #           killreason="Access denied"                                #
1008 #           searchscope="subtree"                                     #
1009 #           binddn="cn=Manager,dc=brainbox,dc=cc"                     #
1010 #           bindauth="mysecretpass"                                   #
1011 #           verbose="yes"                                             #
1012 #           host="$uid.$ou.inspircd.org"                              #
1013 #           useusername="no">                                         #
1014 #                                                                     #
1015 # <ldapwhitelist cidr="10.42.0.0/16">                                 #
1016 #                                                                     #
1017 # <ldaprequire attribute="attr" value="val">                          #
1018 #                                                                     #
1019 # The baserdn indicates the base DN to search in for users. Usually   #
1020 # this is 'ou=People,dc=yourdomain,dc=yourtld'.                       #
1021 #                                                                     #
1022 # The attribute value indicates the attribute which is used to locate #
1023 # a user account by name. On POSIX systems this is usually 'uid'.     #
1024 #                                                                     #
1025 # The useusername setting chooses whether the user's username or      #
1026 # nickname is used when locating a user account, if a username isn't  #
1027 # provided in PASS.                                                   #
1028 #                                                                     #
1029 # The server parameter indicates the LDAP server to connect to. The   #
1030 # ldap:// style scheme before the hostname proper is MANDATORY.       #
1031 #                                                                     #
1032 # The allowpattern value allows you to specify a wildcard mask which  #
1033 # will always be allowed to connect regardless of if they have an     #
1034 # account, for example guest users.                                   #
1035 #                                                                     #
1036 # Killreason indicates the QUIT reason to give to users if they fail  #
1037 # to authenticate.                                                    #
1038 #                                                                     #
1039 # The searchscope value indicates the subtree to search under. On our #
1040 # test system this is 'subtree'. Your mileage may vary.               #
1041 #                                                                     #
1042 # Setting the verbose value causes an oper notice to be sent out for  #
1043 # every failed authentication to the server, with an error string.    #
1044 #                                                                     #
1045 # The binddn and bindauth indicate the DN to bind to for searching,   #
1046 # and the password for the distinguished name. Some LDAP servers will #
1047 # allow anonymous searching in which case these two values do not     #
1048 # need defining, otherwise they should be set similar to the examples #
1049 # above.                                                              #
1050 #                                                                     #
1051 # ldapwhitelist indicates that clients connecting from an IP in the   #
1052 # provided CIDR do not need to authenticate against LDAP. It can be   #
1053 # repeated to whitelist multiple CIDRs.                               #
1054 #                                                                     #
1055 # ldaprequire allows further filtering on the LDAP user, by requiring #
1056 # certain LDAP attibutes to have a given value. It can be repeated,   #
1057 # in which case the list will act as an OR list, that is, the         #
1058 # authentication will succeed if any of the requirements in the list  #
1059 # is satisfied.                                                       #
1060 #                                                                     #
1061 # host allows you to change the displayed host of users connecting    #
1062 # from ldap. The string supplied takes formatters which are replaced  #
1063 # from the DN. For instance, if your DN looks like:                   #
1064 # uid=w00t,ou=people,dc=inspircd,dc=org, then the formatters uid, ou  #
1065 # and dc will be available to you. If a key is given multiple times   #
1066 # in the DN, the last appearance will take precedence.                #
1067
1068 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1069 # LDAP oper configuration module: Adds the ability to authenticate    #
1070 # opers via LDAP. This is an extra module which must be enabled       #
1071 # explicitly by symlinking it from modules/extra, and requires the    #
1072 # OpenLDAP libs. Re-run configure with:                               #
1073 # ./configure --enable-extras=m_ldapoper.cpp
1074 # and run make install, then uncomment this module to enable it.      #
1075 #<module name="m_ldapoper.so">
1076 #                                                                     #
1077 # Configuration:                                                      #
1078 #                                                                     #
1079 # <ldapoper baserdn="ou=People,dc=brainbox,dc=cc"
1080 #           server="ldap://brainwave.brainbox.cc"
1081 #           searchscope="subtree"
1082 #           binddn="cn=Manager,dc=brainbox,dc=cc"
1083 #           bindauth="mysecretpass"
1084 #           attribute="uid">
1085 #                                                                     #
1086 # Available configuration items are identical to the same items in    #
1087 # m_ldapauth above (except for the verbose setting, that is only      #
1088 # supported in m_ldapauth).                                           #
1089 # Please always specify a password in your <oper> tags even if the    #
1090 # opers are to be authenticated via LDAP, so in case this module is   #
1091 # not loaded the oper accounts are still protected by a password.     #
1092
1093 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1094 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that    #
1095 # are used to temporarily close/open the server for new connections.  #
1096 # These commands require that the /LOCKSERV and /UNLOCKSERV commands  #
1097 # are specified in a <class> tag that the oper is part of. This is so #
1098 # you can control who has access to this possible dangerous command.  #
1099 # If your server is locked and you get disconnected, do a REHASH from #
1100 # shell to open up again.                                             #
1101 # This module is oper-only.
1102 #<module name="m_lockserv.so">
1103
1104 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1105 # Map hiding module: replaces /MAP and /LINKS output to users with a  #
1106 # message to see a website, set by maphide="http://test.org/map" in   #
1107 # the <security> tag, instead.                                        #
1108 #<module name="m_maphide.so">
1109
1110 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1111 # Message flood module: Adds message/notice flood protection via
1112 # channel mode +f.
1113 #<module name="m_messageflood.so">
1114
1115 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1116 # MLOCK module: Adds support for server-side enforcement of services
1117 # side MLOCKs. Basically, this module suppresses any mode change that
1118 # would likely be immediately bounced by services.
1119 #<module name="m_mlock.so">
1120
1121 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1122 # MsSQL module: Allows other SQL modules to access MS SQL Server
1123 # through a unified API.
1124 # This module is in extras. Re-run configure with:
1125 # ./configure --enable-extras=m_mssql.cpp
1126 # and run make install, then uncomment this module to enable it.
1127 #<module name="m_mssql.so">
1128 #
1129 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1130 #                                                                     #
1131 # m_mssql.so is more complex than described here, see wiki for more   #
1132 # info https://wiki.inspircd.org/Modules/2.0/mssql                    #
1133 #
1134 #<database module="mssql" name="db" user="user" pass="pass" host="localhost" id="db1">
1135
1136 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1137 # MySQL module: Allows other SQL modules to access MySQL databases
1138 # through a unified API.
1139 # This module is in extras. Re-run configure with:
1140 # ./configure --enable-extras=m_mysql.cpp
1141 # and run make install, then uncomment this module to enable it.
1142 #<module name="m_mysql.so">
1143 #
1144 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1145 #                                                                     #
1146 # m_mysql.so is more complex than described here, see the wiki for    #
1147 # more: https://wiki.inspircd.org/Modules/2.0/mysql                   #
1148 #
1149 #<database module="mysql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database2">
1150
1151 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1152 # Named modes module: Allows for the display and set/unset of channel
1153 # modes via long-form mode names via +Z and the /PROP command.
1154 # For example, to set a ban, do /mode #channel +Z ban=foo!bar@baz or
1155 # /PROP #channel ban=foo!bar@baz
1156 #<module name="m_namedmodes.so">
1157
1158 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1159 # NAMESX module: Provides support for the NAMESX extension which allows
1160 # clients to see all the prefixes set on a user without getting confused.
1161 # This is supported by mIRC, x-chat, klient, and maybe more.
1162 #<module name="m_namesx.so">
1163
1164 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1165 # National characters module:
1166 # 1) Allows using national characters in nicknames.
1167 # 2) Allows using custom (national) casemapping over the network.
1168 #<module name="m_nationalchars.so">
1169 #
1170 # file - Location of the file which contains casemapping rules. If this
1171 #        is a relative path then it is relative to "<PWD>/../locales"
1172 #        on UNIX and "<PWD>/locales" on Windows.
1173 # casemapping - The name of the casemapping sent to clients in the 005
1174 #               numeric. If this is not set then it defaults to the name
1175 #               of the casemapping file unless the file name contains a
1176 #               space in which case you will have to specify it manually.
1177 #<nationalchars file="bynets/russian-w1251-charlink" casemapping="ru_RU.cp1251-charlink">
1178
1179 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1180 # Nickchange flood protection module: Provides channel mode +F X:Y
1181 # which allows up to X nick changes in Y seconds.
1182 #<module name="m_nickflood.so">
1183
1184 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1185 # Nicklock module: Let opers change a user's nick and then stop that
1186 # user from changing their nick again until unlocked.
1187 # This module is oper-only.
1188 # To use, NICKLOCK and NICKUNLOCK must be in one of your oper class blocks.
1189 #<module name="m_nicklock.so">
1190
1191 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1192 # No CTCP module: Adds the channel mode +C to block CTCPs and extban
1193 # 'C' to block CTCPs sent by specific users.
1194 #<module name="m_noctcp.so">
1195
1196 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1197 # No kicks module: Adds the +Q channel mode and the Q: extban to deny
1198 # certain users from kicking.
1199 #<module name="m_nokicks.so">
1200
1201 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1202 # No nicks module: Adds the +N channel mode, as well as the 'N' extban.
1203 # +N stops all users from changing their nick, the N extban stops
1204 # anyone from matching a +b N:nick!user@host mask from changing their
1205 # nick.
1206 #<module name="m_nonicks.so">
1207
1208 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1209 # No part message module: Adds extban 'p' to block part messages from #
1210 # matching users.                                                     #
1211 #<module name="m_nopartmsg.so">
1212
1213 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1214 # No notice module: Adds the channel mode +T and the extban 'T' to
1215 # block specific users from noticing the channel.
1216 #<module name="m_nonotice.so">
1217
1218 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1219 # Network business join module:
1220 # Allows an oper to join a channel using /OJOIN, giving them +Y on the
1221 # channel which makes them immune to kick/deop/etc.
1222 #<module name="m_ojoin.so">
1223 #
1224 # Specify the prefix that +Y will grant here.
1225 # Leave 'prefix' empty if you do not wish +Y to grant a prefix.
1226 # If 'notice' is set to on, upon /OJOIN, the server will notice the
1227 # channel saying that the oper is joining on network business.
1228 # If 'op' is set to on, it will give them +o along with +Y.
1229 #<ojoin prefix="!" notice="yes" op="yes">
1230
1231 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1232 # Oper channels mode: Adds the +O channel mode and extban O:<mask>
1233 # to ban, except, etc. specific oper types. For example
1234 # /mode #channel +iI O:* is equivalent to channel mode +O, but you
1235 # may also set +iI O:AdminTypeOnly to only allow admins.
1236 # Modes +I and +e work in a similar fashion.
1237 #<module name="m_operchans.so">
1238
1239 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1240 # Oper join module: Auto-joins opers to a channel upon oper-up.
1241 # This module is oper-only. For the user equivalent, see m_conn_join.
1242 #<module name="m_operjoin.so">
1243 #
1244 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1245 #                                                                     #
1246 # If you are using the m_operjoin.so module, specify options here:    #
1247 #                                                                     #
1248 # channel     -      The channel name to join, can also be a comma    #
1249 #                    separated list e.g. "#channel1,#channel2".       #
1250 #                                                                     #
1251 # override    -      If on, lets the oper join walking thru any modes #
1252 #                    that might be set, even bans.                    #
1253 #                                                                     #
1254 #<operjoin channel="#channel" override="no">
1255 #
1256 # Alternatively you can use the autojoin="channellist" in a <type>    #
1257 # tag to set specific autojoins for a type of oper, for example:      #
1258 #
1259 #<type name="Helper" autojoin="#help" classes="...">
1260
1261 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1262 # Oper log module: Logs all oper commands to the server log (with log
1263 # type "m_operlog" at default loglevel), and optionally to the 'r'
1264 # snomask.
1265 # This module is oper-only.
1266 #<module name="m_operlog.so">
1267 #
1268 # If the following option is on then all oper commands will be sent to
1269 # the snomask 'r'. The default is off.
1270 #<operlog tosnomask="off">
1271
1272 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1273 # Oper prefixing module: Adds a channel prefix mode +y which is given
1274 # to all IRC operators automatically on all channels they are in.
1275 # This prefix mode is more powerful than channel op and other regular
1276 # prefix modes.
1277 #
1278 # Load this module if you want all your IRC operators to have channel
1279 # operator powers.
1280 #<module name="m_operprefix.so">
1281 #
1282 # You may additionally customise the prefix character.
1283 #<operprefix prefix="!">
1284
1285 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1286 # Oper MOTD module: Provides support for separate message of the day
1287 # on oper-up.
1288 # This module is oper-only.
1289 #<module name="m_opermotd.so">
1290 #
1291 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1292 #                                                                     #
1293 # If you are using the m_opermotd.so module, specify the motd here.   #
1294 #                                                                     #
1295 # onoper        - If on, the message is sent on /OPER, otherwise it's #
1296 #                 only sent when /OPERMOTD is used.                   #
1297 #                                                                     #
1298 # processcolors - Allow color codes to be processed in the opermotd.  #
1299 #                 Read the comment above <connect:allowmotdcolors> in #
1300 #                 inspircd.conf.example for details.                  #
1301 #                                                                     #
1302 #<opermotd file="conf/examples/opermotd.txt.example" onoper="yes" processcolors="false">
1303
1304 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1305 # Override module: Adds support for oper override.
1306 # This module is oper-only.
1307 #<module name="m_override.so">
1308 #
1309 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1310 #                                                                     #
1311 # m_override.so is too complex it describe here, see the wiki:        #
1312 # https://wiki.inspircd.org/Modules/2.0/override                      #
1313
1314 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1315 # Oper levels module: Gives each oper a level and prevents actions
1316 # being taken by lower level opers against higher level opers.
1317 # Specify the level as the 'level' parameter of the <type> tag.
1318 # This module is oper-only.
1319 #<module name="m_operlevels.so">
1320
1321 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1322 # Oper modes module: Allows you to specify modes to add/remove on oper.
1323 # Specify the modes as the 'modes' parameter of the <type> tag
1324 # and/or as the 'modes' parameter of the <oper> tag.
1325 # This module is oper-only. For the user equivalent, see m_conn_umodes.
1326 #<module name="m_opermodes.so">
1327
1328 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1329 # Password forwarding module: Forwards a password users can send on
1330 # connect to the specified client below. The client is usually NickServ
1331 # and this module is usually used to authenticate users with NickServ
1332 # using their connect password.
1333 #<module name="m_passforward.so">
1334
1335 <passforward
1336                 # nick: nick to forward connect passwords to.
1337                 nick="NickServ"
1338
1339                 # forwardmsg: Message to send to users using a connect password.
1340                 # $nick will be the users' nick, $nickrequired will be the nick
1341                 # of where the password is going (the nick above).
1342                 # You can also use $user for the user ident string.
1343                 forwardmsg="NOTICE $nick :*** Forwarding PASS to $nickrequired"
1344
1345                 # cmd: Command for the user to run when it receives a connect
1346                 # password.
1347                 cmd="PRIVMSG $nickrequired :IDENTIFY $pass">
1348
1349 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1350 # Password hash module: Allows hashed passwords to be used.
1351 # To be useful, a hashing module like m_sha256.so also needs to be loaded.
1352 #<module name="m_password_hash.so">
1353 #
1354 #-#-#-#-#-#-#-#-#-# PASSWORD HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#
1355 #
1356 # To use this module, you must define a hash type for each oper's
1357 # password you want to hash. For example:
1358 #
1359 #     <oper name="Brain"
1360 #           host="ident@dialup15.isp.test.com"
1361 #           hash="sha256"
1362 #           password="01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
1363 #           type="NetAdmin">
1364 #
1365 # Starting from 2.0, you can use a more secure salted hash that prevents simply
1366 # looking up the hash's value in a rainbow table built for the hash.
1367 #    hash="hmac-sha256" password="lkS1Nbtp$CyLd/WPQXizsbxFUTqFRoMvaC+zhOULEeZaQkUJj+Gg"
1368 #
1369 # Generate hashes using the /MKPASSWD command on the server.
1370 # Don't run it on a server you don't trust with your password.
1371
1372 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1373 # Permanent channels module: Channels with the permanent channel mode
1374 # will remain open even after everyone else has left the channel, and
1375 # therefore keep things like modes, ban lists and topic. Permanent
1376 # channels -may- need support from your Services package to function
1377 # properly with them. This adds channel mode +P.
1378 # This module is oper-only.
1379 #<module name="m_permchannels.so">
1380 #
1381 # If you like, m_permchannels can write a config file of permanent channels
1382 # whenever +P is set, unset, or the topic/modes on a +P channel is changed.
1383 # If you want to do this, set the filename below, and uncomment the include.
1384 #
1385 # If 'listmodes' is true then all list modes (+b, +I, +e, +g...) will be
1386 # saved. Defaults to false.
1387 #<permchanneldb filename="data/permchannels.conf" listmodes="true">
1388 #<include file="data/permchannels.conf">
1389 #
1390 # You may also create channels on startup by using the <permchannels> block.
1391 # Don't forget to set them +P in the modes, or they won't stay permanent.
1392 #<permchannels channel="#opers" modes="isP" topic="Opers only.">
1393
1394 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1395 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1396 # through a unified API.
1397 # This module is in extras. Re-run configure with:
1398 # ./configure --enable-extras=m_pgsql.cpp
1399 # and run make install, then uncomment this module to enable it.
1400 #<module name="m_pgsql.so">
1401 #
1402 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1403 #                                                                     #
1404 # m_pgsql.so is more complex than described here, see the wiki for    #
1405 # more: https://wiki.inspircd.org/Modules/2.0/pgsql                   #
1406 #
1407 #<database module="pgsql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database" ssl="no">
1408
1409 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1410 # Muteban: Implements extended ban 'm', which stops anyone matching
1411 # a mask like +b m:nick!user@host from speaking on channel.
1412 #<module name="m_muteban.so">
1413
1414 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1415 # Random quote module: Provides a random quote on connect.
1416 # NOTE: Some of these may mimic fatal errors and confuse users and
1417 # opers alike - BEWARE!
1418 #<module name="m_randquote.so">
1419 #
1420 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1421 #                                                                     #
1422 # Optional - If you specify to use the m_randquote.so module, then    #
1423 # specify below the path to the quotes file.                          #
1424 #                                                                     #
1425 #<randquote file="quotes.txt">
1426
1427 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1428 # Redirect module: Adds channel redirection mode +L.                  #
1429 # Optional: <redirect:antiredirect> to add usermode +L to stop forced #
1430 # redirection and instead print an error.                             #
1431 #                                                                     #
1432 # Note: You can not update this with a simple rehash, it requires     #
1433 # reloading the module for it to take effect.                         #
1434 # This also breaks linking to servers that do not have the option.    #
1435 # This defaults to false for the 2.0 version, it will be enabled in   #
1436 # all the future versions.                                            #
1437 #<module name="m_redirect.so">
1438 #<redirect antiredirect="true">
1439
1440 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1441 # Regular expression provider for glob or wildcard (?/*) matching.
1442 # You must have at least 1 provider loaded to use m_filter or m_rline
1443 # modules. This module has no additional requirements, as it uses the
1444 # matching already present in InspIRCd core.
1445 #<module name="m_regex_glob.so">
1446
1447 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1448 # Regular expression provider for PCRE (Perl-Compatible Regular
1449 # Expressions). You need libpcre installed to compile and load this
1450 # module. You must have at least 1 provider loaded to use m_filter or
1451 # m_rline.
1452 #<module name="m_regex_pcre.so">
1453
1454 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1455 # Regular expression provider for POSIX regular expressions.
1456 # You shouldn't need any additional libraries on a POSIX-compatible
1457 # system (i.e.: any Linux, BSD, but not Windows). You must have at
1458 # least 1 provider loaded to use m_filter or m_rline.
1459 # On POSIX-compliant systems, regex syntax can be found by using the
1460 # command: 'man 7 regex'.
1461 #<module name="m_regex_posix.so">
1462
1463 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1464 # Regular expression provider for C++11 std::regex regular expressions.
1465 # This module works on any fully compliant implementation of the C++11
1466 # std::regex container. Examples for such are Visual C++ 2010 and newer
1467 # but not libstdc++ (which GCC uses).
1468 # You should verify that std::regex is supported by your setup before
1469 # using this module, as it may compile normally but won't do anything
1470 # on some implementations.
1471 #<module name="m_regex_stdlib.so">
1472 #
1473 # Specify the regular expression engine to use here. Valid settings are
1474 # bre, ere, awk, grep, egrep, ecmascript (default if not specified).
1475 #<stdregex type="ecmascript">
1476
1477 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1478 # Regular expression provider for TRE regular expressions.
1479 # This is the same regular expression engine used by UnrealIRCd, so
1480 # if you are most familiar with the syntax of /SPAMFILTER from there,
1481 # this is the provider you want. You need libtre installed in order
1482 # to compile and load this module.
1483 #<module name="m_regex_tre.so">
1484
1485 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1486 # Registered users only channel creation module. If enabled, only
1487 # registered users and opers can create new channels.
1488 #
1489 # You probably *DO NOT* want to load this module on a public network.
1490 #
1491 #<module name="m_regonlycreate.so">
1492
1493 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1494 # Remove module: Adds the /REMOVE command which is a peaceful
1495 # alternative to /KICK.
1496 #<module name="m_remove.so">
1497
1498 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1499 # Restricted channels module: Allows only opers to create channels.
1500 #
1501 # You probably *DO NOT* want to load this module on a public network.
1502 #
1503 #<module name="m_restrictchans.so">
1504
1505 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1506 # Restrict message module: Allows users to only message opers.
1507 #
1508 # You probably *DO NOT* want to load this module on a public network.
1509 #
1510 #<module name="m_restrictmsg.so">
1511 #
1512 # Uncomment this to allow users to message ulines (e.g. services):
1513 #<restrictmsg uline="yes">
1514
1515 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1516 # R-Line module: Ban users through regular expression patterns.
1517 #<module name="m_rline.so">
1518 #
1519 #-#-#-#-#-#-#-#-#-#-#-#- RLINE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1520 #
1521 # If you wish to re-check a user when they change nickname (can be
1522 # useful under some situations, but *can* also use CPU with more users
1523 # on a server) then set 'matchonnickchange' to yes.
1524 # Also, this is where you set what Regular Expression engine is to be
1525 # used. If you ever change it while running, all of your R-Lines will
1526 # be wiped. This is the regex engine used by all R-Lines set, and
1527 # m_regex_<engine>.so must be loaded, or rline will be non-functional
1528 # until you load it or change the engine to one that is loaded.
1529 #
1530 #<rline matchonnickchange="yes" engine="pcre">
1531 #
1532 # Generally, you will NOT want to use 'glob' here, as this turns
1533 # rline into just another gline. The exceptions are that rline will
1534 # always use the full "nick!user@host realname" string, rather than only
1535 # user@host, but beware that only the ? and * wildcards are available,
1536 # and are the only way to specify where the space can occur if you do
1537 # use glob. For this reason, is recommended to use a real regex engine
1538 # so that at least \s or [[:space:]] is available.
1539
1540 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1541 # SAJOIN module: Adds the /SAJOIN command which forcibly joins a user
1542 # to the given channel.
1543 # This module is oper-only.
1544 # To use, SAJOIN must be in one of your oper class blocks.
1545 #<module name="m_sajoin.so">
1546
1547 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1548 # SAKICK module: Adds the /SAKICK command which kicks a user from the
1549 # given channel.
1550 # This module is oper-only.
1551 # To use, SAKICK must be in one of your oper class blocks.
1552 #<module name="m_sakick.so">
1553
1554 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1555 # SAMODE module: Adds the /SAMODE command which allows server operators
1556 # to change modes on a channel without requiring them to have any
1557 # channel priviliges. Also allows changing user modes for any user.
1558 # This module is oper-only.
1559 # To use, SAMODE must be in one of your oper class blocks.
1560 #<module name="m_samode.so">
1561
1562 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1563 # SANICK module: Adds the /SANICK command which allows opers to change
1564 # users' nicks.
1565 # This module is oper-only.
1566 # To use, SANICK must be in one of your oper class blocks.
1567 #<module name="m_sanick.so">
1568
1569 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1570 # SAPART module: Adds the /SAPART command which forcibly parts a user
1571 # from a channel.
1572 # This module is oper-only.
1573 # To use, SAPART must be in one of your oper class blocks.
1574 #<module name="m_sapart.so">
1575
1576 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1577 # SAQUIT module: Adds the /SAQUIT command which forcibly quits a user.
1578 # This module is oper-only.
1579 # To use, SAQUIT must be in one of your oper class blocks.
1580 #<module name="m_saquit.so">
1581
1582 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1583 # SATOPIC module: Adds the /SATOPIC command which allows changing the
1584 # topic on a channel without requiring any channel priviliges.
1585 # This module is oper-only.
1586 # To use, SATOPIC must be in one of your oper class blocks.
1587 #<module name="m_satopic.so">
1588
1589 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1590 # SASL authentication module: Provides support for IRC Authentication
1591 # Layer via AUTHENTICATE. Note: You also need to have m_cap.so loaded
1592 # for SASL to work.
1593 #<module name="m_sasl.so">
1594 # Define the following to your services server name to improve security
1595 # by ensuring the SASL messages are only sent to the services server
1596 # and not to all connected servers. This prevents a rogue server from
1597 # capturing SASL messages.
1598 #<sasl target="services.mynetwork.com">
1599
1600 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1601 # Secure list module: Prevent /LIST in the first minute of connection,
1602 # crippling most spambots and trojan spreader bots.
1603 #<module name="m_securelist.so">
1604 #
1605 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1606 #                                                                     #
1607 # Securelist can be harmful to some IRC search engines. To prevent    #
1608 # securelist blocking these sites from listing, define exception tags #
1609 # as shown below:                                                     #
1610 #<securehost exception="*@*.netsplit.de">
1611 #<securehost exception="*@*.ircdriven.com">
1612 #<securehost exception="*@*.ircs.me">
1613 #                                                                     #
1614 # Define the following variable to change how long a user must wait   #
1615 # before issuing a LIST. If not defined, defaults to 60 seconds.      #
1616 #                                                                     #
1617 #<securelist waittime="60">                                           #
1618
1619 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1620 # Servprotect module: Provides support for Austhex style +k /
1621 # UnrealIRCD +S services mode.
1622 #<module name="m_servprotect.so">
1623
1624 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1625 # See nicks module: Adds snomask +n and +N which show local and remote
1626 # nick changes.
1627 # This module is oper-only.
1628 #<module name="m_seenicks.so">
1629
1630 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1631 # Set idle module: Adds a command for opers to change their idle time.
1632 # This module is oper-only.
1633 # To use, SETIDLE must be in one of your oper class blocks.
1634 #<module name="m_setidle.so">
1635
1636 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1637 # Services support module: Adds several usermodes such as +R and +M.
1638 # This module implements the 'identified' state via account names,
1639 # and is similar in operation to the way asuka and ircu handle services.
1640 #
1641 # At the same time, this offers +r for users and channels to mark them
1642 # as identified separately from the idea of a master account, which
1643 # can be useful for services which are heavily nick-as-account centric.
1644 #
1645 # Also of note is that this module implements two extbans:
1646 # +b R: (stop matching account names from joining)
1647 # +b U:n!u@h (blocks matching unregistered users)
1648 #
1649 #<module name="m_services_account.so">
1650
1651 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1652 # Sethost module: Adds the /SETHOST command.
1653 # This module is oper-only.
1654 # To use, SETHOST must be in one of your oper class blocks.
1655 # See m_chghost for how to customise valid chars for hostnames.
1656 #<module name="m_sethost.so">
1657
1658 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1659 # Setident module: Adds the /SETIDENT command.
1660 # This module is oper-only.
1661 # To use, SETIDENT must be in one of your oper class blocks.
1662 #<module name="m_setident.so">
1663
1664 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1665 # SETNAME module: Adds the /SETNAME command.
1666 #<module name="m_setname.so">
1667
1668 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1669 # Serverban: Implements extended ban 's', which stops anyone connected
1670 # to a server matching a mask like +b s:server.mask.here from joining.
1671 #<module name="m_serverban.so">
1672
1673 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1674 # Show whois module: Adds the +W usermode which allows opers to see
1675 # when they are /WHOIS'd.
1676 # This module is oper-only by default.
1677 #<module name="m_showwhois.so">
1678 #
1679 # If you wish, you may also let users set this mode. Only opers with the
1680 # users/auspex priv will see real hosts of people, though. This setting
1681 # is not reloadable via /REHASH, changing it requires /RELOADMODULE.
1682 #<showwhois opersonly="yes"
1683 #
1684 # You may also set whether or not users should receive whois notices,
1685 # should they be /WHOIS'd by an oper.
1686 #showfromopers="yes">
1687
1688 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1689 # Shun module: Provides the /SHUN command, which stops a user from
1690 # executing all except configured commands.
1691 # This module is oper-only.
1692 # To use, SHUN must be in one of your oper class blocks.
1693 #<module name="m_shun.so">
1694 #
1695 # You may also configure which commands you wish a user to be able to
1696 # perform when shunned. It should be noted that if a shunned user
1697 # issues QUIT or PART then their message will be removed, as if they
1698 # did not issue one.
1699 #
1700 # You can optionally let the user know that their command was blocked.
1701 #
1702 # You may also let SHUN affect opers (defaults to no).
1703 #<shun enabledcommands="ADMIN PING PONG QUIT PART JOIN" notifyuser="yes" affectopers="no">
1704
1705 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1706 # SSL channel mode module: Adds support for SSL-only channels via
1707 # channel mode +z and the 'z' extban which matches SSL client
1708 # certificate fingerprints.
1709 # Does not do anything useful without a working SSL module and the
1710 # m_sslinfo module (see below).
1711 #<module name="m_sslmodes.so">
1712
1713 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1714 # GnuTLS SSL module: Adds support for SSL connections using GnuTLS,
1715 # if enabled. You must answer 'yes' in ./configure when asked or
1716 # manually symlink the source for this module from the directory
1717 # src/modules/extra, if you want to enable this, or it will not load.
1718 #<module name="m_ssl_gnutls.so">
1719 #
1720 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1721 #                                                                     #
1722 # m_ssl_gnutls.so is too complex to describe here, see the wiki:      #
1723 # https://wiki.inspircd.org/Modules/2.0/ssl_gnutls                    #
1724
1725 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1726 # SSL info module: Allows users to retrieve information about other
1727 # users' peer SSL certificates and keys. This can be used by client
1728 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
1729 # or m_ssl_openssl.so must be loaded. This module also adds the
1730 # "* <user> is using a secure connection" whois line, the ability for
1731 # opers to use SSL fingerprints to verify their identity and the
1732 # ability to force opers to use SSL connections in order to oper up.
1733 # It is highly recommended to load this module if you use SSL on your
1734 # network.
1735 # For how to use the oper features, please see the first example <oper> tag
1736 # in opers.conf.example.
1737 #
1738 #<module name="m_sslinfo.so">
1739
1740 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1741 # OpenSSL SSL module: Adds support for SSL connections using OpenSSL,
1742 # if enabled. You must answer 'yes' in ./configure when asked or symlink
1743 # the source for this module from the directory src/modules/extra, if
1744 # you want to enable this, or it will not load.
1745 #<module name="m_ssl_openssl.so">
1746 #
1747 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1748 #                                                                     #
1749 # m_ssl_openssl.so is too complex to describe here, see the wiki:     #
1750 # https://wiki.inspircd.org/Modules/2.0/ssl_openssl                   #
1751
1752 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1753 # Strip color module: Adds channel mode +S that strips mIRC color
1754 # codes from all messages sent to the channel.
1755 #<module name="m_stripcolor.so">
1756
1757 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1758 # Silence module: Adds support for the /SILENCE command, which allows
1759 # users to have a server-side ignore list for their client.
1760 #<module name="m_silence.so">
1761 #
1762 # Set the maximum number of entries allowed on a user's silence list.
1763 #<silence maxentries="32">
1764
1765 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1766 # SQLite3 module: Allows other SQL modules to access SQLite3          #
1767 # databases through a unified API.                                    #
1768 # This module is in extras. Re-run configure with:                    #
1769 # ./configure --enable-extras=m_sqlite3.cpp
1770 # and run make install, then uncomment this module to enable it.      #
1771 #
1772 #<module name="m_sqlite3.so">
1773 #
1774 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1775 #                                                                     #
1776 # m_sqlite.so is more complex than described here, see the wiki for   #
1777 # more: https://wiki.inspircd.org/Modules/2.0/sqlite3                 #
1778 #
1779 #<database module="sqlite" hostname="/full/path/to/database.db" id="anytext">
1780
1781 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1782 # SQL authentication module: Allows IRCd connections to be tied into
1783 # a database table (for example a forum).
1784 #
1785 #<module name="m_sqlauth.so">
1786 #
1787 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1788 #                                                                     #
1789 # m_sqlauth.so is too complex to describe here, see the wiki:         #
1790 # https://wiki.inspircd.org/Modules/2.0/sqlauth                       #
1791
1792 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1793 # SQL oper module: Allows you to store oper credentials in an SQL table
1794 #
1795 #<module name="m_sqloper.so">
1796 #
1797 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1798 #                                                                     #
1799 # dbid       - Database ID to use (see SQL modules).                  #
1800 # hash       - Hashing provider to use for password hashing.          #
1801 #                                                                     #
1802 # See also: https://wiki.inspircd.org/Modules/2.0/sqloper             #
1803 #                                                                     #
1804 #<sqloper dbid="1" hash="md5">
1805
1806 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1807 # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be   #
1808 # added/removed by Services.                                          #
1809 #<module name="m_svshold.so">
1810 # If silent is true no snotices will be generated by SVSHOLD.
1811 #<svshold silent="false">
1812
1813 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1814 # SWHOIS module: Allows you to add arbitrary lines to user WHOIS.
1815 # This module is oper-only.
1816 # To use, SWHOIS must be in one of your oper class blocks.
1817 #<module name="m_swhois.so">
1818
1819 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1820 # Test module: Enable this to create a command useful in testing
1821 # flood control. To avoid accidental use on live networks, the server
1822 # name must contain ".test" to load the module
1823 #<module name="m_testnet.so">
1824
1825 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1826 # Timed bans module: Adds timed channel bans with the /TBAN command.
1827 #<module name="m_timedbans.so">
1828
1829 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1830 # Test line module: Adds the /TLINE command, used to test how many
1831 # users a /GLINE or /ZLINE etc. would match.
1832 # This module is oper-only.
1833 # To use, TLINE must be in one of your oper class blocks.
1834 #<module name="m_tline.so">
1835
1836 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1837 # Topiclock module: implements server-side topic locking to achieve deeper
1838 # integration with services packages.
1839 #<module name="m_topiclock.so">
1840
1841 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1842 # UHNAMES support module: Adds support for the IRCX style UHNAMES
1843 # extension, which displays ident and hostname in the names list for
1844 # each user, saving clients from doing a WHO on the channel.
1845 # If a client does not support UHNAMES it will not enable it, this will
1846 # not break incompatible clients.
1847 #<module name="m_uhnames.so">
1848
1849 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1850 # Uninvite module: Adds the /UNINVITE command which lets users remove
1851 # pending invites from channels without waiting for the user to join.
1852 #<module name="m_uninvite.so">
1853
1854 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1855 # Userip module: Adds the /USERIP command.
1856 # Allows users to query their own IP, also allows opers to query the IP
1857 # of anyone else.
1858 #<module name="m_userip.so">
1859
1860 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1861 # Vhost module: Adds the VHOST command which allows for adding virtual
1862 # hosts which are accessible using a username and password in the config.
1863 #<module name="m_vhost.so">
1864 #
1865 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1866 #                                                                     #
1867 # user       - Username for the vhost.                                #
1868 #                                                                     #
1869 # pass       - Password for the vhost.                                #
1870 #                                                                     #
1871 # hash       - The hash for the specific user (optional)              #
1872 #              m_password_hash.so and a hashing module must be loaded #
1873 #              for this to work.                                      #
1874 #                                                                     #
1875 # host       - Vhost to set.                                          #
1876 #
1877 #<vhost user="some_username" pass="some_password" host="some.host.test.cc">
1878 #<vhost user="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" host="some.other.host.example.com">
1879
1880 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1881 # Watch module: Adds the WATCH command, which is used by clients to
1882 # maintain notify lists.
1883 #<module name="m_watch.so">
1884 #
1885 # Set the maximum number of entries on a user's watch list below.
1886 #<watch maxentries="32">
1887
1888 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1889 # XLine database: Stores all *Lines (G/Z/K/R/any added by other modules)
1890 # in a file which is re-loaded on restart. This is useful
1891 # for two reasons: it keeps bans so users may not evade them, and on
1892 # bigger networks, server connections will take less time as there will
1893 # be a lot less bans to apply - as most of them will already be there.
1894 #<module name="m_xline_db.so">
1895
1896 # Specify the filename for the xline database here.
1897 #<xlinedb filename="data/xline.db">
1898
1899 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1900 #    ____                _   _____ _     _       ____  _ _   _        #
1901 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
1902 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
1903 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
1904 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
1905 #                                                                     #
1906 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
1907 # module. If you don't do this, server links will NOT work at all.    #
1908 # This is by design, to allow for the implementation of other linking #
1909 # protocols in modules in the future.                                 #
1910
1911 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1912 # Spanning tree module: Allows linking of servers using the spanning
1913 # tree protocol (see the READ THIS BIT section above).
1914 # You will almost always want to load this.
1915 #
1916 #<module name="m_spanningtree.so">