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