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