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