]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/conf/modules.conf.example
Remove legacy code, mostly related to 1.2 compatibility
[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 membe 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 cmode +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="conf/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 #<chanhistory maxlines="20" notice="yes">
388
389 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
390 # Channel logging module: used to send snotice output to channels, to
391 # allow staff to centrally monitor and discuss network activity.
392 #
393 # The "channel" field is where you want the messages to go, "snomasks"
394 # is what snomasks you want to be sent to that channel. Multiple tags
395 # are allowed.
396 #<module name="m_chanlog.so">
397 #<chanlog snomasks="AOcC" channel="#opers">
398
399 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
400 # Channel Names module: Allows disabling channels which have certain
401 # characters in the channel name such as bold, colorcodes, etc which
402 # can be quite annoying and allow users to on occasion have a channel
403 # that looks like the name of another channel on the network.
404 #<module name="m_channames.so">
405
406 <channames
407         # denyrange: characters or range of characters to deny in channel
408         # names.
409         denyrange="2,3"
410
411         # allowrange: characters or range of characters to specifically allow
412         # in channel names.
413         allowrange="">
414
415 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
416 # Channelban: Implements extended ban j:, which stops anyone in already
417 # in a channel matching a mask like +b j:#channel*mask from joining.
418 #<module name="m_channelban.so">
419
420 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
421 # Chanprotect module: gives +q and +a channel modes
422 #<module name="m_chanprotect.so">
423
424 <chanprotect
425         # noservices: With this set to yes, when a user joins a empty channel,
426         # the server will set +q on them. If set to no, it will only set +o
427         # on them until they register the channel.
428         noservices="no"
429
430         # qprefix: Prefix (symbol) to use for +q users.
431         qprefix="~"
432
433         # aprefix: Prefix (symbol) to use for +a users.
434         aprefix="&amp;"
435
436         # deprotectself: If this value is set (true, yes or 1), it will allow
437         # +a and +q users to remove the +a and +q from themselves, otherwise,
438         # the status will have to be removed by services.
439         deprotectself="yes"
440
441         # deprotectothers: If this value is set to yes, true, or 1, then any
442         # user with +q or +a may remove the +q or +a from other users.
443         deprotectothers="yes">
444
445
446 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
447 # Check module: gives /check
448 # Check is useful for looking up information on channels,
449 # users, IP addresses and hosts.
450 # This module is oper-only.
451 # To use, CHECK must be in one of your oper class blocks.
452 #<module name="m_check.so">
453
454 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
455 # CHGHOST module: Adds the /CHGHOST command
456 # This module is oper-only.
457 # To use, CHGHOST must be in one of your oper class blocks.
458 # NOTE: Services will not be able to set vhosts on users if this module
459 # isn't loaded. If you're planning on running services, you probably
460 # want to load this.
461 #<module name="m_chghost.so">
462 #
463 #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST  CONFIGURATION #-#-#-#-#-#-#-#-#
464 # Optional - If you want to use special chars for hostnames you can  #
465 # specify your own custom list of chars with the <hostname> tag:     #
466 #                                                                    #
467 # charmap        - A list of chars accepted as valid by the /CHGHOST #
468 #                  and /SETHOST commands. Also note that the list is # 
469 #                  case-sensitive.                                   #
470 #<hostname charmap="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_/0123456789">
471
472 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
473 # CHGIDENT module: Adds the /CHGIDENT command
474 # This module is oper-only.
475 # To use, CHGIDENT must be in one of your oper class blocks.
476 #<module name="m_chgident.so">
477
478 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
479 # CHGNAME module: Adds the /CHGNAME command
480 # This module is oper-only.
481 # To use, CHGNAME must be in one of your oper class blocks.
482 #<module name="m_chgname.so">
483
484 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
485 # Cloaking module: Adds usermode +x and cloaking support.
486 # Relies on the module m_md5.so being loaded.
487 # To use, you should enable m_conn_umodes and add +x as
488 # an enabled mode. See the m_conn_umodes module for more information.
489 #<module name="m_cloaking.so">
490 #
491 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
492 #                                                                     #
493 # To use m_cloaking, you must define a cloak key, and optionally a    #
494 # cloak prefix as shown below. The cloak key must be shared across    #
495 # the network for correct cloaking.                                   #
496 #                                                                     #
497 # There are two methods of cloaking:                                  #
498 #                                                                     #
499 #   half           Cloak only the "unique" portion of a host; show    #
500 #                  the last 2 parts of the domain, /16 subnet of IPv4 #
501 #                  or /48 subnet of the IPv6 address.                 #
502 #                                                                     #
503 #   full           Cloak the users completely, using three slices for #
504 #                  common CIDR bans (IPv4: /16, /24; IPv6: /48, /64)  #
505 #                                                                     #
506 # The methods use a single key that can be any length of text.        #
507 # An optional prefix may be specified to mark cloaked hosts.          #
508 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
509 #
510 #<cloak mode="half"
511 #       key="secret"
512 #       prefix="net-">
513
514 #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
515 # Close module: Allows an oper to close all unregistered connections.
516 # This module is oper-only and provides /close.
517 # To use, CLOSE must be in one of your oper class blocks.
518 #<module name="m_close.so">
519
520 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
521 # Clones module: Adds an oper command /CLONES for detecting cloned
522 # users. Warning: This module may be resource intensive when its
523 # command is issued, use with care.
524 # This module is oper-only.
525 # To use, CLONES must be in one of your oper class blocks.
526 #<module name="m_clones.so">
527
528 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
529 # Common channels module: Adds user mode +c, which, when set, requires
530 # that users must share a common channel with you to PRIVMSG or NOTICE
531 # you.
532 #<module name="m_commonchans.so">
533
534 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
535 # Conn-Join: Allows you to force users to join one or more channels
536 # automatically upon connecting to the server.
537 #<module name="m_conn_join.so">
538 #
539 #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
540 #
541 # If you have m_conn_join.so loaded, you can configure it using the
542 # follow values:
543 #
544 #<autojoin channel="#one,#two,#three">
545
546 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
547 # Conn-Usermodes: Set modes on users when they connect
548 # When this module is loaded <connect:allow> tags may have an optional
549 # modes="" value, which contains modes to add or remove from users
550 # when they connect to the server.
551 #<module name="m_conn_umodes.so">
552
553 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
554 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
555 #<module name="m_conn_waitpong.so">
556 #
557 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
558 #                                                                     #
559 # If you have the m_conn_waitpong.so module loaded, configure it with #
560 # the <waitpong> tag:                                                 #
561 #                                                                     #
562 # sendsnotice    -   Whether to send a snotice on connect, like other #
563 #                    older ircds                                      #
564 #                                                                     #
565 # killonbadreply -   Whether to kill the user if they send the wrong  #
566 #                    PONG reply.                                      #
567 #                                                                     #
568 #<waitpong sendsnotice="yes" killonbadreply="yes">
569
570
571 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
572 # Channel cycle module. Server side /hop, with +ilk etc bypass.
573 #<module name="m_cycle.so">
574
575 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
576 # Connectban: Provides IP connection throttling. Any IP range that connects
577 # too many times (configurable) in an hour is zlined for a (configurable)
578 # duration, and their count resets to 0.
579 #
580 # ipv4cidr and ipv6cidr allow you to turn the comparison from individual
581 # IP addresses (32 and 128 bits) into CIDR masks, to allow for throttling
582 # over whole ISPs/blocks of IPs, which may be needed to prevent attacks.
583 #
584 #<connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128">
585 # This allows for 10 connections in an hour with a 10 minute ban if that is exceeded.
586 #
587 #<module name="m_connectban.so">
588
589 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
590 # Connection throttle module. Configuration:
591 #<module name="m_connflood.so">
592 #
593 #-#-#-#-#-#-#-#-#-#-#- CONNTHROTTLE CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
594 #  seconds, maxconns -  Amount of connections per <seconds>.
595 #
596 #  timeout           -  Time to wait after the throttle was activated
597 #                       before deactivating it. Be aware that the time
598 #                       is seconds + timeout.
599 #
600 #  quitmsg           -  The message that users get if they attempt to
601 #                       connect while the throttle is active.
602 #
603 #  bootwait          -  Amount of time in seconds to wait before enforcing
604 #                       the throttling when the server just booted.
605 #
606 #<connflood seconds="30" maxconns="3" timeout="30"
607 #   quitmsg="Throttled" bootwait="10">
608
609 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
610 # Custom prefixes: allows for channel prefixes to be added.
611 #<module name="m_customprefix.so">
612 #
613 # name       The name of the mode, must be unique from other modes
614 # letter     The letter used for this mode. Required.
615 # prefix     The prefix used for nicks with this mode. Not required.
616 # rank       A numeric rank for this prefix, defining what permissions it gives
617 #            VOICE_VALUE is 10000, HALFOP_VALUE is 20000, OP_VALUE is 30000
618 # ranktoset  The numeric rank required to set/unset this mode. Defaults to rank.
619 # depriv     Can you remove the mode from yourself? Defaults to yes.
620 #<customprefix name="founder" letter="q" prefix="~" rank="50000" ranktoset="50000">
621 #<customprefix name="admin" letter="a" prefix="&" rank="40000" ranktoset="50000">
622 #<customprefix name="halfop" letter="h" prefix="%" rank="20000" ranktoset="30000">
623 #<customprefix name="halfvoice" letter="V" prefix="-" rank="1" ranktoset="20000">
624
625 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
626 # Custom title module: Adds the /TITLE command which allows for trusted
627 #                      users to gain a custom whois line and a optional
628 #                      vhost can be specified.
629 #<module name="m_customtitle.so">
630 #
631 #-#-#-#-#-#-#-#-#-#-  CUSTOM TITLE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#
632 #  name              - The username used to identify 
633 #  password          - The password used to identify
634 #  hash              - The hash for the specific user's password (optional)
635 #                      m_password_hash.so and a hashing module must be loaded for this to work
636 #  host              - Allowed hostmask [optional]
637 #  title             - Title shown in whois
638 #  vhost             - Displayed host [optional]
639 #
640 #<title name="foo" password="bar" title="Official Chat Helper">
641 #<title name="bar" password="foo" host="ident@host.name" title="Official Chat Helper" vhost="helper.network.chat">
642 #<title name="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" title="Official Chat Helper">
643
644 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
645 # DCCALLOW module: Adds the /DCCALLOW command
646 #<module name="m_dccallow.so">
647 #
648 #-#-#-#-#-#-#-#-#-#-#-  DCCALLOW CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
649 #  blockchat         - Whether to block DCC CHAT as well as DCC SEND
650 #  length            - Default duration of entries in DCCALLOW list
651 #  action            - Default action to take if no action is specified
652 #                      can be 'block' or 'allow'
653 #
654 # File configuration:
655 #  pattern           - The glob pattern to match against
656 #  action            - Action to take if a user attempts to send a file
657 #                      that matches this pattern, can be 'block' or 'allow'
658 #
659 #<dccallow blockchat="yes" length="5m" action="block">
660 #<banfile pattern="*.exe" action="block">
661 #<banfile pattern="*.txt" action="allow">
662 #
663 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
664
665 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
666 # Deaf module: adds support for ircu style usermode +d - deaf to
667 # channel messages and channel notices.
668 #<module name="m_deaf.so">
669
670 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
671 # Delay join module: Adds the channel mode +D which delays all JOIN
672 # messages from users until they speak. If they quit or part before
673 # speaking, their quit or part message will not be shown to the channel
674 # which helps cut down noise on large channels in a more friendly way
675 # than the auditorium mode. Only channel ops may set the +D mode.
676 #<module name="m_delayjoin.so">
677
678 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
679 # Delay message module: Adds the channel mode +d which disallows a user
680 # from talking in the channel unless they've been joined for X seconds.
681 # Settable a la: /mode +d 30
682 #<module name="m_delaymsg.so">
683
684 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
685 # Deny Channels: Deny Channels from being used by users
686 #<module name="m_denychans.so"> 
687 #
688 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
689 #                                                                     #
690 # If you have the m_denychans.so module loaded, you need to specify   #
691 # the channels to deny:                                               #
692 #                                                                     #
693 # name        -      The channel name to deny. (glob masks are ok)    #
694 #                                                                     #
695 # allowopers  -      If operators are allowed to override the deny.   #
696 #                                                                     #
697 # reason      -      Reason given for the deny.                       #
698 #                                                                     #
699 # redirect    -      Redirect the user to a different channel         #
700 #                                                                     #
701 #<badchan name="#gods*" allowopers="yes" reason="Tortoises!">         #
702 #<badchan name="#heaven" redirect="#hell" reason="Nice try!">         #
703 #                                                                     #
704 # Redirects will not work if the target channel is set +L.            #
705 #                                                                     #
706 # Additionally, you may specify channels which are allowed, even if   #
707 # a badchan tag specifies it would be denied:                         #
708 #<goodchan name="#godsleeps">                                         #
709 # Glob masks are accepted here also.
710
711 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
712 # Devoice Module: Let users devoice themselves.
713 #<module name="m_devoice.so">
714
715 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
716 # DNS Blacklist Module: Provides support for looking up IPs on one or #
717 # more blacklists.                                                    #
718 #<module name="m_dnsbl.so">                                           #
719 #                                                                     #
720 # For configuration options please see the wiki page for m_dnsbl at   #
721 # http://wiki.inspircd.org/Modules/dnsbl                              #
722
723 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
724 # Exempt Channel Operators Module: Provides support for allowing      #
725 # channel operators to be exempt from some channel modes.  Supported  #
726 # modes are blockcaps, noctcp, blockcolor, nickflood, flood, censor,  #
727 # filter, regmoderated, nonick, nonotice, and stripcolor.             #
728 #<module name="m_exemptchanops.so">                                   #
729
730 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
731 # Filter module: Provides message filtering, similar to SPAMFILTER.
732 #<module name="m_filter.so">
733 #                                                                     #
734 # This module depends upon a regex provider such as m_regex_pcre or   #
735 # m_regex_glob to function. You must specify which of these you want  #
736 # m_filter to use via the tag below.                                  #
737 #                                                                     #
738 # Valid engines are:                                                  #
739 #                                                                     #
740 # glob  - Glob patterns, provided via m_regex_glob.so                 #
741 # pcre  - PCRE regexps, provided via m_regex_pcre.so, needs libpcre   #
742 # tre   - TRE regexps, provided via m_regex_tre.so, requires libtre   #
743 # posix - POSIX regexps, provided via m_regex_posix.so, not availale  #
744 #         on windows, no dependencies on other operating systems.     #
745 #                                                                     #
746 #<filteropts engine="glob">                                           #
747 #                                                                     #
748 # Your choice of regex engine must match on all servers network-wide.
749 #
750 # You may specify specific channels that are exempt from being filtered:
751 #<exemptfromfilter channel="#blah">
752 #
753 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
754 #                                                                     #
755 # Optional - If you specify to use the m_filter module, then          #
756 # specfiy below the path to the filter.conf file, or define some      #
757 # <filter> tags.                                                      #
758 #                                                                     #
759 #<include file="conf/examples/filter.conf.example">
760
761 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
762 # Gecosban: Implements extended ban r:, which stops anyone matching
763 # a mask like +b r:*realname?here* from joining a channel.
764 #<module name="m_gecosban.so">
765
766 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
767 # GeoIP module: Allows the server admin to match users by country code.
768 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_geoip.cpp
769 # and run make install, then uncomment this module to enable it.
770 # This module requires GeoIP to be installed on your system,
771 # use your package manager to find the appropriate packages
772 # or check the InspIRCd wiki page for this module.
773 #<module name="m_geoip.so">
774 #
775 # The actual allow/ban actions are done by connect classes, not by the
776 # GeoIP module. An example connect class to ban people from russia or
777 # turkey:
778 #
779 # <connect deny="*" geoip="TR,RU">
780 #
781 # The country code must be in capitals and should be an ISO country
782 # code such as TR, GB, or US. Unknown IPs (localhost, LAN IPs, etc)
783 # will be assigned the country code "UNK". Since connect classes are
784 # matched from top down, your deny classes must be above your allow
785 # classes for them to match.
786
787 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
788 # Globops module: gives /GLOBOPS and SNOMASK +g
789 # This module is oper-only.
790 # To use, GLOBOPS must be in one of your oper class blocks.
791 #<module name="m_globops.so">
792
793 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
794 # Global load module: Allows loading and unloading of modules network-
795 # wide (USE WITH EXTREME CAUTION!)
796 # This module is oper-only and provides /gloadmodule, /gunloadmodule
797 # and /greloadmodule.
798 # To use, GLOADMODULE, GUNLOADMODULE and GRELOADMODULE
799 # must be in one of your oper class blocks.
800 #<module name="m_globalload.so">
801
802 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
803 # HELPOP module: Provides the /HELPOP command
804 #<module name="m_helpop.so">
805 #
806 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
807 #                                                                     #
808 # Optional - If you specify to use the m_helpop.so module, then       #
809 # specify below the path to the helpop.conf file, or if you like to   #
810 # make a mess, define your helpop tags in this conf.                  #
811 #                                                                     #
812 #<include file="conf/examples/inspircd.helpop-full.example">
813
814 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
815 # HIDECHANS module: Allows opers to hide their channels list from non-
816 # opers by setting user mode +I on themselves.
817 #<module name="m_hidechans.so">
818 #
819 # HIDECHANS can optionally prevent opers from seeing channels on a +I
820 # user, for more privacy if set to true.
821 # This setting is not recommended for most mainstream networks.
822 #<hidechans affectsopers="false">
823
824 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
825 # HIDEOPER module: Allows opers to hide their oper status from non-
826 # opers by setting user mode +H on themselves.
827 # This module is oper-only.
828 #<module name="m_hideoper.so">
829
830 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
831 # Hostchange module: Allows a different style of cloaking
832 #<module name="m_hostchange.so">
833 #
834 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
835 #                                                                     #
836 # Optional - If you choose to use the m_hostchange.so module.         #
837 # Config Help -  See http://wiki.inspircd.org/Modules/hostchange      #
838 #                                                                     #
839 #<host suffix="polarbears.org" separator="." prefix="">
840 #<hostchange mask="*@fbi.gov" action="addnick">
841 #<hostchange mask="*r00t@*" action="suffix">
842 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
843 #<hostchange mask="localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
844
845 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
846 # httpd module: Provides http server support for InspIRCd
847 #<module name="m_httpd.so">
848 #
849 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
850 #
851 # If you choose to use the m_httpd.so module, then you will need to add
852 # a <bind> tag with type "httpd", and load at least one of the other
853 # m_httpd_* modules to provide pages to display.
854 #
855
856 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
857 # http ACL module: Provides access control lists for m_httpd dependent
858 # modules. Use this module to restrict pages by IP address and by
859 # password.
860 #
861 #<module name="m_httpd_acl.so">
862 #
863 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD ACL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
864 #
865 # Restrict access to the m_httpd_stats module to all but the local
866 # network and when the correct password is specified:
867 #
868 # <httpdacl path="/stats*" types="password,whitelist"
869 #    username="secretstuff" password="mypasshere" whitelist="127.0.0.*,10.*">
870
871 # Deny all connections to all but the main index page:
872 #
873 # <httpdacl path="/*" types="blacklist" blacklist="*">
874 #
875
876 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
877 # http config module: Allows the server's configuration to be viewed
878 # over HTTP. Requires m_httpd.so to be loaded for it to function.
879 #<module name="m_httpd_config.so">
880
881 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
882 # http stats module: Provides basic stats pages over HTTP
883 # Requires m_httpd.so to be loaded for it to function.
884 #<module name="m_httpd_stats.so">
885
886 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
887 # Ident: Provides RFC 1413 ident lookup support
888 # When this module is loaded <connect:allow> tags may have an optional
889 # useident="yes|no" boolean value, determining whether or not to lookup
890 # ident on users matching that connect tag.
891 #<module name="m_ident.so">
892 #
893 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
894 #                                                                     #
895 # Optional - If you are using the m_ident.so module, then you can     #
896 # specify the timeout for ident lookups here. If not defined, it will #
897 # default to one second. This is a non-blocking timeout which holds   #
898 # the user in a 'connecting' state until the lookup is complete.      #
899 # The bind value indicates which IP to bind outbound requests to.     #
900 #                                                                     #
901 #<ident timeout="5">
902
903 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
904 # Invite except module: Adds support for channel invite exceptions (+I)
905 #<module name="m_inviteexception.so">
906 # Does a +I bypass channel +k in addition to +i?
907 #<inviteexception bypasskey="yes">
908
909 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
910 # IRCv3 module: Provides the following IRCv3.1 extensions:
911 # extended-join, away-notify and account-notify. These are optional
912 # enhancements to the client-to-server protocol. An extension is only
913 # active for a client when the client specifically requests it, so this
914 # module needs m_cap to work.
915
916 # Further information on these extensions can be found at the IRCv3
917 # working group website:
918 # http://ircv3.atheme.org/extensions/
919 #
920 #<module name="m_ircv3.so">
921 # The following block can be used to control which extensions are
922 # enabled.
923 #<ircv3 accoutnotify="on" awaynotify="on" extendedjoin="on">
924
925 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
926 # Join flood module: Adds support for join flood protection (+j)
927 #<module name="m_joinflood.so">
928
929 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
930 # Jump Server module: Adds support for the RPL_REDIR numeric
931 # This module is oper-only.
932 # To use, JUMPSERVER must be in one of your oper class blocks.
933 # If your server is redirecting new clients and you get disconnected,
934 # do a REHASH from shell to open up again.
935 #<module name="m_jumpserver.so">
936
937 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
938 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
939 #<module name="m_kicknorejoin.so">
940
941 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
942 # Knock module: adds the /KNOCK command and +K channel mode
943 #<module name="m_knock.so">
944 # This setting specifes what to do when someone successfully /KNOCKs.
945 # If set to "notice", then a NOTICE will be sent to the channel.
946 # This is the default and the compatible setting, as it requires no
947 # special support from the clients.
948 # If set to "numeric" then a 710 numeric will be sent to the channel.
949 # This allows easier scripting but not all clients support it.
950 # If set to "both" then (surprise!) both will be sent.
951 #<knock notify="notice">
952
953 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
954 # LDAP authentication module: Adds the ability to authenticate users  #
955 # via LDAP. This is an extra module which must be enabled explicitly  #
956 # by symlinking it from modules/extra, and requires the OpenLDAP libs #
957 # This modules is in extras. To enable it, Re-run configure with:     #
958 # ./configure --enable-extras=m_ldapauth.cpp                          #
959 # and run make install, then uncomment this module.                   #
960 #                                                                     #
961 #<module name="m_ldapauth.so">                                        #
962 #                                                                     #
963 # Configuration:                                                      #
964 #                                                                     #
965 # <ldapauth baserdn="ou=People,dc=brainbox,dc=cc"                     #
966 #           attribute="uid"                                           #
967 #           server="ldap://brainwave.brainbox.cc"                     #
968 #           allowpattern="Guest*"                                     #
969 #           killreason="Access denied"                                #
970 #           searchscope="subtree"                                     #
971 #           binddn="cn=Manager,dc=brainbox,dc=cc"                     #
972 #           bindauth="mysecretpass"                                   #
973 #           verbose="yes"                                             #
974 #           host="$uid.$ou.inspircd.org">                             #
975 #                                                                     #
976 # <ldapwhitelist cidr="10.42.0.0/16">                                 #
977 #                                                                     #
978 # <ldaprequire attribute="attr" value="val">                          #
979 #                                                                     #
980 # The baserdn indicates the base DN to search in for users. Usually   #
981 # this is 'ou=People,dc=yourdomain,dc=yourtld'.                       #
982 #                                                                     #
983 # The attribute value indicates the attribute which is used to locate #
984 # a user account by name. On POSIX systems this is usually 'uid'.     #
985 #                                                                     #
986 # The server parameter indicates the LDAP server to connect to. The   #
987 # ldap:// style scheme before the hostname proper is MANDITORY.       #
988 #                                                                     #
989 # The allowpattern value allows you to specify a wildcard mask which  #
990 # will always be allowed to connect regardless of if they have an     #
991 # account, for example guest users.                                   #
992 #                                                                     #
993 # Killreason indicates the QUIT reason to give to users if they fail  #
994 # to authenticate.                                                    #
995 #                                                                     #
996 # The searchscope value indicates the subtree to search under. On our #
997 # test system this is 'subtree'. Your mileage may vary.               #
998 #                                                                     #
999 # Setting the verbose value causes an oper notice to be sent out for  #
1000 # every failed authentication to the server, with an error string.    #
1001 #                                                                     #
1002 # The binddn and bindauth indicate the DN to bind to for searching,   #
1003 # and the password for the distinguished name. Some LDAP servers will #
1004 # allow anonymous searching in which case these two values do not     #
1005 # need defining, otherwise they should be set similar to the examples #
1006 # above.                                                              #
1007 #                                                                     #
1008 # ldapwhitelist indicates that clients connecting from an IP in the   #
1009 # provided CIDR do not need to authenticate against LDAP. It can be   #
1010 # repeated to whitelist multiple CIDRs.                               #
1011 #                                                                     #
1012 # ldaprequire allows further filtering on the LDAP user, by requiring #
1013 # certain LDAP attibutes to have a given value. It can be repeated,   #
1014 # in which case the list will act as an OR list, that is, the         #
1015 # authentication will succeed if any of the requirements in the list  #
1016 # is satisfied.                                                       #
1017 #                                                                     #
1018 # host allows you to change the displayed host of users connecting    #
1019 # from ldap. The string supplied takes formatters which are replaced  #
1020 # from the DN. For instance, if your DN looks like:                   #
1021 # uid=w00t,ou=people,dc=inspircd,dc=org, then the formatters uid, ou  #
1022 # and dc will be available to you. If a key is given multiple times   #
1023 # in the DN, the last appearance will take precedence.                #
1024
1025 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1026 # LDAP oper configuration module: Adds the ability to authenticate    #
1027 # opers via LDAP. This is an extra module which must be enabled       #
1028 # explicitly by symlinking it from modules/extra, and requires the    #
1029 # OpenLDAP libs. Re-run configure with: ./configure --enable-extras=m_ldapoper.cpp
1030 # and run make install, then uncomment this module to enable it.      #
1031 #                                                                     #
1032 #<module name="m_ldapoper.so">
1033 #                                                                     #
1034 # Configuration:                                                      #
1035 #                                                                     #
1036 # <ldapoper baserdn="ou=People,dc=brainbox,dc=cc"
1037 #           server="ldap://brainwave.brainbox.cc"
1038 #           searchscope="subtree"
1039 #           binddn="cn=Manager,dc=brainbox,dc=cc"
1040 #           bindauth="mysecretpass"
1041 #           attribute="uid">
1042 #                                                                     #
1043 # Available configuration items are identical to the same items in    #
1044 # m_ldapauth above (except for the verbose setting, that is only      #
1045 # supported in m_ldapauth).                                           #
1046 # Please always specify a password in your <oper> tags even if the    #
1047 # opers are to be authenticated via LDAP, so in case this module is   #
1048 # not loaded the oper accounts are still protected by a password.     #
1049
1050 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1051 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that is #
1052 # used to temporarily close/open for new connections to the server.   #
1053 # These commands require OPER status and that the LOCKSERV UNLOCKSERV #
1054 # are specified in a <class> tag that the oper is part of. This is so #
1055 # you can control who has access to this possible dangerous command.  #
1056 # If your server is locked and you get disconnected, do a REHASH from #
1057 # shell to open up again.
1058 #
1059 # This module is oper-only.
1060 #
1061 #<module name="m_lockserv.so">
1062
1063 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1064 # Map hiding module: replaces /MAP and /LINKS output to users with a  #
1065 # message to see a website, set by maphide="http://link.to/site" in   #
1066 # the security tag, instead.                                          #
1067 #<module name="m_maphide.so">
1068
1069 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1070 # Msg flood module: Adds message/notice flood protection (+f)
1071 #<module name="m_messageflood.so">
1072
1073 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1074 # MLOCK module: Adds support for server-side enforcement of services
1075 # side MLOCKs.  Basically, this module suppresses any mode change that
1076 # would likely be immediately bounced by services.
1077 #<module name="m_mlock.so">
1078
1079 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1080 # MsSQL module: Allows other SQL modules to access MS SQL Server 
1081 # through a unified API.
1082 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_mssql.cpp
1083 # and run make install, then uncomment this module to enable it.
1084 #
1085 #<module name="m_mssql.so">
1086 #
1087 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1088 #                                                                     #
1089 # m_mssql.so is more complex than described here, see wiki for more   #
1090 # info http://wiki.inspircd.org/Modules/mssql                         #
1091 #
1092 #<database module="mssql" name="db" user="user" pass="pass" host="localhost" id="db1">
1093
1094 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1095 # MySQL module: Allows other SQL modules to access MySQL databases
1096 # through a unified API.
1097 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_mysql.cpp
1098 # and run make install, then uncomment this module to enable it.
1099 #
1100 #<module name="m_mysql.so">
1101 #
1102 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1103 #                                                                     #
1104 # m_mysql.so is more complex than described here, see the wiki for    #
1105 # more: http://wiki.inspircd.org/Modules/mysql                        #
1106 #
1107 #<database module="mysql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database2">
1108
1109 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1110 # Named Modes module: This module allows for the display and set/unset
1111 # of channel settings and modes via long-form mode names in channels with
1112 # channelmode +Z set. For example, to set a channelban with named modes:
1113 # /mode #channel +Z ban=foo!bar@baz . Currently this doesn't serve much
1114 # purpose outside of making channel administration a bit easier in some
1115 # cases, but eventually modules will start using named modes only because
1116 # we're running out of channelmodes. :D
1117 #<module name="m_namedmodes.so">
1118
1119 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1120 # NAMESX module: Provides support for the NAMESX extension which allows
1121 # clients to see all the prefixes set on a user without getting confused.
1122 # This is supported by mIRC, x-chat, klient, and maybe more.
1123 #<module name="m_namesx.so">
1124
1125 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1126 # National characters module:
1127 # 1) Allows using national characters in nicknames.
1128 # 2) Allows using custom (national) casemapping over the network.
1129 # file -- filename of existing file in "locales" directory
1130 # casemapping -- custom value for 005 numeric (if you want it to be
1131 # different from the filename.
1132 #
1133 #<nationalchars file="bynets/russian-w1251-charlink" casemapping="ru_RU.cp1251-charlink">
1134 #<module name="m_nationalchars.so">
1135
1136 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1137 # Nickchange flood protection module: Allows up to X nick changes in Y seconds.
1138 # Provides channel mode +F.
1139 #<module name="m_nickflood.so">
1140
1141 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1142 # Nicklock module: Let opers change a user's nick and then stop that
1143 # user from changing their nick again.
1144 # This module is oper-only.
1145 # To use, NICKLOCK and NICKUNLOCK must be in one of your oper class blocks.
1146 #<module name="m_nicklock.so">
1147
1148 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1149 # No ctcp module: Adds the channel mode +C to block CTCPs and extban C
1150 # to block CTCPs sent by specific users.
1151 #<module name="m_noctcp.so">
1152
1153 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1154 # No kicks module: Adds the +Q channel mode and the Q: extban to deny
1155 # certain users from kicking.
1156 #<module name="m_nokicks.so">
1157
1158 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1159 # No nicks module: Adds the +N channel mode, as well as the +b N:
1160 # extended bantype. +N stops all users from changing their nick,
1161 # the +b N: extban stops anyone from matching a +b N:nick!user@host
1162 # mask from changing their nick.
1163 #<module name="m_nonicks.so">
1164
1165 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1166 # No part message module: adds extban 'p' to block part messages from #
1167 # matching users.                                                     #
1168 #<module name="m_nopartmsg.so">
1169
1170 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1171 # No Notice module: adds the channel mode +T and the extban T to block
1172 # specific users from noticing the channel.
1173 #<module name="m_nonotice.so">
1174
1175 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1176 # Network buisness join module
1177 # Allows an oper to join a channel using /OJOIN, giving them +Y on the
1178 # channel which makes them immune to kick/deop/etc.
1179 #<module name="m_ojoin.so">
1180 #
1181 #<ojoin prefix="!" notice="yes" op="yes">
1182 # Specify the prefix that +Y will grant here
1183 # Leave prefix empty if you do not wish +Y to grant a prefix
1184 # If notice is set to on, upon ojoin, the server will notice
1185 # the channel saying that the oper is joining on network business
1186 # If op is set to on, it will give them +o along with +Y
1187
1188
1189 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1190 # Oper channels mode: Adds the +O channel mode and +beI type O:<mask>
1191 # to ban, exempt, and invex given oper type masks.
1192 # e.g, /mode #channel +iI O:* is equivilant to chmode +O, but you
1193 # may also, e.g. /mode #channel +iI O:AdminTypeOnly to only allow admins.
1194 # +be work in a similar fashion.
1195 #
1196 #<module name="m_operchans.so">
1197
1198 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1199 # Oper Join module: Auto-joins opers to a channel upon oper-up
1200 # This module is oper-only. For the user equivalent, see m_conn_join.
1201 #<module name="m_operjoin.so">
1202 #
1203 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1204 #                                                                     #
1205 # If you are using the m_operjoin.so module, specify options here:    #
1206 #                                                                     #
1207 # channel     -      The channel name to join, can also be a comma    #
1208 #                    seperated list eg. "#channel1,#channel2".        #
1209 #                                                                     #
1210 # override    -      Lets the oper join walking thru any modes that   #
1211 #                    might be set, even bans. Use "yes" or "no".      #
1212 #                                                                     #
1213 #<operjoin channel="#channel" override="no">
1214 #
1215 # Alternatively you can use the autojoin="channellist" in a <type>    #
1216 # tag to set specific autojoins for a type of oper, for example:      #
1217 #
1218 #<type name="Helper" autojoin="#help" classes="...">
1219
1220 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1221 # Oper log module: Logs all oper commands to the ircd log at default
1222 # loglevel, and optionally to the 'r' SNOMASK.
1223 # This module is oper-only.
1224 #<module name="m_operlog.so">
1225 #
1226 # If the following option is on then all oper commands will be sent to
1227 # the snomask 'r'. The default is off.
1228 #<operlog tosnomask="off">
1229
1230 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1231 # Oper prefixing module: Gives IRC operators a prefix status character
1232 # on all channels they are in.
1233 #
1234 #<module name="m_operprefix.so">
1235 #
1236 # You may additionally customise the prefix character.
1237 #<operprefix prefix="!">
1238
1239 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1240 # Oper MOTD module: Provides support for seperate message of the day
1241 # on oper-up
1242 # This module is oper-only.
1243 #<module name="m_opermotd.so">
1244 #
1245 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1246 #                                                                     #
1247 # If you are using the m_opermotd.so module, specify the motd here    #
1248 #                                                                     #
1249 # onoper        - Should the message be sent on /OPER or only when    #
1250 #                 /OPERMOTD is used. Use "yes" or "no".               #
1251 #                                                                     #
1252 # processcolors - Allow color codes to be processed in the opermotd.  #
1253 #                 Read the comment above <connect:allowmotdcolors> in #
1254 #                 inspircd.conf.example for details.                  #
1255 #                                                                     #
1256 #<opermotd file="conf/examples/opermotd.txt.example" onoper="yes" processcolors="false">
1257
1258 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1259 # Override module: Adds support for oper override
1260 # This module is oper-only.
1261 #<module name="m_override.so">
1262 #
1263 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1264 #                                                                     #
1265 # m_override.so is too complex it describe here, see the wiki:        #
1266 # http://wiki.inspircd.org/Modules/override                           #
1267
1268 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1269 # Oper levels module: Gives each oper a level and prevents
1270 # actions being taken against higher level opers
1271 # Specify the level as the 'level' parameter of the <type> tag
1272 # # This module is oper-only.
1273 #<module name="m_operlevels.so">
1274
1275 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1276 # Oper modes module: Allows you to specify modes to add/remove on oper
1277 # Specify the modes as the 'modes' parameter of the <type> tag
1278 # and/or as the 'modes' parameter of the <oper> tag.
1279 # This module is oper-only. For the user equivalent, see m_conn_umodes
1280 #<module name="m_opermodes.so">
1281
1282 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1283 # Password forwarding module: Forwards a password users can send on connect
1284 # to the specified client below. The client is usually nickserv and this
1285 # module is usually used to authenticate users with nickserv using their
1286 # connect password.
1287 #<module name="m_passforward.so">
1288
1289 <passforward
1290                 # nick: nick to forward connect passwords to.
1291                 nick="NickServ"
1292
1293                 # forwardmsg: Message to send to users using a connect password.
1294                 # $nick will be the users' nick, $nickrequired will be the nick
1295                 # of where the password is going (the nick above).
1296                 # You can also use $user for the user ident string.
1297                 forwardmsg="NOTICE $nick :*** Forwarding PASS to $nickrequired"
1298
1299                 # cmd: Command for the nick to run when it recieves a connect
1300                 # password. 
1301                 cmd="PRIVMSG $nickrequired :IDENTIFY $pass">
1302
1303 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1304 # Password hash module: Allows hashed passwords to be used.
1305 # To be useful, a hashing module like m_sha256.so also needs to be loaded.
1306
1307 #<module name="m_password_hash.so">
1308 #
1309 #-#-#-#-#-#-#-#-#-# PASSWORD HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#
1310 #
1311 # To use this module, you must define a hash type for each oper's
1312 # password you want to hash. For example:
1313 #
1314 #     <oper name="Brain"
1315 #           host="ident@dialup15.isp.com"
1316 #           hash="sha256"
1317 #           password="01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
1318 #           type="NetAdmin">
1319
1320 # Starting from 2.0, you can use a more secure salted hash that prevents simply
1321 # looking up the hash's value in a rainbow table built for the hash.
1322 #    hash="hmac-sha256" password="lkS1Nbtp$CyLd/WPQXizsbxFUTqFRoMvaC+zhOULEeZaQkUJj+Gg"
1323 #
1324 # Generate hashes using the /MKPASSWD command on the server. Don't run it on a
1325 # server you don't trust with your password.
1326
1327 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1328 # Permanent Channels module: Channels with the permanent channels mode
1329 # will remain open even after everyone else has left the channel, and
1330 # therefore keep things like modes, ban lists and topic. Permanent
1331 # channels -may- need support from your Services package to function
1332 # properly with them. This adds channel mode +P.
1333 # This module is oper-only.
1334 #<module name="m_permchannels.so">
1335 #
1336 # If you like, m_permchannels can write a config file of permanent channels
1337 # whenever +P is set, unset, or the topic/modes on a +P channel is changed.
1338 # If you want to do this, set the filename below, and uncomment the include.
1339 #
1340 #<permchanneldb filename="data/permchannels.conf">
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="randquotes.conf">
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 POSIX Regular Expressions.
1410 # You shouldn't need any additional libraries on a POSIX-compatible
1411 # system (ie: any Linux, BSD, but not Windows). You must have at least
1412 # 1 provider loaded to use m_filter or m_rline.
1413 # On POSIX-compliant systems, regex syntax can be found by using the
1414 # command: 'man 7 regex'.
1415 #<module name="m_regex_posix.so">
1416
1417 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1418 # Regular Expression Provider for C++11 std::regex Regular Expressions.
1419 # This module works on any fully compliant implementation of the C++11
1420 # std::regex container. Examples for such are Visual C++ 2010 and newer
1421 # but not libstdc++ (which GCC uses)
1422 # You should verify that std::regex is supported by your setup before
1423 # using this module, as it may compile normally but won't do anything
1424 # on some implementations.
1425 #<module name="m_regex_stdlib.so">
1426
1427 # Specify the Regular Expression engine to use here. Valid settings are
1428 # bre, ere, awk, grep, egrep, ecmascript (default if not specified)
1429 #<stdregex type="ecmascript">
1430
1431 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1432 # Regular Expression Provider for TRE Regular Expressions.
1433 # This is the same regular expression engine used by UnrealIRCd, so
1434 # if you are most familiar with the syntax of /spamfilter from there,
1435 # this is the provider you want. You need libtre installed in order
1436 # to compile and load this module.
1437 #<module name="m_regex_tre.so">
1438
1439 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1440 # Registered users only channel creation
1441 # Allows only registered users and opers to create new channels.
1442 #
1443 # You probably *DO NOT* want to load this module on a public network.
1444 #
1445 #<module name="m_regonlycreate.so">
1446
1447 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1448 # Remove module: Adds the /REMOVE command which is a peaceful
1449 # alternative to /KICK
1450 #<module name="m_remove.so">
1451
1452 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1453 # Restricted channels module: Allows only opers to create channels.
1454 #
1455 # You probably *DO NOT* want to load this module on a public network.
1456 #
1457 #<module name="m_restrictchans.so">
1458
1459 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1460 # Restrict message module: Allows users to only message opers.
1461 #
1462 # You probably *DO NOT* want to load this module on a public network.
1463 #
1464 #<module name="m_restrictmsg.so">
1465
1466 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1467 # Ban users through regular expression patterns
1468 #<module name="m_rline.so">
1469 #
1470 #-#-#-#-#-#-#-#-#-#-#-#- RLINE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1471 #
1472 # If you wish to re-check a user when they change nickname (can be
1473 # useful under some situations, but *can* also use CPU with more users
1474 # on a server) then set the following configuration value:
1475 # Also, this is where you set what Regular Expression engine is to be
1476 # used. If you ever change it while running, all of your R-Lines will be
1477 # wiped. This is the regex engine used by all R-Lines set, and
1478 # m_regex_<engine>.so must be loaded, or rline will be nonfunctional
1479 # until you load it or change the engine to one that is loaded.
1480 #
1481 #<rline matchonnickchange="yes" engine="pcre">
1482 #
1483 # Generally, you will NOT want to use 'glob' here, as this turns
1484 # rline into just another gline. The exceptions are that rline will
1485 # always use the full nick!user@host realname string, rather than only
1486 # user@host, but beware that only the ? and * wildcards are available,
1487 # and are the only way to specify where the space can occur if you do
1488 # use glob. For this reason, is recommended to use a real regex engine
1489 # so that at least \s or [[:space:]] is available.
1490
1491 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1492 # SAJOIN module: Adds the /SAJOIN command
1493 # This module is oper-only.
1494 # To use, SAJOIN must be in one of your oper class blocks.
1495 #<module name="m_sajoin.so">
1496
1497 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1498 # SAKICK module: Adds the /SAKICK command
1499 # This module is oper-only.
1500 # To use, SAKICK must be in one of your oper class blocks.
1501 #<module name="m_sakick.so">
1502
1503 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1504 # SAMODE module: Adds the oper /SAMODE command
1505 # This module is oper-only.
1506 # To use, SAMODE must be in one of your oper class blocks.
1507 #<module name="m_samode.so">
1508
1509 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1510 # SANICK module: Allows opers to change user's nicks
1511 # This module is oper-only.
1512 # To use, SANICK must be in one of your oper class blocks.
1513 #<module name="m_sanick.so">
1514
1515 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1516 # SAPART module: Adds the oper /SAPART command
1517 # This module is oper-only.
1518 # To use, SAPART must be in one of your oper class blocks.
1519 #<module name="m_sapart.so">
1520
1521 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1522 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1523 # This module is oper-only.
1524 # To use, SAQUIT must be in one of your oper class blocks.
1525 #<module name="m_saquit.so">
1526
1527 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1528 # SATOPIC module: Adds the oper /SATOPIC command
1529 # This module is oper-only.
1530 # To use, SATOPIC must be in one of your oper class blocks.
1531 #<module name="m_satopic.so">
1532
1533 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1534 # SASL authentication module: Provides support for IRC Authentication 
1535 # Layer (aka: atheme SASL) via AUTHENTICATE.
1536 #<module name="m_sasl.so">
1537
1538 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1539 # Secure list module: Prevent /LIST in the first minute of connection,
1540 # crippling most spambots and trojan spreader bots.
1541 #<module name="m_securelist.so">
1542 #
1543 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1544 #                                                                     #
1545 # Securelist can be harmful to some irc search engines such as        #
1546 # netsplit.de and searchirc.com. To prevent securelist blocking these #
1547 # sites from listing, define exception tags as shown below:           #
1548 <securehost exception="*@*.searchirc.org">
1549 <securehost exception="*@*.netsplit.de">
1550 <securehost exception="*@echo940.server4you.de">
1551 <securehost exception="*@*.ircdriven.com">
1552 #                                                                     #
1553 # Define the following variable to change how long a user must wait   #
1554 # before issuing a LIST. If not defined, defaults to 60 seconds.      #
1555 #                                                                     #
1556 #<securelist waittime="60">                                           #
1557
1558 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1559 # Servprotect module: Provides support for Austhex style +k /
1560 # UnrealIRCD +S services mode
1561 #<module name="m_servprotect.so">
1562
1563 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1564 # See nicks module: Allow for SNOMASK +N which shows nick changes.
1565 # This module is oper-only.
1566 #<module name="m_seenicks.so">
1567
1568 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1569 # Set Idle module: Adds a command for opers to change their
1570 # idle time (mainly a toy)
1571 # This module is oper-only.
1572 # To use, SETIDLE must be in one of your oper class blocks.
1573 #<module name="m_setidle.so">
1574
1575 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1576 # Services support module: Adds several usermodes such as +R and +M
1577 # this module implements the 'identified' state via account names (AC)
1578 # and is similar in operation to the way asuka and ircu handle services.
1579 #
1580 # At the same time, this offers +r for users and channels to mark them
1581 # as identified seperately from the idea of a master account, which
1582 # can be useful for services which are heavily nick-as-account centric.
1583 #
1584 # This replaces m_services from 1.1 and earlier.
1585 #
1586 # Also of note is that this module implements three extbans:
1587 # +b R: (stop matching account names from joining)
1588 # +b M: (stop matching account names from speaking)
1589 # +b U:n!u@h (blocks matching unregistered users)
1590 #                                                                       
1591 #<module name="m_services_account.so">
1592
1593 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1594 # Sethost module: Adds the /SETHOST command
1595 # This module is oper-only.
1596 # To use, SETHOST must be in one of your oper class blocks.
1597 # See m_chghost for how to customise valid chars for hostnames
1598 #<module name="m_sethost.so">
1599
1600 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1601 # Setident module: Adds the /SETIDENT command
1602 # This module is oper-only.
1603 # To use, SETIDENT must be in one of your oper class blocks.
1604 #<module name="m_setident.so">
1605
1606 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1607 # SETNAME module: Adds the /SETNAME command
1608 # This module is oper-only.
1609 # To use, SETNAME must be in one of your oper class blocks.
1610 #<module name="m_setname.so">
1611
1612 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1613 # Serverban: Implements extended ban s:, which stops anyone connected
1614 # to a server matching a mask like +b s:server.mask.here from joining.
1615 #<module name="m_serverban.so">
1616
1617 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1618 # Show Whois module: Adds the +W usermode which allows opers
1619 # to see when they are whois'ed (can be annoying).
1620 # This module is oper-only.
1621 #<module name="m_showwhois.so">
1622 #
1623 # If you wish, you may also let users set this mode. Only opers with the
1624 # users/auspex priv will see real hosts of people, though. This setting
1625 # is not reloadable via /rehash, and will require /reloadmodule, as
1626 # it directly affects the mode object itself.
1627 #<showwhois opersonly="yes"
1628 #
1629 # You may also set whether or not users should recieve whois notices, should
1630 # they be /whois'd by an oper.
1631 # showfromopers="yes">
1632
1633 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1634 # Shun module: Provides the /SHUN command, which stops a user from
1635 # executing all except configured commands.
1636 # This module is oper-only.
1637 # To use, SHUN must be in one of your oper class blocks.
1638 #<module name="m_shun.so">
1639 #
1640 # You may also configure which commands you wish a user to be able to
1641 # perform. It should be noted that if a shunned user issues QUIT or PART
1642 # then their message will be removed, as if they did not issue one.
1643 #
1644 # You can (optionally) let the user know that their command was blocked.
1645 #
1646 # You may also let SHUN affect opers (defaults to no).
1647 #<shun enabledcommands="PING PONG QUIT PART JOIN" notifyuser="yes" affectopers="no">
1648
1649 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1650 # SSL channel mode module: Adds support for SSL-only channels (+z).
1651 # does not do anything useful without a working SSL module (see below)
1652 #<module name="m_sslmodes.so">
1653
1654 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1655 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1656 # if enabled. You must copy the source for this module from the directory
1657 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1658 # want to enable this, or it will not load.
1659 #<module name="m_ssl_gnutls.so">
1660 #
1661 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1662 #                                                                     #
1663 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
1664 # http://wiki.inspircd.org/Modules/ssl_gnutls                         #
1665 #                                                                     #
1666 # NOTE: If you want to use this module to encrypt and sign your       #
1667 # server to server traffic, you MUST load it before m_spanningtree in #
1668 # your configuration file!                                            #
1669
1670 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1671 # SSL Info module: Allows users to retrieve information about other
1672 # user's peer SSL certificates and keys. This can be used by client
1673 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
1674 # or m_ssl_openssl.so must be loaded. This module also adds the 
1675 # "* <user> is using a secure connection" whois line, the ability for
1676 # opers to use SSL fingerprints to verify their identity and the ability
1677 # to force opers to use SSL connections in order to oper up.
1678 # It is highly recommended to load this module especially if
1679 # you use SSL on your network.
1680 # For how to use the oper features, please see the first example <oper> tag
1681 # in opers.conf.example.
1682 #
1683 #<module name="m_sslinfo.so">
1684
1685 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1686 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1687 # if enabled. You must copy the source for this module from the directory
1688 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1689 # want to enable this, or it will not load.
1690 #<module name="m_ssl_openssl.so">
1691 #
1692 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1693 #                                                                     #
1694 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
1695 # http://wiki.inspircd.org/Modules/ssl_openssl                        #
1696 #                                                                     #
1697 # NOTE: If you want to use this module to encrypt and sign your       #
1698 # server to server traffic, you MUST load it before m_spanningtree in #
1699 # your configuration file!                                            #
1700
1701 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1702 # Strip color module: Adds the channel mode +S
1703 #<module name="m_stripcolor.so">
1704
1705 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1706 # SILENCE module: Adds support for /SILENCE
1707 #<module name="m_silence.so">
1708 #
1709 # Configuration tags:
1710 #
1711 #<silence maxentries="32">
1712 #
1713 # Sets the maximum number of entries on a users silence list.
1714
1715 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1716 # SQLite3 module: Allows other SQL modules to access SQLite3          #
1717 # databases through a unified API. 
1718 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sqlite.cpp
1719 # and run make install, then uncomment this module to enable it.      #
1720 #
1721 #<module name="m_sqlite3.so">
1722 #
1723 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1724 #                                                                     #
1725 # m_sqlite.so is more complex than described here, see the wiki for   #
1726 # more: http://wiki.inspircd.org/Modules/sqlite3                      #
1727 #
1728 #<database module="sqlite" hostname="/full/path/to/database.db" id="anytext">
1729
1730 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1731 # SQL authentication module: Allows IRCd connections to be tied into
1732 # a database table (for example a forum).
1733 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sqlauth.cpp
1734 # and run make install, then uncomment this module to enable it.
1735 #
1736 #<module name="m_sqlauth.so">
1737 #
1738 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1739 #                                                                     #
1740 # m_sqlauth.so is too complex it describe here, see the wiki:         #
1741 # http://wiki.inspircd.org/Modules/sqlauth                            #
1742
1743 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1744 # SQL oper module: Allows you to store oper credentials in an SQL table
1745 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sqloper.cpp
1746 # and run make install, then uncomment this module to enable it.
1747 #
1748 #<module name="m_sqloper.so">
1749 #
1750 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1751 #                                                                     #
1752 # dbid       - Database ID to use (see m_sql)                         #
1753 # hash       - Hashing provider to use for password hashing           #
1754 #                                                                     #
1755 # See also: http://wiki.inspircd.org/Modules/sqloper                  #
1756 #                                                                     #
1757 #<sqloper dbid="1" hash="md5">
1758
1759 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1760 # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be   #
1761 # added/removed by Services.                                          #
1762 #<module name="m_svshold.so">
1763
1764 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1765 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1766 # This module is oper-only.
1767 # To use, SWHOIS must be in one of your oper class blocks.
1768 #<module name="m_swhois.so">
1769
1770 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1771 # Test module: enable this to create a command useful in testing
1772 # flood control. To avoid accidental use on live networks, the server
1773 # name must contain ".test" to load the module
1774 #<module name="m_testnet.so">
1775
1776 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1777 # Timed bans module: Adds timed channel bans and the /TBAN command
1778 #<module name="m_timedbans.so">
1779
1780 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1781 # Test line module: Adds the /TLINE command, used to test how many
1782 # users a /GLINE or /ZLINE etc would match.
1783 # This module is oper-only.
1784 # To use, TLINE must be in one of your oper class blocks.
1785 #<module name="m_tline.so">
1786
1787 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1788 # Topiclock module: implements server-side topic locking to achieve deeper
1789 # integration with services packages.
1790 #<module name="m_topiclock.so">
1791
1792 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1793 # UHNAMES support module: Adds support for the IRCX style UHNAMES
1794 # extension, which displays ident and hostname in the names list for
1795 # each user, saving clients from doing a WHO on the channel. Note that
1796 # this module is not widely supported yet. If a client does not support
1797 # UHNAMES it will not enable it, this will not break incompatible
1798 # clients.
1799 #<module name="m_uhnames.so">
1800
1801 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1802 # Uninvite module: Adds the /UNINVITE command which lets users remove
1803 # pending invites from channels without waiting for the user to join.
1804 #<module name="m_uninvite.so">
1805
1806 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1807 # Userip module: Adds the /USERIP command
1808 # This module is oper-only.
1809 # To use, USERIP must be in one of your oper class blocks.
1810 #<module name="m_userip.so">
1811
1812 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1813 # Vhost module: Adds the VHOST command which allows for adding virtual
1814 # hosts which are accessible using a username and password in the config.
1815 #<module name="m_vhost.so">
1816 #
1817 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1818 #                                                                     #
1819 # user       - Username for the vhost.                                #
1820 #                                                                     #
1821 # pass       - Password for the vhost.                                #
1822 #                                                                     #
1823 # hash       - The hash for the specific user (optional)              #
1824 #              m_password_hash.so and a hashing module must be loaded #
1825 #              for this to work.                                      #
1826 #                                                                     #
1827 # host       - Vhost to set.                                          #
1828 #
1829 #<vhost user="some_username" pass="some_password" host="some.host">
1830 #<vhost user="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" host="some.other.host">
1831
1832 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1833 # Watch module: Adds the WATCH command, which is used by clients to 
1834 # maintain notify lists.
1835 #<module name="m_watch.so">
1836 #
1837 # Configuration tags:
1838 #
1839 #<watch maxentries="32">
1840 #
1841 # Sets the maximum number of entries on a user's watch list.
1842
1843 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1844 # XLine database: Stores all *Lines (G/Z/K/R/any added by other modules)
1845 # in a file "xline.db" which can be re-loaded on restart. This is useful
1846 # for two reasons: it keeps bans so users may not evade them, and on
1847 # bigger networks, server connections will take less time as there will
1848 # be a lot less bans to apply - as most of them will already be there.
1849 #<module name="m_xline_db.so">
1850
1851 # Specify the filename for the xline database here
1852 #<xlinedb filename="data/xline.db">
1853
1854 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1855 #    ____                _   _____ _     _       ____  _ _   _        #
1856 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
1857 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
1858 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
1859 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
1860 #                                                                     #
1861 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
1862 # module. If you don't do this, server links will NOT work at all.    #
1863 # This is by design, to allow for the implementation of other linking #
1864 # protocols in modules in the future.                                 #
1865 #                                                                     #
1866
1867 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1868 # Spanning Tree module - allows linking of servers using the spanning
1869 # tree protocol (see the READ THIS BIT section above).
1870 # You will almost always want to load this.
1871 #
1872 #<module name="m_spanningtree.so">
1873
1874