]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/modules.conf.example
Minor stylistic improvements.
[user/henk/code/inspircd.git] / 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://www.inspircd.org/wiki/Modules_List for a list of modules and#
14 #  each modules link for any additional conf tags they require.       #
15 #                                                                     #
16 #  You may use wildcards in a <module> tag to load all modules which  #
17 #  match a glob pattern (e.g. m_sa????.so would load m_sajoin,        #
18 #  m_sapart, m_saquit and m_sanick)                                   #
19 #                                                                     #
20 #    ____                _   _____ _     _       ____  _ _   _        #
21 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
22 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
23 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
24 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
25 #                                                                     #
26 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
27 # module, as shown below. If you DO NOT do this, server links will    #
28 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
29 # work properly. This is by design, to allow for the implementation   #
30 # of other linking protocols in modules in the future.                #
31
32 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
33 # Spanning Tree module - allows linking of servers using the spanning
34 # tree protocol (see the READ THIS BIT section above).
35 #
36 #<module name="m_spanningtree.so">
37
38
39 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
40 # MD5 Module - Allows other modules to generate MD5 hashes, usually for
41 # cryptographic uses and security.
42 #
43 # IMPORTANT:
44 # Other modules such as m_cloaking.so and m_password_hash.so may rely on
45 # this module being loaded to function.
46 #
47 #<module name="m_md5.so">
48 #
49 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
50 # SHA256 Module - Allows other modules to generate SHA256 hashes,
51 # usually for cryptographic uses and security.
52 #
53 # IMPORTANT:
54 # Other modules such as m_password_hash.so may rely on this module being
55 # loaded to function. Certain modules such as m_spanningtree.so will
56 # function without this module but when it is loaded their features will
57 # be enhanced (for example the addition of HMAC authentication).
58 #
59 #<module name="m_sha256.so">
60 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
61 # RIPEMD160 Module - Allows other modules to generate RIPEMD160 hashes,
62 # usually for cryptographic uses and security.
63
64 # IMPORTANT:
65 # Other modules may rely on this module being loaded to function.
66 #<module name="m_ripemd160.so">
67
68 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
69 # Abbreviation module: Provides the ability to abbreviate commands a-la 
70 # BBC BASIC keywords.
71 #<module name="m_abbreviation.so">
72
73 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
74 # Alias module: Allows you to define server-side command aliases
75 #<module name="m_alias.so">
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 # format      -      If this is defined, the parameters of the alias  #
93 #                    must match this glob pattern. For example if you #
94 #                    want the first parameter to start with a # for   #
95 #                    the alias to be executed, set format="#*" in the #
96 #                    alias definition. Note that the :'s which are    #
97 #                    part of IRC formatted lines will be preserved    #
98 #                    for matching of this text. This value is         #
99 #                    optional.                                        #
100 #                                                                     #
101 # replace     -      The text to replace 'text' with. Usually this    #
102 #                    will be "PRIVMSG ServiceName :$2-" or similar.   #
103 #                    You may use the variables $1 through $9 in the   #
104 #                    replace string, which refer to the first through #
105 #                    ninth word in the original string typed by the   #
106 #                    user. You may also use $1- through $9- which     #
107 #                    refer to the first word onwards, through to the  #
108 #                    ninth word onwards, e.g. if the user types the   #
109 #                    command "foo bar baz qux quz" then $3- will hold #
110 #                    "baz qux quz" and $2 will contain "bar". You may #
111 #                    also use the special variables: $nick, $ident,   #
112 #                    $host and $vhost, and you may separate multiple  #
113 #                    commands with \n. If you wish to use the ACTUAL  #
114 #                    characters \ and n together in a line, you must  #
115 #                    use the sequence "\\n".                          #
116 #                                                                     #
117 # requires    -      If you provide a value for 'requires' this means #
118 #                    the given nickname MUST be online for the alias  #
119 #                    to successfully trigger. If they are not, then   #
120 #                    the user receives a 'no such nick' 401 numeric.  #
121 #                                                                     #
122 # uline       -      Defining this value with 'yes', 'true' or '1'    #
123 #                    will ensure that the user given in 'requires'    #
124 #                    must also be on a u-lined server, as well as     #
125 #                    actually being on the network. If the user is    #
126 #                    online, but not on a u-lined server, then an     #
127 #                    oper-alert is sent out as this is possibly signs #
128 #                    of a user trying to impersonate a service.       #
129 #                                                                     #
130 # operonly    -      Defining this value, with a value of 'yes', '1'  #
131 #                    or true will make the alias oper only. If a non- #
132 #                    oper attempts to use the alias, it will appear   #
133 #                    to not exist.                                    #
134 #                                                                     #
135 #<alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
136 #<alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
137 #<alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
138 #<alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
139 #<alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
140 #<alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
141 #
142 # An example of using the format value to create an alias with two
143 # different behaviours depending on the format of the parameters.
144 #
145 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
146 #  requires="ChanServ" uline="yes">
147 #
148 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
149 #  requires="NickServ" uline="yes">
150 #
151 # This alias fixes a glitch in xchat 2.6.x and above and the way it
152 # assumes IDENTIFY must be prefixed by a colon (:) character. It should
153 # be placed ABOVE the default NICKSERV alias (the first example) listed
154 # above.
155 #
156 #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
157 #  requires="NickServ" uline="yes">
158
159 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
160 # Allowinvite module: Gives channel mode +A to allow all users to use
161 # /invite, and extban A to deny invite from specific masks
162 #<module name="m_allowinvite.so">
163
164 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
165 # Alltime module: Shows time on all connected servers at once
166 #<module name="m_alltime.so">
167
168 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
169 # Antibear security module: Prevents 'bear.txt' based trojans from
170 # connecting to your network by sending them a numeric they can't handle.
171 #<module name="m_antibear.so">
172
173 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
174 # Antibottler module: Labels bottler leech bots
175 #<module name="m_antibottler.so">
176
177 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
178 # Auditorium module: Adds channel mode +u which makes everyone else
179 # except you in the channel invisible, used for large meetings etc.
180 #<module name="m_auditorium.so">
181 #
182 # Auditorium settings:
183 #
184 #<auditorium showops="no" operoverride="no">
185 #
186 # showops:
187 #   Setting this value to yes makes m_auditorium behave like unrealircd
188 #   +u channel mode, e.g. ops see users joining, parting, etc, and users
189 #   joining the channel see the ops. Without this flag, the mode acts
190 #   like ircnet's +a (anonymous channels), showing only the user in the
191 #   names list, and not even showing the ops in the list, or showing the
192 #   ops that the user has joined.
193 # operoverride:
194 #   Setting this value to yes makes m_auditorium affect the userlist for
195 #   regular users only. Opers will view all users in the channel normally.
196
197 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
198 # Ban except module: Adds support for channel ban exceptions (+e)
199 #<module name="m_banexception.so">
200
201 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
202 # Ban redirection module: Allows bans which redirect to a specified
203 # channel. e.g. +b nick!ident@host#channelbanneduserissentto
204 #<module name="m_banredirect.so">
205
206 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
207 # Block amsg module: Attempt to block all usage of /amsg and /ame
208 #<module name="m_blockamsg.so">
209 #
210 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
211 #                                                                     #
212 # If you have the m_blockamsg.so module loaded, you can configure it  #
213 # with the <blockamsg> tag:                                           #
214 #                                                                     #
215 # delay          -   How many seconds between two messages to force   #
216 #                    them to be recognised as unrelated.              #
217 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
218 #                    or 'killopers'. Define how to take action when   #
219 #                    a user uses /amsg or /ame.                       #
220 #
221 #<blockamsg delay="3" action="killopers">
222
223 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
224 # Block CAPS module: Blocking all-CAPS messages with cmode +B
225 #<module name="m_blockcaps.so">
226 #                                                                     #
227 #-#-#-#-#-#-#-#-#-#-#-  BLOCKCAPS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
228 #                                                                     #
229 # percent        - How many percent of text must be caps before text  #
230 #                  will be blocked.                                   #
231 #                                                                     #
232 # minlen         - The minimum length a line must be for the block    #
233 #                  percent to have any effect.                        #
234 #                                                                     #
235 # capsmap        - A list of chars to be considered CAPS, this was    #
236 #                  you can add CAPS for your language. Also you can   #
237 #                  add things like ! and space to further lock down   #
238 #                  on caps usage.                                     #
239 #<blockcaps percent="50"
240 #           minlen="5"
241 #           capsmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ! ">
242
243 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
244 # Block colour module: Blocking colour-coded messages with cmode +c
245 #<module name="m_blockcolor.so">
246
247 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
248 # Botmode module: Adds the user mode +B
249 #<module name="m_botmode.so">
250
251 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
252 # CallerID module: Adds usermode +g which activates hybrid-style 
253 # callerid (== block all private messages unless you /accept first)
254 #<module name="m_callerid.so">
255
256 #-#-#-#-#-#-#-#-#-#-#- CALLERID  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
257 # maxaccepts     - Maximum number of entires a user can add to his    #
258 #                  /accept list. Default is 16 entries.               #
259 # operoverride   - Can opers (note: ALL opers) ignore callerid mode?  #
260 #                  Default is no.                                     #
261 # tracknick      - Preserve /accept entries when a user changes nick? #
262 #                  If no (the default), the user is removed from      #
263 #                  everyone's accept list if he changes nickname.     #
264 # cooldown       - Amount of time (in seconds) that must pass since   #
265 #                  the last notification sent to a user before he can #
266 #                  be sent another. Default is 60 (1 minute).         #
267 #<callerid maxaccepts="16"
268 #          operoverride="no"
269 #          tracknick="no"
270 #          cooldown="60">
271
272 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
273 # CAP module: Provides the CAP negotiation mechanism seen in
274 # ratbox-derived ircds
275 #<module name="m_cap.so">
276
277 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
278 # CBAN module: Lets you disallow channels from being used at runtime.
279 #<module name="m_cban.so">
280
281 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
282 # Censor module: Adds the channel mode +G
283 #<module name="m_censor.so">
284 #
285 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
286 #                                                                     #
287 # Optional - If you specify to use the m_censor module, then you must #
288 # specify some censor tags. See also:                                 #
289 # http://www.inspircd.org/wiki/Censor_Module                          #
290 #
291 #<include file="censor.conf">
292
293 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
294 # CGI:IRC module: Adds support for automatic host changing in CGI:IRC
295 # (http://cgiirc.sourceforge.net).
296 #<module name="m_cgiirc.so">
297 #
298 #-#-#-#-#-#-#-#-#-#-#-# CGIIRC  CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
299 #
300 # Optional - If you specify to use m_cgiirc, then you must specify one
301 # or more cgihost tags which indicate authorised CGI:IRC servers which
302 # will be connecting to your network, and an optional cgiirc tag.
303 # For more information see: http://www.inspircd.org/wiki/CGI-IRC_Module
304 #
305 # Set to yes if you want to notice opers when CGI clients connect
306 # <cgiirc opernotice="no">
307 #
308 # The type field indicates where the module should get the real
309 # client's IP address from, for further information, please see the
310 # CGI:IRC documentation.
311 #
312 # Old style:
313 # <cgihost type="pass" mask="www.mysite.com">       # Get IP from PASS
314 # <cgihost type="ident" mask="otherbox.mysite.com"> # Get IP from ident
315 # <cgihost type="passfirst" mask="www.mysite.com">  # See the docs
316 # New style:
317 # <cgihost type="webirc" pass="foobar"
318 #   mask="somebox.mysite.com">                      # Get IP from WEBIRC
319 #
320 # IMPORTANT NOTE:
321 # ---------------
322 #
323 # When you connect CGI:IRC clients, there are two connect classes which
324 # apply to these clients. When the client initially connects, the connect
325 # class which matches the cgi:irc site's host is checked. Therefore you
326 # must raise the maximum local/global clients for this ip as high as you
327 # want to allow cgi clients. After the client has connected and is
328 # determined to be a cgi:irc client, the class which matches the client's
329 # real IP is then checked. You may set this class to a lower value, so that
330 # the real IP of the client can still be restricted to, for example, 3
331 # sessions maximum.
332 #
333
334
335 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
336 # Channel create module: Adds snomask +j, which will notify opers of
337 # any new channels that are created
338 #<module name="m_chancreate.so">
339
340 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
341 # Channel filter module: Allows channel-op defined message
342 # filtering using simple string matches (channel mode +g)
343 #<module name="m_chanfilter.so">
344
345 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
346 # Channel logging module: used to send snotice output to channels, to
347 # allow staff to centrally monitor and discuss network activity.
348 #
349 # The "channel" field is where you want the messages to go, "snomasks"
350 # is what snomasks you want to be sent to that channel. Multiple tags
351 # are allowed.
352 #<module name="m_chanlog.so">
353 #<chanlog snomasks="AOcC" channel="#opers">
354
355 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
356 # Channelban: Implements extended ban j:, which stops anyone in already
357 # in a channel matching a mask like +b j:#channel*mask from joining.
358 #<module name="m_channelban.so">
359
360 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
361 # Chanprotect module: gives +q and +a channel modes
362 #<module name="m_chanprotect.so">
363
364 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
365 # Check module: gives /check
366 # Check is useful for looking up information on channels,
367 # users, IP addresses and hosts.
368 #<module name="m_check.so">
369
370 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
371 # CHGHOST module: Adds the /CHGHOST command
372 #<module name="m_chghost.so">
373 #
374 #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST  CONFIGURATION #-#-#-#-#-#-#-#-#
375 # Optional - If you want to use special chars for hostnames you can  #
376 # specify your own custom list of chars with the <hostname> tag:     #
377 #                                                                    #
378 # charmap        - A list of chars accepted as valid by the /CHGHOST #
379 #                  and /SETHOST commands. Also note that the list is # 
380 #                  case-sensitive.                                   #
381 #<hostname charmap="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_/0123456789">
382
383 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
384 # CHGIDENT module: Adds the /CHGIDENT command
385 #<module name="m_chgident.so">
386
387 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
388 # CHGNAME module: Adds the /CHGNAME command
389 #<module name="m_chgname.so">
390
391 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
392 # Cloaking module: Adds usermode +x and cloaking support.
393 # Relies on the module m_md5.so being loaded before m_cloaking.so in
394 # the configuration file.
395 #<module name="m_cloaking.so">
396 #
397 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
398 #                                                                     #
399 # Optional - If you specify the m_cloaking.so module as above, you    #
400 # must define cloak keys, and optionally a cloak prefix as shown      #
401 # below. When using cloaking, the cloak keys are MANDITORY and must   #
402 # be included. However, if prefix is not included, it will default    #
403 # to your networks name from the <server> tag. You can also include   #
404 # the following optional values:                                      #
405 #                                                                     #
406 #   ipalways         - Always cloak the IP address, not the hostname, #
407 #                      which doesn't reveal the user's ISP, but       #
408 #                      results in hosts that are harder to read and   #
409 #                      ban.                                           #
410 #                                                                     #
411 #   lowercase        - Display the cloaked hostnames in lowercase     #
412 #                      characters instead of uppercase                #
413 #                                                                     #
414 # <cloak key1="0x2AF39F40"                                            #
415 #        key2="0x78E10B32"                                            #
416 #        key3="0x4F2D2E82"                                            #
417 #        key4="0x043A4C81"                                            #
418 #        prefix="mynet"                                               #
419 #        ipalways="false"                                             #
420 #        lowercase="false">                                           #
421 #                                                                     #
422 # Please note that the key values will accept any number, and should  #
423 # be large numbers. Using small numbers such as "7" or "1924" will    #
424 # seriously weaken the security of your cloak. It is recommended you  #
425 # use hexdecimal numbers prefixed by "0x", as shown in this example,  #
426 # with each key eight hex digits long.                                #
427
428 #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
429 # Close module: Allows an oper to close all unregistered connections.
430 #<module name="m_close.so">
431
432 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
433 # Clones module: Adds an oper command /CLONES for detecting cloned
434 # users. Warning: This module may be resource intensive when its
435 # command is issued, use with care.
436 #<module name="m_clones.so">
437
438 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
439 # Common channels module: Adds user mode +c, which, when set, requires
440 # that users must share a common channel with you to PRIVMSG or NOTICE
441 # you.
442 #<module name="m_commonchans.so">
443
444 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
445 # Conn-Join: Allows you to force users to join one or more channels
446 # automatically upon connecting to the server.
447 #<module name="m_conn_join.so">
448 #
449 #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
450 #
451 # If you have m_conn_join.so loaded, you can configure it using the
452 # follow values:
453 #
454 #<autojoin channel="#one,#two,#three">
455
456 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
457 # Conn-Usermodes: Set modes on users when they connect
458 # When this module is loaded <connect:allow> tags may have an optional
459 # modes="" value, which contains modes to add or remove from users
460 # when they connect to the server.
461 #<module name="m_conn_umodes.so">
462
463 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
464 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
465 #<module name="m_conn_waitpong.so">
466 #
467 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
468 #                                                                     #
469 # If you have the m_conn_waitpong.so module loaded, configure it with #
470 # the <waitpong> tag:                                                 #
471 #                                                                     #
472 # sendsnotice    -   Whether to send a snotice on connect, like other #
473 #                    older ircds                                      #
474 #                                                                     #
475 # killonbadreply -   Whether to kill the user if they send the wrong  #
476 #                    PONG reply.                                      #
477 #                                                                     #
478 #<waitpong sendsnotice="yes" killonbadreply="yes">
479
480
481 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
482 # Channel cycle module. Server side /hop, with +ilk etc bypass.
483 #<module name="m_cycle.so">
484
485 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
486 # Connectban: Provides IP connection throttling. Any IP range that connects
487 # too many times (configurable) in an hour is zlined for a (configurable)
488 # duration, and their count resets to 0.
489 #
490 # ipv4cidr and ipv6cidr allow you to turn the comparison from individual
491 # IP addresses (32 and 128 bits) into CIDR masks, to allow for throttling
492 # over whole ISPs/blocks of IPs, which may be needed to prevent attacks.
493 #
494 #<connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128">
495 # This allows for 10 quits in an hour with a 10 minute ban if that is exceeded.
496 #
497 #<module name="m_connectban.so">
498
499 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
500 # Connection throttle module. Configuration:
501 #<module name="m_connflood.so">
502 #
503 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
504 #  seconds, maxconns -  Amount of connections per <seconds>.
505 #
506 #  timeout           -  Time to wait after the throttle was activated
507 #                       before deactivating it. Be aware that the time
508 #                       is seconds + timeout.
509 #
510 #  quitmsg           -  The message that users get if they attempt to
511 #                       connect while the throttle is active.
512 #
513 #  bootwait          -  Amount of time to wait before enforcing the
514 #                       throttling when the server just booted.
515 #
516 #<connflood seconds="30" maxconns="3" timeout="30"
517 #   quitmsg="Throttled" bootwait="10">
518
519 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
520 # Custom title module: Adds the /TITLE command which allows for trusted
521 #                      users to gain a custom whois line and a optional
522 #                      vhost can be specified.
523 #<module name="m_customtitle.so">
524 #
525 #-#-#-#-#-#-#-#-#-#-  CUSTOM TITLE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#
526 #  name              - The username used to identify 
527 #  password          - The password used to identify
528 #  host              - Allowed hostmask [optional]
529 #  title             - Title shown in whois
530 #  vhost             - Displayed host [optional]
531 #
532 #<title name="foo" password="bar" title="Official Chat Helper">
533 #<title name="bar" password="foo" host="ident@host.name" title="Official Chat Helper" vhost="helper.network.chat">
534
535 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
536 # DCCALLOW module: Adds the /DCCALLOW command
537 #<module name="m_dccallow.so">
538 #
539 #-#-#-#-#-#-#-#-#-#-#-  DCCALLOW CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
540 #  blockchat         - Whether to block DCC CHAT as well as DCC SEND
541 #  length            - Default duration of entries in DCCALLOW list
542 #  action            - Default action to take if no action is specified
543 #                      can be 'block' or 'allow'
544 #
545 # File configuration:
546 #  pattern           - The glob pattern to match against
547 #  action            - Action to take if a user attempts to send a file
548 #                      that matches this pattern, can be 'block' or 'allow'
549 #
550 #<dccallow blockchat="yes" length="5m" action="block">
551 #<banfile pattern="*.exe" action="block">
552 #<banfile pattern="*.txt" action="allow">
553 #
554 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
555
556 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
557 # Deaf module: adds support for ircu style usermode +d - deaf to
558 # channel messages and channel notices.
559 #<module name="m_deaf.so">
560
561 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
562 # Delay join module: Adds the channel mode +D which delays all JOIN
563 # messages from users until they speak. If they quit or part before
564 # speaking, their quit or part message will not be shown to the channel
565 # which helps cut down noise on large channels in a more friendly way
566 # than the auditorium mode. Only channel ops may set the +D mode.
567 #<module name="m_delayjoin.so">
568
569 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
570 # Deny Channels: Deny Channels from being used by users
571 #<module name="m_denychans.so"> 
572 #
573 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
574 #                                                                     #
575 # If you have the m_denychans.so module loaded, you need to specify   #
576 # the channels to deny:                                               #
577 #                                                                     #
578 # name        -      The channel name to deny. (glob masks are ok)    #
579 #                                                                     #
580 # allowopers  -      If operators are allowed to override the deny.   #
581 #                                                                     #
582 # reason      -      Reason given for the deny.                       #
583 #                                                                     #
584 # redirect    -      Redirect the user to a different channel         #
585 #                                                                     #
586 #<badchan name="#gods*" allowopers="yes" reason="Tortoises!">         #
587 #<badchan name="#heaven" redirect="#hell" reason="Nice try!">         #
588 #                                                                     #
589 # Redirects will not work if the target channel is set +L.            #
590 #                                                                     #
591 # Additionally, you may specify channels which are allowed, even if   #
592 # a badchan tag specifies it would be denied:                         #
593 #<goodchan name="#godsleeps">                                         #
594 # Glob masks are accepted here also.
595
596 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
597 # Devoice Module: Let users devoice themselves.
598 #<module name="m_devoice.so">
599
600 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
601 # DNS Blacklist Module: Provides support for looking up IPs on one or #
602 # more blacklists.                                                    #
603 #<module name="m_dnsbl.so">                                           #
604 #                                                                     #
605 # For configuration options please see the wiki page for m_dnsbl at   #
606 # http://inspircd.org/wiki/DNS_Blacklist_Module                       #
607
608 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
609 # Filter module: Provides glob-based message filtering
610 #<module name="m_filter.so">
611 # OR
612 # PCRE filter module: Filters messages using regular expressions
613 #<module name="m_filter_pcre.so">
614 #
615 # You may only use one or the other with these modules, network-wide.
616 #
617 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
618 #                                                                     #
619 # Optional - If you specify to use the m_filter or m_filter_pcre      #
620 # modules, then specfiy below the path to the filter.conf file,       #
621 # or define some <filter> tags.                                       #
622 #                                                                     #
623 #<include file="filter.conf">
624
625 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
626 # Foobar module: does nothing - historical relic
627 #<module name="m_foobar.so">
628
629 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
630 # Gecosban: Implements extended ban r:, which stops anyone matching
631 # a mask like +b r:*realname?here* from joining a channel.
632 #<module name="m_gecosban.so">
633
634 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
635 # GeoIP module: Allows the server admin to ban users by country code.
636 #<module name="m_geoip.so">
637 #
638 #-#-#-#-#-#-#-#-#-#-#-#  GEOIP CONFIGURATION  #-#-#-#-#-#-#-#-#-#-#-#-#
639 #                                                                     #
640 # <geoip banunknown="false">                                          #
641 #                                                                     #
642 # Set this value to true or yes to block unknown IP ranges which are  #
643 # not in the database (usually LAN addresses, localhost, etc)         #
644 #                                                                     #
645 # <geoban country="TR" reason="This country not permitted">           #
646 #                                                                     #
647 # Use one or more of these tags to ban countries by country code.     #
648 # The country code must be in capitals and should be an ISO country   #
649 # code such as TR, GB, or US.                                         #
650
651 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
652 # Globops module: gives /GLOBOPS and SNOMASK +g
653 #<module name="m_globops.so">
654
655 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
656 # Global load module: Allows loading and unloading of modules network-
657 # wide (USE WITH EXTREME CAUTION!)
658 #<module name="m_globalload.so">
659
660 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
661 # HELPOP module: Provides the /HELPOP command
662 #<module name="m_helpop.so">
663 #
664 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
665 #                                                                     #
666 # Optional - If you specify to use the m_helpop.so module, then       #
667 # specify below the path to the helpop.conf file, or if you like to   #
668 # make a mess, define your helpop tags in this conf.                  #
669 #                                                                     #
670 #<include file="helpop.conf">
671
672 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
673 # HIDECHANS module: Allows opers to hide their channels list from non-
674 # opers by setting user mode +I on themselves.
675 # <module name="m_hidechans.so">
676
677 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
678 # HIDEOPER module: Allows opers to hide their oper status from non-
679 # opers by setting user mode +H on themselves.
680 # <module name="m_hideoper.so">
681
682 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
683 # Hostchange module: Allows a different style of cloaking
684 #<module name="m_hostchange.so">
685 #
686 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
687 #                                                                     #
688 # Optional - If you choose to use the m_hostchange.so module.         #
689 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
690 #                                                                     #
691 #<host suffix="polarbears.org" separator="." prefix="">
692 #<hostchange mask="*@fbi.gov" action="addnick">
693 #<hostchange mask="*r00t@*" action="suffix">
694 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
695 #<hostchange mask="localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
696
697 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
698 # httpd module: Provides http server support for InspIRCd
699 #<module name="m_httpd.so">
700 #
701 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
702 #
703 # Optional - If you choose to use the m_httpd.so module,  then you must
704 # specify the port number and other details of your http server:
705 #
706 #<http ip="192.168.1.10" host="brainwave" port="32006"
707 #      index="/home/brain/inspircd/http/index.html">
708 #
709 # You may have as many of these tags as you wish, each with a different
710 # IP, port, host or index file. Each one will act as an independent
711 # HTTP server.
712 #
713
714 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
715 # http ACL module: Provides access control lists for m_httpd dependent
716 # modules. Use this module to restrict pages by IP address and by
717 # password.
718 #
719 #<module name="m_httpd_acl.so">
720 #
721 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD ACL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
722 #
723 # Restrict access to the m_httpd_stats module to all but the local
724 # network and when the correct password is specified:
725 #
726 # <httpdacl path="/stats*" types="password,whitelist"
727 #    username="secretstuff" password="mypasshere" whitelist="127.0.0.*,10.*">
728
729 # Deny all connections to all but the main index page:
730 #
731 # <httpdacl path="/*" types="blacklist" blacklist="*">
732 #
733
734 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
735 # http config module: Allows the server's configuration to be viewed
736 # over HTTP. Requires m_httpd.so to be loaded for it to function.
737 #<module name="m_httpd_config.so">
738
739 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
740 # http stats module: Provides basic stats pages over HTTP
741 # Requires m_httpd.so to be loaded for it to function.
742 #<module name="m_httpd_stats.so">
743 #
744 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
745 #
746 #<httpstats stylesheet="http://remote.style/sheet.css">
747 #
748
749 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
750 # Ident: Provides RFC 1413 ident lookup support
751 # When this module is loaded <connect:allow> tags may have an optional
752 # useident="yes|no" boolean value, determining whether or not to lookup
753 # ident on users matching that connect tag.
754 #<module name="m_ident.so">
755 #
756 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
757 #                                                                     #
758 # Optional - If you are using the m_ident.so module, then you can     #
759 # specify the timeout for ident lookups here. If not defined, it will #
760 # default to one second. This is a non-blocking timeout which holds   #
761 # the user in a 'connecting' state until the lookup is complete.      #
762 # The bind value indicates which IP to bind outbound requests to.     #
763 #                                                                     #
764 #<ident timeout="5" bind="">
765
766 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
767 # Invite except module: Adds support for channel invite exceptions (+I)
768 #<module name="m_inviteexception.so">
769
770 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
771 # Invisible module - Adds support for usermode +Q (quiet) which lets an
772 # oper go 'invisible' similar to unrealircd 3.1's +I mode. Note that
773 # opers are still able to see invisible users, and if an oper with +Q
774 # deopers, they will become visible. 
775
776 # IMPORTANT NOTE: To allow this mode to be used by a type of oper, you
777 # must first add the value canquiet="yes" to that oper's type tag.
778 #
779 #<module name="m_invisible.so">
780
781 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
782 # Join flood module: Adds support for join flood protection (+j)
783 #<module name="m_joinflood.so">
784
785 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
786 # Jump Server module: Adds support for the RPL_REDIR numeric
787 #<module name="m_jumpserver.so">
788
789 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
790 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
791 #<module name="m_kicknorejoin.so">
792
793 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
794 # Knock module: adds the /KNOCK command and +K channel mode
795 #<module name="m_knock.so">
796
797 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
798 # LDAP authentication module: Adds the ability to authenticate users  #
799 # via LDAP. This is an extra module which must be enabled explicitly  #
800 # by symlinking it from modules/extra, and requires the OpenLDAP libs #
801 #                                                                     #
802 #<module name="m_ldapauth.so">                                        #
803 #                                                                     #
804 # Configuration:                                                      #
805 #                                                                     #
806 # <ldapauth baserdn="ou=People,dc=brainbox,dc=cc"                     #
807 #           attribute="uid"                                           #
808 #           server="ldap://brainwave.brainbox.cc"                     #
809 #           allowpattern="Guest*"                                     #
810 #           killreason="Access denied"                                #
811 #           searchscope="subtree"                                     #
812 #           binddn="cn=Manager,dc=brainbox,dc=cc"                     #
813 #           bindauth="mysecretpass"                                   #
814 #           verbose="yes">                                            #
815 #                                                                     #
816 # The baserdn indicates the base DN to search in for users. Usually   #
817 # this is 'ou=People,dc=yourdomain,dc=yourtld'.                       #
818 #                                                                     #
819 # The attribute value indicates the attribute which is used to locate #
820 # a user account by name. On POSIX systems this is usually 'uid'.     #
821 #                                                                     #
822 # The server parameter indicates the LDAP server to connect to. The   #
823 # ldap:// style scheme before the hostname proper is MANDITORY.       #
824 #                                                                     #
825 # The allowpattern value allows you to specify a wildcard mask which  #
826 # will always be allowed to connect regardless of if they have an     #
827 # account, for example guest users.                                   #
828 #                                                                     #
829 # Killreason indicates the QUIT reason to give to users if they fail  #
830 # to authenticate.                                                    #
831 #                                                                     #
832 # The searchscope value indicates the subtree to search under. On our #
833 # test system this is 'subtree'. Your mileage may vary.               #
834 #                                                                     #
835 # Setting the verbose value causes an oper notice to be sent out for  #
836 # every failed authentication to the server, with an error string.    #
837 #                                                                     #
838 # The binddn and bindauth indicate the DN to bind to for searching,   #
839 # and the password for the distinguished name. Some LDAP servers will #
840 # allow anonymous searching in which case these two values do not     #
841 # need defining, otherwise they should be set similar to the examples #
842 # above.                                                              #
843
844 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
845 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that is #
846 # used to temporarily close/open for new connections to the server.   #
847 # These commands require OPER status and that the LOCKSERV UNLOCKSERV #
848 # are specified in a <class> tag that the oper is part of. This is so #
849 # you can control who has access to this possible dangerous command.  #
850 # If your server is locked and you got disconnected, do a REHASH from #
851 # shell to open up again.
852 #<module name="m_lockserv.so">
853
854 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
855 # Msg flood module: Adds message/notice flood protection (+f)
856 #<module name="m_messageflood.so">
857
858 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
859 # MsSQL module: Allows other SQL modules to access MS SQL Server 
860 # through a unified API. You must copy the source for this module
861 # from the directory src/modules/extra, plus the file m_sqlv2.h
862 #<module name="m_mssql.so">
863 #
864 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
865 #                                                                     #
866 # m_mssql.so is more complex than described here, see wiki for more   #
867 # info http://www.inspircd.org/wiki/SQLServer_Service_Provider_Module #
868 #
869 #<database name="db" username="user" password="pass" hostname="localhost" id="db1">
870
871 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
872 # MySQL module: Allows other SQL modules to access MySQL databases
873 # through a unified API. You must copy the source for this module
874 # from the directory src/modules/extra, plus the file m_sqlv2.h
875 #<module name="m_mysql.so">
876 #
877 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
878 #                                                                     #
879 # m_mysql.so is more complex than described here, see the wiki for    #
880 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
881 #
882 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
883
884 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
885 # NAMESX module: Provides support for the NAMESX extension which allows
886 # clients to see all the prefixes set on a user without getting confused.
887 # This is supported by mIRC, x-chat, klient, and maybe more.
888 #<module name="m_namesx.so">
889
890 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
891 # Nickchange flood protection module: Allows up to X nick changes in Y seconds.
892 # Provides channel mode +F.
893 #<module name="m_nickflood.so">
894
895 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
896 # Nicklock module: Let opers change a user's nick and then stop that
897 # user from changing their nick again.
898 #<module name="m_nicklock.so">
899
900 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
901 # No ctcp module: Adds the channel mode +C to block CTCPs
902 #<module name="m_noctcp.so">
903
904 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
905 # No kicks module: Adds the +Q channel mode
906 #<module name="m_nokicks.so">
907
908 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
909 # No nicks module: Adds the +N channel mode, as well as the +b N:
910 # extended bantype. +N stops all users from changing their nick,
911 # the +b N: extban stops anyone from matching a +b N:nick!user@host
912 # mask from changing their nick.
913 #<module name="m_nonicks.so">
914
915 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
916 # No Notice module: adds the channel mode +T
917 #<module name="m_nonotice.so">
918
919 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
920 # Oper channels mode: Adds the +O channel mode
921 #<module name="m_operchans.so">
922
923 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
924 # Oper flood module: Removes flood limits from users upon opering up
925 #<module name="m_operflood.so">
926
927 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
928 # Oper invex/extban module: Adds +beI type O, to ban, exempt, and invex
929 # given oper type masks.
930 # e.g, /mode #channel +iI O:* is equivilant to chmode +O, but you
931 # may also, e.g. /mode #channel +iI O:AdminTypeOnly to only allow admins.
932 #
933 # +be work in a similar fashion.
934 #
935 #<module name="m_operinvex.so">
936
937 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
938 # Oper Join module: Auto-joins opers to a channel upon oper-up
939 #<module name="m_operjoin.so">
940 #
941 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
942 #                                                                     #
943 # If you are using the m_operjoin.so module, specify options here:    #
944 #                                                                     #
945 # channel     -      The channel name to join, can also be a comma    #
946 #                    seperated list eg. "#channel1,#channel2".        #
947 #                                                                     #
948 # override    -      Lets the oper join walking thru any modes that   #
949 #                    might be set, even bans. Use "yes" or "no".      #
950 #                                                                     #
951 #<operjoin channel="#channel" override="no">
952 #
953 # Alternatively you can use the autojoin="channellist" in a <type>    #
954 # tag to set specific autojoins for a type of oper, for example:      #
955 #
956 #<type name="Helper" autojoin="#help" classes="...">
957
958 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
959 # Oper log module: Logs all oper commands to the ircd log at default
960 # loglevel.
961 #<module name="m_operlog.so">
962
963 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
964 # Oper MOTD module: Provides support for seperate message of the day
965 # on oper-up
966 #<module name="m_opermotd.so">
967 #
968 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
969 #                                                                     #
970 # If you are using the m_opermotd.so module, specify the motd here    #
971 #                                                                     #
972 #<opermotd file="oper.motd">
973
974 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
975 # Override module: Adds support for oper override
976 #<module name="m_override.so">
977 #
978 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
979 #                                                                     #
980 # m_override.so is too complex it describe here, see the wiki:        #
981 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
982
983 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
984 # Oper levels module: Gives each oper a level and prevents
985 # actions being taken against higher level opers
986 # Specify the level as the 'level' parameter of the <type> tag
987 #<module name="m_operlevels.so">
988
989 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
990 # Oper modes module: Allows you to specify modes to add/remove on oper
991 # Specify the modes as the 'modes' parameter of the <type> tag
992 # and/or as the 'modes' parameter of the <oper> tag.
993 #<module name="m_opermodes.so">
994
995 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
996 # Oper password hash module: Allows hashed oper passwords
997 # Relies on the module m_md5.so and/or m_sha256.so being loaded before
998 # m_password_hash.so in the configuration file.
999 #<module name="m_password_hash.so">
1000 #
1001 #-#-#-#-#-#-#-#-#-#-# OPER HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1002 #
1003 # To use this module, you must define a hash type for each oper's
1004 # password you want to hash. For example:
1005 #
1006 #     <oper name="Brain"
1007 #           host="ident@dialup15.isp.com"
1008 #           hash="sha256"
1009 #           password="a41d730937a53b79f788c0ab13e9e1d5"
1010 #           type="NetAdmin">
1011
1012 # The types of hashing available vary depending on which hashing modules
1013 # you load, but usually if you load m_sha256.so and m_md5.so, both md5
1014 # and sha256 type hashing will be available (the most secure of which
1015 # is SHA256).
1016
1017 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1018 # Permanent Channels module: Channels with the permanent channels mode
1019 # will remain open even after everyone else has left the channel, and
1020 # therefore keep things like modes, ban lists and topic. Permanent
1021 # channels -may- need support from your Services package to function
1022 # properly with them. This adds channel mode +P.
1023 #<module name="m_permchannels.so">
1024 #
1025 # You may also create channels on startup by using the <permchannels> block.
1026 #<permchannels channel="#opers" modes="is" topic="Opers only.">
1027
1028 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1029 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1030 # through a unified API. You must copy the source for this module
1031 # from the directory src/modules/extra, plus the file m_sqlv2.h
1032 #<module name="m_pgsql.so">
1033 #
1034 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1035 #                                                                     #
1036 # m_pgsql.so is more complex than described here, see the wiki for    #
1037 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1038 #
1039 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1040
1041 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1042 # Proxy scan module: Scans locally connecting clients for proxies.
1043 #<module name="m_proxyscan.so">
1044
1045 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1046 # Muteban: Implements extended ban m:, which stops anyone matching
1047 # a mask like +b m:nick!user@host from speaking on channel.
1048 #<module name="m_muteban.so">
1049 #
1050
1051 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1052 # Random Quote module: provides a random quote on connect.
1053 # NOTE: Some of these may mimic fatal errors and confuse users and 
1054 # opers alike! - BEWARE!
1055 #<module name="m_randquote.so">
1056 #
1057 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1058 #                                                                     #
1059 # Optional - If you specify to use the m_randquote.so module, then    #
1060 # specify below the path to the randquotes.conf file.                 #
1061 #                                                                     #
1062 #<randquote file="randquotes.conf">
1063
1064 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1065 # Redirect module: Adds channel redirection (mode +L)
1066 #<module name="m_redirect.so">
1067
1068 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1069 # Registered users only channel creation
1070 # Allows only registered users and opers to create new channels.
1071 #<module name="m_regonlycreate.so">
1072
1073 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1074 # Remove module: Adds the /REMOVE command which is a peaceful
1075 # alternative to /KICK
1076 #<module name="m_remove.so">
1077
1078 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1079 # Restrict banned users module:
1080 # Disallows banned users on a channel from messaging the channel,
1081 # changing nick, or changing the topic, if loaded.
1082 #<module name="m_restrictbanned.so">
1083
1084 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1085 # Restricted channels module: Allows only opers to create channels
1086 #<module name="m_restrictchans.so">
1087
1088 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1089 # Restrict message module: Allows users to only message opers
1090 #<module name="m_restrictmsg.so">
1091
1092 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1093 # Ban users through regular expression patterns
1094 #<module name="m_rline.so">
1095 #
1096 #-#-#-#-#-#-#-#-#-#-#-#- RLINE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1097 # If you wish to re-check a user when they change nickname (can be
1098 # useful under some situations, but *can* also use CPU with more users
1099 # on a server) then set the following configuration value:
1100 #<rline matchonnickchange="yes">
1101
1102 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1103 # JSON-RPC module: Encode and decode JSON-RPC requests for modules
1104 #<module name="m_rpc_json.so">
1105
1106 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1107 # RPC test module: A test of the RPC API
1108 #<module name="m_rpctest.so">
1109
1110 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1111 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1112 # prevent excess flood when the list is large.
1113 #<module name="m_safelist.so">
1114 #
1115 #-#-#-#-#-#-#-#-#-#-# SAFELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1116 #
1117 # When using Safelist, you may set the following values;
1118 #
1119 # The first value, 'throttle', sets the amount of time in seconds a user
1120 # must wait between LIST commands. For example, if this is set to 60
1121 # (the default) then the user may not /LIST more than once a minute.
1122 # If not defined, the default value is 60 seconds.
1123 #
1124 # The second value, 'maxlisters', indicates the maximum number of users
1125 # which may be retrieving a LIST at once. It is not recommended you raise
1126 # this value, as increasing it too high can make your network vulnerable
1127 # to floodbots which waste your bandwidth and CPU time with LIST requests.
1128 #
1129 #<safelist throttle="60" maxlisters="50">
1130
1131 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1132 # SAJOIN module: Adds the /SAJOIN command
1133 #<module name="m_sajoin.so">
1134
1135 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1136 # SAMODE module: Adds the oper /SAMODE command
1137 #<module name="m_samode.so">
1138
1139 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1140 # SANICK module: Allows opers to change user's nicks
1141 #<module name="m_sanick.so">
1142
1143 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1144 # SAPART module: Adds the oper /SAPART command
1145 #<module name="m_sapart.so">
1146
1147 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1148 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1149 #<module name="m_saquit.so">
1150
1151 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1152 # SASL authentication module: Provides support for IRC Authentication 
1153 # Layer (aka: atheme SASL) via AUTHENTICATE.
1154 #<module name="m_sasl.so">
1155
1156 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1157 # Secure list module: Prevent /LIST in the first minute of connection,
1158 # crippling most spambots and trojan spreader bots.
1159 #<module name="m_securelist.so">
1160 #
1161 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1162 #                                                                     #
1163 # Securelist can be harmful to some irc search engines such as        #
1164 # netsplit.de and searchirc.com. To prevent securelist blocking these #
1165 # sites from listing, define exception tags as shown below:           #
1166 <securehost exception="*@*.searchirc.org">
1167 <securehost exception="*@*.netsplit.de">
1168 <securehost exception="*@echo940.server4you.de">
1169 #                                                                     #
1170 # Define the following variable to change how long a user must wait   #
1171 # before issuing a LIST. If not defined, defaults to 60 seconds.      #
1172 #                                                                     #
1173 #<securelist waittime="60">                                           #
1174
1175 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1176 # Servprotect module: Provides support for Austhex style +k /
1177 # UnrealIRCD +S services mode
1178 #<module name="m_servprotect.so">
1179
1180 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1181 # See nicks module: Allow for SNOMASK +N which shows nick changes.
1182 #<module name="m_seenicks.so">
1183
1184 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1185 # Set Idle module: Adds a command for opers to change their
1186 # idle time (mainly a toy)
1187 #<module name="m_setidle.so">
1188
1189 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1190 # Services support module: Adds several usermodes such as +R and +M
1191 # this module implements the 'identified' state via user mode +r, which
1192 # is similar to the DALnet and dreamforge systems.
1193 #     
1194 # N O T E!!
1195 #  >>  This CAN NOT be used at the same time as m_services_account <<
1196 # N O T E!!
1197 #<module name="m_services.so">
1198
1199 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1200 # Services support module: Adds several usermodes such as +R and +M
1201 # this module implements the 'identified' state via account names (AC)
1202 # and is similar in operation to the way asuka and ircu handle services.
1203 #
1204 # Also of note is that this module implements two extbans:
1205 # +b R: (stop matching account names from joining)
1206 # +b M: (stop matching account names from speaking)
1207 #                                                                       
1208 # N O T E!!
1209 #  >>  This CAN NOT be used at the same time as m_services <<
1210 # N O T E!!
1211 #<module name="m_services_account.so">
1212
1213 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1214 # Sethost module: Adds the /SETHOST command
1215 # See m_chghost for how to customise valid chars for hostnames
1216 #<module name="m_sethost.so">
1217
1218 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1219 # Setident module: Adds the /SETIDENT command
1220 #<module name="m_setident.so">
1221
1222 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1223 # SETNAME module: Adds the /SETNAME command
1224 #<module name="m_setname.so">
1225
1226 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1227 # Serverban: Implements extended ban s:, which stops anyone connected
1228 # to a server matching a mask like +b s:server.mask.here from joining.
1229 #<module name="m_serverban.so">
1230
1231 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1232 # Show Whois module: Adds the +W usermode which allows opers
1233 # to see when they are whois'ed (can be annoying).
1234 #<module name="m_showwhois.so">
1235
1236 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1237 # Shun module: Provides the /shun command, which stops a user executing 
1238 # most commands.
1239 #<module name="m_shun.so">
1240 #
1241 # You may also configure which commands you wish a user to be able to
1242 # perform. It should be noted that if a shunned user issues QUIT or PART
1243 # then their message will be removed, as if they did not issue one.
1244 #
1245 # You may also (optionally) let the user know that their command was blocked.
1246 #<shun enabledcommands="PING PONG QUIT PART JOIN" notifyuser="yes">
1247
1248 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1249 # Spy module: Provides the ability to see the complete names list of 
1250 # channels an oper is not a member of
1251 #<module name="m_spy.so">
1252
1253 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1254 # SSL channel mode module: Adds support for SSL-only channels (+z).
1255 # does not do anything useful without a working SSL module (see below)
1256 #<module name="m_sslmodes.so">
1257
1258 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1259 # Dummy ssl module: If you have other servers on your network which
1260 # have SSL, but your server does not have ssl enabled, you should load
1261 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
1262 # field in the WHOIS information).
1263 #<module name="m_ssl_dummy.so">
1264
1265 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1266 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1267 # if enabled. You must copy the source for this module from the directory
1268 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1269 # want to enable this, or it will not load.
1270 #<module name="m_ssl_gnutls.so">
1271 #
1272 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1273 #                                                                     #
1274 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
1275 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
1276 #                                                                     #
1277 # NOTE: If you want to use this module to encrypt and sign your       #
1278 # server to server traffic, you MUST load it before m_spanningtree in #
1279 # your configuration file!                                            #
1280
1281 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1282 # SSL Info module: Allows users to retrieve information about other
1283 # user's peer SSL certificates and keys. This can be used by client
1284 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
1285 # or m_ssl_openssl.so must be loaded. You must symlink the source for
1286 # this module from the directory src/modules/extra.
1287 #<module name="m_sslinfo.so">
1288
1289 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1290 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1291 # if enabled. You must copy the source for this module from the directory
1292 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1293 # want to enable this, or it will not load.
1294 #<module name="m_ssl_openssl.so">
1295 #
1296 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1297 #                                                                     #
1298 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
1299 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
1300 #                                                                     #
1301 # NOTE: If you want to use this module to encrypt and sign your       #
1302 # server to server traffic, you MUST load it before m_spanningtree in #
1303 # your configuration file!                                            #
1304
1305 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1306 # SSL Cert Oper module: Allows opers to oper up using the key fingerprint
1307 # stored within their SSL certificate and key pair.
1308 # When using this module, one of m_ssl_gnutls.so or m_ssl_openssl.so must
1309 # be loaded. An extra value should be added to enabled opers, which
1310 # is in the following format: fingerprint="<hash>". For more information,
1311 # see the example in the oper blocks.
1312 #<module name="m_ssl_oper_cert.so">
1313
1314 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1315 # Strip colour module: Adds the channel mode +S
1316 #<module name="m_stripcolor.so">
1317
1318 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1319 # SILENCE module: Adds support for /SILENCE
1320 #<module name="m_silence.so">
1321 #
1322 # Configuration tags:
1323 #
1324 #<silence maxentries="32">
1325 #
1326 # Sets the maximum number of entries on a users silence list.
1327
1328 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1329 # SQLite3 module: Allows other SQL modules to access SQLite3          #
1330 # databases through a unified API. You must link the source for this  #
1331 # module from the directory src/modules/extra to src/modules, plus    #
1332 # the file m_sqlv2.h                                                  #
1333 #<module name="m_sqlite3.so">
1334 #
1335 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1336 #                                                                     #
1337 # m_sqlite.so is more complex than described here, see the wiki for   #
1338 # more: http://www.inspircd.org/wiki/SQLite3_Service_Provider_Module  #
1339 #
1340 #<database hostname="/full/path/to/database.db" id="anytext">
1341
1342 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1343 # SQLutils module: Provides some utilities to SQL client modules, such
1344 # as mapping queries to users and channels. You must copy the source
1345 # for this module from the directory src/modules/extra/m_sqlutils.cpp
1346 # and src/modules/extra/m_sqlutils.h into /src/modules
1347 # Needed for, and loaded before: SQLauth and SQLoper
1348 #<module name="m_sqlutils.so">
1349
1350 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1351 # SQL authentication module: Allows IRCd connections to be tied into
1352 # a database table (for example a forum). You must copy the source for
1353 # this module from the directory src/modules/extra
1354 # Depends on the SQLutils module being loaded first.
1355 #<module name="m_sqlauth.so">
1356 #
1357 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1358 #                                                                     #
1359 # m_sqlauth.so is too complex it describe here, see the wiki:         #
1360 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
1361
1362 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1363 # SQL logging module: Allows you to log network-wide data for your
1364 # network in a fully normalised set of SQL tables. You must copy the
1365 # source for this module from the directory src/modules/extra
1366 #<module name="m_sqllog.so">
1367 #
1368 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1369 #                                                                     #
1370 # dbid       - Database ID to use (see m_sql)                         #
1371 #                                                                     #
1372 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
1373 #                                                                     #
1374 #<sqllog dbid="1">
1375
1376 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1377 # SQL oper module: Allows you to store oper credentials in an SQL table
1378 # You must copy the source for this module from the directory src/modules/extra
1379 # Depends on the SQLutils module being loaded first.
1380 #<module name="m_sqloper.so">
1381 #
1382 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1383 #                                                                     #
1384 # dbid       - Database ID to use (see m_sql)                         #
1385 # hash       - Hashing provider to use for password hashing           #
1386 #                                                                     #
1387 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
1388 #                                                                     #
1389 #<sqloper dbid="1" hash="md5">
1390
1391 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1392 # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be   #
1393 # added/removed by Services.                                          #
1394 #<module name="m_svshold.so">
1395
1396 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1397 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1398 #<module name="m_swhois.so">
1399
1400 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1401 # Taxonomy module: Adds the /TAXONOMY command, used to view all
1402 #                  metadata attached to a user.
1403 #<module name="m_taxonomy.so">
1404
1405 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1406 # Test command module: Does nothing significant. Read: pointless.
1407 #<module name="m_testcommand.so">
1408
1409 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1410 # Timed bans module: Adds timed bans and the /TBAN command
1411 #<module name="m_timedbans.so">
1412
1413 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1414 # Test line module: Adds the /TLINE command, used to test how many
1415 # users a /GLINE or /ZLINE etc would match.
1416 #<module name="m_tline.so">
1417
1418 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1419 # UHNAMES support module: Adds support for the IRCX style UHNAMES
1420 # extension, which displays ident and hostname in the names list for
1421 # each user, saving clients from doing a WHO on the channel. Note that
1422 # this module is not widely supported yet. If a client does not support
1423 # UHNAMES it will not enable it, this will not break incompatible
1424 # clients.
1425 #<module name="m_uhnames.so">
1426
1427 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1428 # Uninvite module: Adds the /UNINVITE command which lets users remove
1429 # pending invites from channels without waiting for the user to join.
1430 #<module name="m_uninvite.so">
1431
1432 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1433 # Userip module: Adds the /USERIP command
1434 #<module name="m_userip.so">
1435
1436 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1437 # Vhost module: Adds the VHOST command which allows for adding virtual
1438 # hosts which are accessible using a username and password in the config.
1439 #<module name="m_vhost.so">
1440 #
1441 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1442 #                                                                     #
1443 # user       - Username for the vhost.                                #
1444 #                                                                     #
1445 # pass       - Password for the vhost.                                #
1446 #                                                                     #
1447 # host       - Vhost to set.                                          #
1448 #
1449 #<vhost user="some_username" pass="some_password" host="some.host">
1450
1451 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1452 # Watch module: Adds the WATCH command, which is used by clients to 
1453 # maintain notify lists.
1454 #<module name="m_watch.so">
1455 #
1456 # Configuration tags:
1457 #
1458 #<watch maxentries="32">
1459 #
1460 # Sets the maximum number of entries on a user's watch list.
1461
1462 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1463 # XLine database: Stores all *Lines (G/Z/K/R/any added by other modules)
1464 # in a file "xline.db" which can be re-loaded on restart. This is useful
1465 # for two reasons: it keeps bans so users may not evade them, and on
1466 # bigger networks, server connections will take less time as there will
1467 # be a lot less bans to apply - as most of them will already be there.
1468 #<module name="m_xline_db.so">
1469
1470 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1471 # ZipLinks module: Adds support for zlib deflate on server to server
1472 # connections. Both ends of the connection must load this module.
1473 #
1474 #<module name="m_ziplink.so">
1475 #
1476 # To use this module, you must enable it as a transport type in your
1477 # <link> tags or <bind> tags using the transport name 'zip'.
1478 # See the documentation of <link> and <bind>, respectively.
1479 #