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">
68 #<fantasy prefix="!" allowbots="no">
71 # Set the prefix for in-channel aliases (fantasy commands) to the
72 # specified character. If not set, the default is "!".
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.
77 #-#-#-#-#-#-#-#-#-#-#- ALIAS DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
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: #
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. #
92 # usercommand - If this is true, the alias can be run simply as #
93 # /aliasname. Defaults to true. #
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. #
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 #
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). #
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. #
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. #
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 #
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">
156 # An example of using the format value to create an alias with two
157 # different behaviours depending on the format of the parameters.
159 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
160 # requires="ChanServ" uline="yes">
162 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
163 # requires="NickServ" uline="yes">
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
170 #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
171 # requires="NickServ" uline="yes">
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.
178 #<alias text="CS" usercommand="no" channelcommand="yes"
179 # replace="PRIVMSG ChanServ :$1 $chan $2-" requires="ChanServ" uline="yes">
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 "!".
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">
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">
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">
201 # Auditorium settings:
203 #<auditorium opvisible="no" opcansee="no" opercansee="yes">
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
210 # Allow opers (channels/auspex) to see see all joins/parts/kicks in the channel
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.
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"
219 #<module name="m_autoop.so">
221 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
222 # Ban except module: Adds support for channel ban exceptions (+e)
223 #<module name="m_banexception.so">
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">
230 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
231 # Block amsg module: Attempt to block all usage of /amsg and /ame
232 #<module name="m_blockamsg.so">
234 #-#-#-#-#-#-#-#-#-#-#- BLOCKAMSG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
236 # If you have the m_blockamsg.so module loaded, you can configure it #
237 # with the <blockamsg> tag: #
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. #
245 #<blockamsg delay="3" action="killopers">
247 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
248 # Block CAPS module: Blocking all-CAPS messages with cmode +B
249 #<module name="m_blockcaps.so">
251 #-#-#-#-#-#-#-#-#-#-#- BLOCKCAPS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
253 # percent - How many percent of text must be caps before text #
256 # minlen - The minimum length a line must be for the block #
257 # percent to have any effect. #
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 #
263 #<blockcaps percent="50"
265 # capsmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ! ">
267 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
268 # Block color module: Blocking color-coded messages with cmode +c
269 #<module name="m_blockcolor.so">
271 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
272 # Botmode module: Adds the user mode +B
273 #<module name="m_botmode.so">
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">
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? #
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"
296 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
297 # CAP module: Provides the CAP negotiation mechanism seen in
298 # ratbox-derived ircds
299 #<module name="m_cap.so">
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">
307 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
308 # Censor module: Adds channel and user mode +G
309 #<module name="m_censor.so">
311 #-#-#-#-#-#-#-#-#-#-#- CENSOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
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 #
317 #<include file="conf/examples/censor.conf.example">
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">
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 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
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">
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">
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">
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">
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">
389 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
390 # Channel logging module: used to send snotice output to channels, to
391 # allow staff to centrally monitor and discuss network activity.
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
396 #<module name="m_chanlog.so">
397 #<chanlog snomasks="AOcC" channel="#opers">
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">
407 # denyrange: characters or range of characters to deny in channel
411 # allowrange: characters or range of characters to specifically allow
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">
420 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
421 # Check module: gives /check
422 # Check is useful for looking up information on channels,
423 # users, IP addresses and hosts.
424 # This module is oper-only.
425 # To use, CHECK must be in one of your oper class blocks.
426 #<module name="m_check.so">
428 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
429 # CHGHOST module: Adds the /CHGHOST command
430 # This module is oper-only.
431 # To use, CHGHOST must be in one of your oper class blocks.
432 # NOTE: Services will not be able to set vhosts on users if this module
433 # isn't loaded. If you're planning on running services, you probably
435 #<module name="m_chghost.so">
437 #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST CONFIGURATION #-#-#-#-#-#-#-#-#
438 # Optional - If you want to use special chars for hostnames you can #
439 # specify your own custom list of chars with the <hostname> tag: #
441 # charmap - A list of chars accepted as valid by the /CHGHOST #
442 # and /SETHOST commands. Also note that the list is #
444 #<hostname charmap="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_/0123456789">
446 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
447 # CHGIDENT module: Adds the /CHGIDENT command
448 # This module is oper-only.
449 # To use, CHGIDENT must be in one of your oper class blocks.
450 #<module name="m_chgident.so">
452 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
453 # CHGNAME module: Adds the /CHGNAME command
454 # This module is oper-only.
455 # To use, CHGNAME must be in one of your oper class blocks.
456 #<module name="m_chgname.so">
458 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
459 # Cloaking module: Adds usermode +x and cloaking support.
460 # Relies on the module m_md5.so being loaded.
461 # To use, you should enable m_conn_umodes and add +x as
462 # an enabled mode. See the m_conn_umodes module for more information.
463 #<module name="m_cloaking.so">
465 #-#-#-#-#-#-#-#-#-#-#- CLOAKING CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
467 # To use m_cloaking, you must define a cloak key, and optionally a #
468 # cloak prefix as shown below. The cloak key must be shared across #
469 # the network for correct cloaking. #
471 # There are two methods of cloaking: #
473 # half Cloak only the "unique" portion of a host; show #
474 # the last 2 parts of the domain, /16 subnet of IPv4 #
475 # or /48 subnet of the IPv6 address. #
477 # full Cloak the users completely, using three slices for #
478 # common CIDR bans (IPv4: /16, /24; IPv6: /48, /64) #
480 # The methods use a single key that can be any length of text. #
481 # An optional prefix may be specified to mark cloaked hosts. #
482 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
488 #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
489 # Close module: Allows an oper to close all unregistered connections.
490 # This module is oper-only and provides /close.
491 # To use, CLOSE must be in one of your oper class blocks.
492 #<module name="m_close.so">
494 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
495 # Clones module: Adds an oper command /CLONES for detecting cloned
496 # users. Warning: This module may be resource intensive when its
497 # command is issued, use with care.
498 # This module is oper-only.
499 # To use, CLONES must be in one of your oper class blocks.
500 #<module name="m_clones.so">
502 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
503 # Common channels module: Adds user mode +c, which, when set, requires
504 # that users must share a common channel with you to PRIVMSG or NOTICE
506 #<module name="m_commonchans.so">
508 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
509 # Conn-Join: Allows you to force users to join one or more channels
510 # automatically upon connecting to the server.
511 #<module name="m_conn_join.so">
513 #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
515 # If you have m_conn_join.so loaded, you can configure it using the
518 #<autojoin channel="#one,#two,#three">
520 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
521 # Conn-Usermodes: Set modes on users when they connect
522 # When this module is loaded <connect:allow> tags may have an optional
523 # modes="" value, which contains modes to add or remove from users
524 # when they connect to the server.
525 #<module name="m_conn_umodes.so">
527 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
528 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
529 #<module name="m_conn_waitpong.so">
531 #-#-#-#-#-#-#-#-#-#-#- WAITPONG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
533 # If you have the m_conn_waitpong.so module loaded, configure it with #
534 # the <waitpong> tag: #
536 # sendsnotice - Whether to send a snotice on connect, like other #
539 # killonbadreply - Whether to kill the user if they send the wrong #
542 #<waitpong sendsnotice="yes" killonbadreply="yes">
545 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
546 # Channel cycle module. Server side /hop, with +ilk etc bypass.
547 #<module name="m_cycle.so">
549 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
550 # Connectban: Provides IP connection throttling. Any IP range that connects
551 # too many times (configurable) in an hour is zlined for a (configurable)
552 # duration, and their count resets to 0.
554 # ipv4cidr and ipv6cidr allow you to turn the comparison from individual
555 # IP addresses (32 and 128 bits) into CIDR masks, to allow for throttling
556 # over whole ISPs/blocks of IPs, which may be needed to prevent attacks.
558 #<connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128">
559 # This allows for 10 connections in an hour with a 10 minute ban if that is exceeded.
561 #<module name="m_connectban.so">
563 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
564 # Connection throttle module. Configuration:
565 #<module name="m_connflood.so">
567 #-#-#-#-#-#-#-#-#-#-#- CONNTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
568 # seconds, maxconns - Amount of connections per <seconds>.
570 # timeout - Time to wait after the throttle was activated
571 # before deactivating it. Be aware that the time
572 # is seconds + timeout.
574 # quitmsg - The message that users get if they attempt to
575 # connect while the throttle is active.
577 # bootwait - Amount of time in seconds to wait before enforcing
578 # the throttling when the server just booted.
580 #<connflood seconds="30" maxconns="3" timeout="30"
581 # quitmsg="Throttled" bootwait="10">
583 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
584 # Custom prefixes: allows for channel prefixes to be added.
585 #<module name="m_customprefix.so">
587 # name The name of the mode, must be unique from other modes
588 # letter The letter used for this mode. Required.
589 # prefix The prefix used for nicks with this mode. Not required.
590 # rank A numeric rank for this prefix, defining what permissions it gives
591 # VOICE_VALUE is 10000, HALFOP_VALUE is 20000, OP_VALUE is 30000
592 # ranktoset The numeric rank required to set/unset this mode. Defaults to rank.
593 # depriv Can you remove the mode from yourself? Defaults to yes.
594 #<customprefix name="founder" letter="q" prefix="~" rank="50000" ranktoset="50000">
595 #<customprefix name="admin" letter="a" prefix="&" rank="40000" ranktoset="50000">
596 #<customprefix name="halfop" letter="h" prefix="%" rank="20000" ranktoset="30000">
597 #<customprefix name="halfvoice" letter="V" prefix="-" rank="1" ranktoset="20000">
599 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
600 # Custom title module: Adds the /TITLE command which allows for trusted
601 # users to gain a custom whois line and a optional
602 # vhost can be specified.
603 #<module name="m_customtitle.so">
605 #-#-#-#-#-#-#-#-#-#- CUSTOM TITLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
606 # name - The username used to identify
607 # password - The password used to identify
608 # hash - The hash for the specific user's password (optional)
609 # m_password_hash.so and a hashing module must be loaded for this to work
610 # host - Allowed hostmask [optional]
611 # title - Title shown in whois
612 # vhost - Displayed host [optional]
614 #<title name="foo" password="bar" title="Official Chat Helper">
615 #<title name="bar" password="foo" host="ident@host.name" title="Official Chat Helper" vhost="helper.network.chat">
616 #<title name="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" title="Official Chat Helper">
618 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
619 # DCCALLOW module: Adds the /DCCALLOW command
620 #<module name="m_dccallow.so">
622 #-#-#-#-#-#-#-#-#-#-#- DCCALLOW CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
623 # blockchat - Whether to block DCC CHAT as well as DCC SEND
624 # length - Default duration of entries in DCCALLOW list
625 # action - Default action to take if no action is specified
626 # can be 'block' or 'allow'
628 # File configuration:
629 # pattern - The glob pattern to match against
630 # action - Action to take if a user attempts to send a file
631 # that matches this pattern, can be 'block' or 'allow'
633 #<dccallow blockchat="yes" length="5m" action="block">
634 #<banfile pattern="*.exe" action="block">
635 #<banfile pattern="*.txt" action="allow">
637 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
639 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
640 # Deaf module: adds support for ircu style usermode +d - deaf to
641 # channel messages and channel notices.
642 #<module name="m_deaf.so">
644 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
645 # Delay join module: Adds the channel mode +D which delays all JOIN
646 # messages from users until they speak. If they quit or part before
647 # speaking, their quit or part message will not be shown to the channel
648 # which helps cut down noise on large channels in a more friendly way
649 # than the auditorium mode. Only channel ops may set the +D mode.
650 #<module name="m_delayjoin.so">
652 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
653 # Delay message module: Adds the channel mode +d which disallows a user
654 # from talking in the channel unless they've been joined for X seconds.
655 # Settable a la: /mode +d 30
656 #<module name="m_delaymsg.so">
658 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
659 # Deny Channels: Deny Channels from being used by users
660 #<module name="m_denychans.so">
662 #-#-#-#-#-#-#-#-#-#-#- DENYCHAN DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#
664 # If you have the m_denychans.so module loaded, you need to specify #
665 # the channels to deny: #
667 # name - The channel name to deny. (glob masks are ok) #
669 # allowopers - If operators are allowed to override the deny. #
671 # reason - Reason given for the deny. #
673 # redirect - Redirect the user to a different channel #
675 #<badchan name="#gods*" allowopers="yes" reason="Tortoises!"> #
676 #<badchan name="#heaven" redirect="#hell" reason="Nice try!"> #
678 # Redirects will not work if the target channel is set +L. #
680 # Additionally, you may specify channels which are allowed, even if #
681 # a badchan tag specifies it would be denied: #
682 #<goodchan name="#godsleeps"> #
683 # Glob masks are accepted here also.
685 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
686 # Devoice Module: Let users devoice themselves.
687 #<module name="m_devoice.so">
689 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
690 # DNS Blacklist Module: Provides support for looking up IPs on one or #
692 #<module name="m_dnsbl.so"> #
694 # For configuration options please see the wiki page for m_dnsbl at #
695 # http://wiki.inspircd.org/Modules/dnsbl #
697 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
698 # Exempt Channel Operators Module: Provides support for allowing #
699 # channel operators to be exempt from some channel modes. Supported #
700 # modes are blockcaps, noctcp, blockcolor, nickflood, flood, censor, #
701 # filter, regmoderated, nonick, nonotice, and stripcolor. #
702 #<module name="m_exemptchanops.so"> #
704 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
705 # Filter module: Provides message filtering, similar to SPAMFILTER.
706 #<module name="m_filter.so">
708 # This module depends upon a regex provider such as m_regex_pcre or #
709 # m_regex_glob to function. You must specify which of these you want #
710 # m_filter to use via the tag below. #
712 # Valid engines are: #
714 # glob - Glob patterns, provided via m_regex_glob.so #
715 # pcre - PCRE regexps, provided via m_regex_pcre.so, needs libpcre #
716 # tre - TRE regexps, provided via m_regex_tre.so, requires libtre #
717 # posix - POSIX regexps, provided via m_regex_posix.so, not availale #
718 # on windows, no dependencies on other operating systems. #
720 #<filteropts engine="glob"> #
722 # Your choice of regex engine must match on all servers network-wide.
724 # You may specify specific channels that are exempt from being filtered:
725 #<exemptfromfilter channel="#blah">
727 #-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
729 # Optional - If you specify to use the m_filter module, then #
730 # specfiy below the path to the filter.conf file, or define some #
733 #<include file="conf/examples/filter.conf.example">
735 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
736 # Gecosban: Implements extended ban r:, which stops anyone matching
737 # a mask like +b r:*realname?here* from joining a channel.
738 #<module name="m_gecosban.so">
740 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
741 # GeoIP module: Allows the server admin to match users by country code.
742 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_geoip.cpp
743 # and run make install, then uncomment this module to enable it.
744 # This module requires GeoIP to be installed on your system,
745 # use your package manager to find the appropriate packages
746 # or check the InspIRCd wiki page for this module.
747 #<module name="m_geoip.so">
749 # The actual allow/ban actions are done by connect classes, not by the
750 # GeoIP module. An example connect class to ban people from russia or
753 # <connect deny="*" geoip="TR,RU">
755 # The country code must be in capitals and should be an ISO country
756 # code such as TR, GB, or US. Unknown IPs (localhost, LAN IPs, etc)
757 # will be assigned the country code "UNK". Since connect classes are
758 # matched from top down, your deny classes must be above your allow
759 # classes for them to match.
761 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
762 # Globops module: gives /GLOBOPS and SNOMASK +g
763 # This module is oper-only.
764 # To use, GLOBOPS must be in one of your oper class blocks.
765 #<module name="m_globops.so">
767 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
768 # Global load module: Allows loading and unloading of modules network-
769 # wide (USE WITH EXTREME CAUTION!)
770 # This module is oper-only and provides /gloadmodule, /gunloadmodule
771 # and /greloadmodule.
772 # To use, GLOADMODULE, GUNLOADMODULE and GRELOADMODULE
773 # must be in one of your oper class blocks.
774 #<module name="m_globalload.so">
776 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
777 # HELPOP module: Provides the /HELPOP command
778 #<module name="m_helpop.so">
780 #-#-#-#-#-#-#-#-#-#-#-#- HELPOP CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
782 # Optional - If you specify to use the m_helpop.so module, then #
783 # specify below the path to the helpop.conf file, or if you like to #
784 # make a mess, define your helpop tags in this conf. #
786 #<include file="conf/examples/inspircd.helpop-full.example">
788 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
789 # HIDECHANS module: Allows opers to hide their channels list from non-
790 # opers by setting user mode +I on themselves.
791 #<module name="m_hidechans.so">
793 # HIDECHANS can optionally prevent opers from seeing channels on a +I
794 # user, for more privacy if set to true.
795 # This setting is not recommended for most mainstream networks.
796 #<hidechans affectsopers="false">
798 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
799 # HIDEOPER module: Allows opers to hide their oper status from non-
800 # opers by setting user mode +H on themselves.
801 # This module is oper-only.
802 #<module name="m_hideoper.so">
804 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
805 # Hostchange module: Allows a different style of cloaking
806 #<module name="m_hostchange.so">
808 #-#-#-#-#-#-#-#-#-#-#- HOSTCHANGE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
810 # Optional - If you choose to use the m_hostchange.so module. #
811 # Config Help - See http://wiki.inspircd.org/Modules/hostchange #
813 #<host suffix="polarbears.org" separator="." prefix="">
814 #<hostchange mask="*@fbi.gov" action="addnick">
815 #<hostchange mask="*r00t@*" action="suffix">
816 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
817 #<hostchange mask="localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
819 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
820 # httpd module: Provides http server support for InspIRCd
821 #<module name="m_httpd.so">
823 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
825 # If you choose to use the m_httpd.so module, then you will need to add
826 # a <bind> tag with type "httpd", and load at least one of the other
827 # m_httpd_* modules to provide pages to display.
830 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
831 # http ACL module: Provides access control lists for m_httpd dependent
832 # modules. Use this module to restrict pages by IP address and by
835 #<module name="m_httpd_acl.so">
837 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD ACL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
839 # Restrict access to the m_httpd_stats module to all but the local
840 # network and when the correct password is specified:
842 # <httpdacl path="/stats*" types="password,whitelist"
843 # username="secretstuff" password="mypasshere" whitelist="127.0.0.*,10.*">
845 # Deny all connections to all but the main index page:
847 # <httpdacl path="/*" types="blacklist" blacklist="*">
850 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
851 # http config module: Allows the server's configuration to be viewed
852 # over HTTP. Requires m_httpd.so to be loaded for it to function.
853 #<module name="m_httpd_config.so">
855 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
856 # http stats module: Provides basic stats pages over HTTP
857 # Requires m_httpd.so to be loaded for it to function.
858 #<module name="m_httpd_stats.so">
860 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
861 # Ident: Provides RFC 1413 ident lookup support
862 # When this module is loaded <connect:allow> tags may have an optional
863 # useident="yes|no" boolean value, determining whether or not to lookup
864 # ident on users matching that connect tag.
865 #<module name="m_ident.so">
867 #-#-#-#-#-#-#-#-#-#-#-#- IDENT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
869 # Optional - If you are using the m_ident.so module, then you can #
870 # specify the timeout for ident lookups here. If not defined, it will #
871 # default to one second. This is a non-blocking timeout which holds #
872 # the user in a 'connecting' state until the lookup is complete. #
873 # The bind value indicates which IP to bind outbound requests to. #
877 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
878 # Invite except module: Adds support for channel invite exceptions (+I)
879 #<module name="m_inviteexception.so">
880 # Does a +I bypass channel +k in addition to +i?
881 #<inviteexception bypasskey="yes">
883 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
884 # IRCv3 module: Provides the following IRCv3.1 extensions:
885 # extended-join, away-notify and account-notify. These are optional
886 # enhancements to the client-to-server protocol. An extension is only
887 # active for a client when the client specifically requests it, so this
888 # module needs m_cap to work.
890 # Further information on these extensions can be found at the IRCv3
891 # working group website:
892 # http://ircv3.atheme.org/extensions/
894 #<module name="m_ircv3.so">
895 # The following block can be used to control which extensions are
897 #<ircv3 accoutnotify="on" awaynotify="on" extendedjoin="on">
899 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
900 # Join flood module: Adds support for join flood protection (+j)
901 #<module name="m_joinflood.so">
903 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
904 # Jump Server module: Adds support for the RPL_REDIR numeric
905 # This module is oper-only.
906 # To use, JUMPSERVER must be in one of your oper class blocks.
907 # If your server is redirecting new clients and you get disconnected,
908 # do a REHASH from shell to open up again.
909 #<module name="m_jumpserver.so">
911 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
912 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
913 #<module name="m_kicknorejoin.so">
915 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
916 # Knock module: adds the /KNOCK command and +K channel mode
917 #<module name="m_knock.so">
918 # This setting specifes what to do when someone successfully /KNOCKs.
919 # If set to "notice", then a NOTICE will be sent to the channel.
920 # This is the default and the compatible setting, as it requires no
921 # special support from the clients.
922 # If set to "numeric" then a 710 numeric will be sent to the channel.
923 # This allows easier scripting but not all clients support it.
924 # If set to "both" then (surprise!) both will be sent.
925 #<knock notify="notice">
927 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
928 # LDAP authentication module: Adds the ability to authenticate users #
929 # via LDAP. This is an extra module which must be enabled explicitly #
930 # by symlinking it from modules/extra, and requires the OpenLDAP libs #
931 # This modules is in extras. To enable it, Re-run configure with: #
932 # ./configure --enable-extras=m_ldapauth.cpp #
933 # and run make install, then uncomment this module. #
935 #<module name="m_ldapauth.so"> #
939 # <ldapauth baserdn="ou=People,dc=brainbox,dc=cc" #
941 # server="ldap://brainwave.brainbox.cc" #
942 # allowpattern="Guest*" #
943 # killreason="Access denied" #
944 # searchscope="subtree" #
945 # binddn="cn=Manager,dc=brainbox,dc=cc" #
946 # bindauth="mysecretpass" #
948 # host="$uid.$ou.inspircd.org"> #
950 # <ldapwhitelist cidr="10.42.0.0/16"> #
952 # <ldaprequire attribute="attr" value="val"> #
954 # The baserdn indicates the base DN to search in for users. Usually #
955 # this is 'ou=People,dc=yourdomain,dc=yourtld'. #
957 # The attribute value indicates the attribute which is used to locate #
958 # a user account by name. On POSIX systems this is usually 'uid'. #
960 # The server parameter indicates the LDAP server to connect to. The #
961 # ldap:// style scheme before the hostname proper is MANDITORY. #
963 # The allowpattern value allows you to specify a wildcard mask which #
964 # will always be allowed to connect regardless of if they have an #
965 # account, for example guest users. #
967 # Killreason indicates the QUIT reason to give to users if they fail #
970 # The searchscope value indicates the subtree to search under. On our #
971 # test system this is 'subtree'. Your mileage may vary. #
973 # Setting the verbose value causes an oper notice to be sent out for #
974 # every failed authentication to the server, with an error string. #
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 # ldapwhitelist indicates that clients connecting from an IP in the #
983 # provided CIDR do not need to authenticate against LDAP. It can be #
984 # repeated to whitelist multiple CIDRs. #
986 # ldaprequire allows further filtering on the LDAP user, by requiring #
987 # certain LDAP attibutes to have a given value. It can be repeated, #
988 # in which case the list will act as an OR list, that is, the #
989 # authentication will succeed if any of the requirements in the list #
992 # host allows you to change the displayed host of users connecting #
993 # from ldap. The string supplied takes formatters which are replaced #
994 # from the DN. For instance, if your DN looks like: #
995 # uid=w00t,ou=people,dc=inspircd,dc=org, then the formatters uid, ou #
996 # and dc will be available to you. If a key is given multiple times #
997 # in the DN, the last appearance will take precedence. #
999 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1000 # LDAP oper configuration module: Adds the ability to authenticate #
1001 # opers via LDAP. This is an extra module which must be enabled #
1002 # explicitly by symlinking it from modules/extra, and requires the #
1003 # OpenLDAP libs. Re-run configure with: ./configure --enable-extras=m_ldapoper.cpp
1004 # and run make install, then uncomment this module to enable it. #
1006 #<module name="m_ldapoper.so">
1010 # <ldapoper baserdn="ou=People,dc=brainbox,dc=cc"
1011 # server="ldap://brainwave.brainbox.cc"
1012 # searchscope="subtree"
1013 # binddn="cn=Manager,dc=brainbox,dc=cc"
1014 # bindauth="mysecretpass"
1017 # Available configuration items are identical to the same items in #
1018 # m_ldapauth above (except for the verbose setting, that is only #
1019 # supported in m_ldapauth). #
1020 # Please always specify a password in your <oper> tags even if the #
1021 # opers are to be authenticated via LDAP, so in case this module is #
1022 # not loaded the oper accounts are still protected by a password. #
1024 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1025 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that is #
1026 # used to temporarily close/open for new connections to the server. #
1027 # These commands require OPER status and that the LOCKSERV UNLOCKSERV #
1028 # are specified in a <class> tag that the oper is part of. This is so #
1029 # you can control who has access to this possible dangerous command. #
1030 # If your server is locked and you get disconnected, do a REHASH from #
1031 # shell to open up again.
1033 # This module is oper-only.
1035 #<module name="m_lockserv.so">
1037 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1038 # Map hiding module: replaces /MAP and /LINKS output to users with a #
1039 # message to see a website, set by maphide="http://link.to/site" in #
1040 # the security tag, instead. #
1041 #<module name="m_maphide.so">
1043 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1044 # Msg flood module: Adds message/notice flood protection (+f)
1045 #<module name="m_messageflood.so">
1047 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1048 # MLOCK module: Adds support for server-side enforcement of services
1049 # side MLOCKs. Basically, this module suppresses any mode change that
1050 # would likely be immediately bounced by services.
1051 #<module name="m_mlock.so">
1053 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1054 # MsSQL module: Allows other SQL modules to access MS SQL Server
1055 # through a unified API.
1056 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_mssql.cpp
1057 # and run make install, then uncomment this module to enable it.
1059 #<module name="m_mssql.so">
1061 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1063 # m_mssql.so is more complex than described here, see wiki for more #
1064 # info http://wiki.inspircd.org/Modules/mssql #
1066 #<database module="mssql" name="db" user="user" pass="pass" host="localhost" id="db1">
1068 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1069 # MySQL module: Allows other SQL modules to access MySQL databases
1070 # through a unified API.
1071 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_mysql.cpp
1072 # and run make install, then uncomment this module to enable it.
1074 #<module name="m_mysql.so">
1076 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1078 # m_mysql.so is more complex than described here, see the wiki for #
1079 # more: http://wiki.inspircd.org/Modules/mysql #
1081 #<database module="mysql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database2">
1083 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1084 # Named Modes module: This module allows for the display and set/unset
1085 # of channel settings and modes via long-form mode names in channels with
1086 # channelmode +Z set. For example, to set a channelban with named modes:
1087 # /mode #channel +Z ban=foo!bar@baz . Currently this doesn't serve much
1088 # purpose outside of making channel administration a bit easier in some
1089 # cases, but eventually modules will start using named modes only because
1090 # we're running out of channelmodes. :D
1091 #<module name="m_namedmodes.so">
1093 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1094 # NAMESX module: Provides support for the NAMESX extension which allows
1095 # clients to see all the prefixes set on a user without getting confused.
1096 # This is supported by mIRC, x-chat, klient, and maybe more.
1097 #<module name="m_namesx.so">
1099 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1100 # National characters module:
1101 # 1) Allows using national characters in nicknames.
1102 # 2) Allows using custom (national) casemapping over the network.
1103 # file -- filename of existing file in "locales" directory
1104 # casemapping -- custom value for 005 numeric (if you want it to be
1105 # different from the filename.
1107 #<nationalchars file="bynets/russian-w1251-charlink" casemapping="ru_RU.cp1251-charlink">
1108 #<module name="m_nationalchars.so">
1110 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1111 # Nickchange flood protection module: Allows up to X nick changes in Y seconds.
1112 # Provides channel mode +F.
1113 #<module name="m_nickflood.so">
1115 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1116 # Nicklock module: Let opers change a user's nick and then stop that
1117 # user from changing their nick again.
1118 # This module is oper-only.
1119 # To use, NICKLOCK and NICKUNLOCK must be in one of your oper class blocks.
1120 #<module name="m_nicklock.so">
1122 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1123 # No ctcp module: Adds the channel mode +C to block CTCPs and extban C
1124 # to block CTCPs sent by specific users.
1125 #<module name="m_noctcp.so">
1127 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1128 # No kicks module: Adds the +Q channel mode and the Q: extban to deny
1129 # certain users from kicking.
1130 #<module name="m_nokicks.so">
1132 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1133 # No nicks module: Adds the +N channel mode, as well as the +b N:
1134 # extended bantype. +N stops all users from changing their nick,
1135 # the +b N: extban stops anyone from matching a +b N:nick!user@host
1136 # mask from changing their nick.
1137 #<module name="m_nonicks.so">
1139 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1140 # No part message module: adds extban 'p' to block part messages from #
1142 #<module name="m_nopartmsg.so">
1144 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1145 # No Notice module: adds the channel mode +T and the extban T to block
1146 # specific users from noticing the channel.
1147 #<module name="m_nonotice.so">
1149 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1150 # Network buisness join module
1151 # Allows an oper to join a channel using /OJOIN, giving them +Y on the
1152 # channel which makes them immune to kick/deop/etc.
1153 #<module name="m_ojoin.so">
1155 #<ojoin prefix="!" notice="yes" op="yes">
1156 # Specify the prefix that +Y will grant here
1157 # Leave prefix empty if you do not wish +Y to grant a prefix
1158 # If notice is set to on, upon ojoin, the server will notice
1159 # the channel saying that the oper is joining on network business
1160 # If op is set to on, it will give them +o along with +Y
1163 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1164 # Oper channels mode: Adds the +O channel mode and +beI type O:<mask>
1165 # to ban, exempt, and invex given oper type masks.
1166 # e.g, /mode #channel +iI O:* is equivilant to chmode +O, but you
1167 # may also, e.g. /mode #channel +iI O:AdminTypeOnly to only allow admins.
1168 # +be work in a similar fashion.
1170 #<module name="m_operchans.so">
1172 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1173 # Oper Join module: Auto-joins opers to a channel upon oper-up
1174 # This module is oper-only. For the user equivalent, see m_conn_join.
1175 #<module name="m_operjoin.so">
1177 #-#-#-#-#-#-#-#-#-#-# OPERJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1179 # If you are using the m_operjoin.so module, specify options here: #
1181 # channel - The channel name to join, can also be a comma #
1182 # seperated list eg. "#channel1,#channel2". #
1184 # override - Lets the oper join walking thru any modes that #
1185 # might be set, even bans. Use "yes" or "no". #
1187 #<operjoin channel="#channel" override="no">
1189 # Alternatively you can use the autojoin="channellist" in a <type> #
1190 # tag to set specific autojoins for a type of oper, for example: #
1192 #<type name="Helper" autojoin="#help" classes="...">
1194 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1195 # Oper log module: Logs all oper commands to the ircd log at default
1196 # loglevel, and optionally to the 'r' SNOMASK.
1197 # This module is oper-only.
1198 #<module name="m_operlog.so">
1200 # If the following option is on then all oper commands will be sent to
1201 # the snomask 'r'. The default is off.
1202 #<operlog tosnomask="off">
1204 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1205 # Oper prefixing module: Gives IRC operators a prefix status character
1206 # on all channels they are in.
1208 #<module name="m_operprefix.so">
1210 # You may additionally customise the prefix character.
1211 #<operprefix prefix="!">
1213 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1214 # Oper MOTD module: Provides support for seperate message of the day
1216 # This module is oper-only.
1217 #<module name="m_opermotd.so">
1219 #-#-#-#-#-#-#-#-#-#-# OPERMOTD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1221 # If you are using the m_opermotd.so module, specify the motd here #
1223 # onoper - Should the message be sent on /OPER or only when #
1224 # /OPERMOTD is used. Use "yes" or "no". #
1226 # processcolors - Allow color codes to be processed in the opermotd. #
1227 # Read the comment above <connect:allowmotdcolors> in #
1228 # inspircd.conf.example for details. #
1230 #<opermotd file="conf/examples/opermotd.txt.example" onoper="yes" processcolors="false">
1232 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1233 # Override module: Adds support for oper override
1234 # This module is oper-only.
1235 #<module name="m_override.so">
1237 #-#-#-#-#-#-#-#-#-#-# OVERRIDE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1239 # m_override.so is too complex it describe here, see the wiki: #
1240 # http://wiki.inspircd.org/Modules/override #
1242 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1243 # Oper levels module: Gives each oper a level and prevents
1244 # actions being taken against higher level opers
1245 # Specify the level as the 'level' parameter of the <type> tag
1246 # # This module is oper-only.
1247 #<module name="m_operlevels.so">
1249 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1250 # Oper modes module: Allows you to specify modes to add/remove on oper
1251 # Specify the modes as the 'modes' parameter of the <type> tag
1252 # and/or as the 'modes' parameter of the <oper> tag.
1253 # This module is oper-only. For the user equivalent, see m_conn_umodes
1254 #<module name="m_opermodes.so">
1256 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1257 # Password forwarding module: Forwards a password users can send on connect
1258 # to the specified client below. The client is usually nickserv and this
1259 # module is usually used to authenticate users with nickserv using their
1261 #<module name="m_passforward.so">
1264 # nick: nick to forward connect passwords to.
1267 # forwardmsg: Message to send to users using a connect password.
1268 # $nick will be the users' nick, $nickrequired will be the nick
1269 # of where the password is going (the nick above).
1270 # You can also use $user for the user ident string.
1271 forwardmsg="NOTICE $nick :*** Forwarding PASS to $nickrequired"
1273 # cmd: Command for the nick to run when it recieves a connect
1275 cmd="PRIVMSG $nickrequired :IDENTIFY $pass">
1277 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1278 # Password hash module: Allows hashed passwords to be used.
1279 # To be useful, a hashing module like m_sha256.so also needs to be loaded.
1281 #<module name="m_password_hash.so">
1283 #-#-#-#-#-#-#-#-#-# PASSWORD HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#
1285 # To use this module, you must define a hash type for each oper's
1286 # password you want to hash. For example:
1288 # <oper name="Brain"
1289 # host="ident@dialup15.isp.com"
1291 # password="01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
1294 # Starting from 2.0, you can use a more secure salted hash that prevents simply
1295 # looking up the hash's value in a rainbow table built for the hash.
1296 # hash="hmac-sha256" password="lkS1Nbtp$CyLd/WPQXizsbxFUTqFRoMvaC+zhOULEeZaQkUJj+Gg"
1298 # Generate hashes using the /MKPASSWD command on the server. Don't run it on a
1299 # server you don't trust with your password.
1301 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1302 # Permanent Channels module: Channels with the permanent channels mode
1303 # will remain open even after everyone else has left the channel, and
1304 # therefore keep things like modes, ban lists and topic. Permanent
1305 # channels -may- need support from your Services package to function
1306 # properly with them. This adds channel mode +P.
1307 # This module is oper-only.
1308 #<module name="m_permchannels.so">
1310 # If you like, m_permchannels can write a config file of permanent channels
1311 # whenever +P is set, unset, or the topic/modes on a +P channel is changed.
1312 # If you want to do this, set the filename below, and uncomment the include.
1314 #<permchanneldb filename="data/permchannels.conf">
1315 #<include file="data/permchannels.conf">
1317 # You may also create channels on startup by using the <permchannels> block.
1318 # Don't forget to set them +P in the modes, or they won't stay permanent.
1319 #<permchannels channel="#opers" modes="isP" topic="Opers only.">
1321 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1322 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1323 # through a unified API.
1324 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_pgsql.cpp
1325 # and run make install, then uncomment this module to enable it.
1327 #<module name="m_pgsql.so">
1329 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1331 # m_pgsql.so is more complex than described here, see the wiki for #
1332 # more: http://wiki.inspircd.org/Modules/pgsql #
1334 #<database module="pgsql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database" ssl="no">
1336 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1337 # Muteban: Implements extended ban m:, which stops anyone matching
1338 # a mask like +b m:nick!user@host from speaking on channel.
1339 #<module name="m_muteban.so">
1342 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1343 # Random Quote module: provides a random quote on connect.
1344 # NOTE: Some of these may mimic fatal errors and confuse users and
1345 # opers alike! - BEWARE!
1346 #<module name="m_randquote.so">
1348 #-#-#-#-#-#-#-#-#-#- RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1350 # Optional - If you specify to use the m_randquote.so module, then #
1351 # specify below the path to the randquotes.conf file. #
1353 #<randquote file="randquotes.conf">
1355 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1356 # Redirect module: Adds channel redirection (mode +L) #
1357 # Optional: <redirect:antiredirect> to add usermode +L to stop forced #
1358 # redirection and instead print an error. #
1360 # Note: You can not update this with a simple rehash, it requires #
1361 # reloading the module for it to take effect. #
1362 # This also breaks linking to servers that do not have the option. #
1363 # This defaults to false for the 2.0 version, it will be enabled in #
1364 # all the future versions. #
1365 #<module name="m_redirect.so">
1366 #<redirect antiredirect="true">
1368 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1369 # Regular Expression Provider for Glob or wildcard (?/*) matching.
1370 # You must have at least 1 provider loaded to use m_filter or m_rline
1371 # modules. This module has no additional requirements, as it uses the
1372 # matching already present in InspIRCd core.
1373 #<module name="m_regex_glob.so">
1375 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1376 # Regular Expression Provider for PCRE (Perl-Compatible Regular
1377 # Expressions). You need libpcre installed to compile and load this
1378 # module. You must have at least 1 provider loaded to use m_filter or
1380 #<module name="m_regex_pcre.so">
1382 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1383 # Regular Expression Provider for RE2 Regular Expressions.
1384 # You need libre2 installed and in your include/library paths in order
1385 # to compile and load this module.
1386 #<module name="m_regex_re2.so">
1388 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1389 # Regular Expression Provider for POSIX Regular Expressions.
1390 # You shouldn't need any additional libraries on a POSIX-compatible
1391 # system (ie: any Linux, BSD, but not Windows). You must have at least
1392 # 1 provider loaded to use m_filter or m_rline.
1393 # On POSIX-compliant systems, regex syntax can be found by using the
1394 # command: 'man 7 regex'.
1395 #<module name="m_regex_posix.so">
1397 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1398 # Regular Expression Provider for C++11 std::regex Regular Expressions.
1399 # This module works on any fully compliant implementation of the C++11
1400 # std::regex container. Examples for such are Visual C++ 2010 and newer
1401 # but not libstdc++ (which GCC uses)
1402 # You should verify that std::regex is supported by your setup before
1403 # using this module, as it may compile normally but won't do anything
1404 # on some implementations.
1405 #<module name="m_regex_stdlib.so">
1407 # Specify the Regular Expression engine to use here. Valid settings are
1408 # bre, ere, awk, grep, egrep, ecmascript (default if not specified)
1409 #<stdregex type="ecmascript">
1411 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1412 # Regular Expression Provider for TRE Regular Expressions.
1413 # This is the same regular expression engine used by UnrealIRCd, so
1414 # if you are most familiar with the syntax of /spamfilter from there,
1415 # this is the provider you want. You need libtre installed in order
1416 # to compile and load this module.
1417 #<module name="m_regex_tre.so">
1419 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1420 # Registered users only channel creation
1421 # Allows only registered users and opers to create new channels.
1423 # You probably *DO NOT* want to load this module on a public network.
1425 #<module name="m_regonlycreate.so">
1427 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1428 # Remove module: Adds the /REMOVE command which is a peaceful
1429 # alternative to /KICK
1430 #<module name="m_remove.so">
1432 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1433 # A module to block, kick or ban upon similiar messages being uttered several times.
1434 # Syntax [~*][lines]:[sec]{[:difference]}{[:matchlines]}
1435 # ~ is to block, * is to ban, default is kick.
1436 # 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
1437 # seconds - How old the message has to be before it's invalidated.
1438 # distance - Edit distance, in percent, between two strings to trigger on.
1439 # matchlines - When set, the function goes into mode 2. In this mode the function will trigger if this many of the last <lines> matches.
1441 # As this module can be rather CPU-intensive, it comes with some options.
1442 # maxbacklog - Maximum size that can be specified for backlog. 0 disables multiline matching.
1443 # maxdistance - Max percentage of difference between two lines we'll allow to match. Set to 0 to disable edit-distance matching.
1444 # maxlines - Max lines of backlog to match against.
1445 # maxsecs - Maximum value of seconds a user can set. 0 to allow any.
1446 # size - Maximum number of characters to check for, can be used to truncate messages
1447 # before they are checked, resulting in less CPU usage. Increasing this beyond 512
1448 # doesn't have any effect, as the maximum length of a message on IRC cannot exceed that.
1449 #<repeat maxbacklog="20" maxlines="20" maxdistance="50" maxsecs="0" size="512">
1450 #<module name="m_repeat.so">
1452 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1453 # Restricted channels module: Allows only opers to create channels.
1455 # You probably *DO NOT* want to load this module on a public network.
1457 #<module name="m_restrictchans.so">
1459 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1460 # Restrict message module: Allows users to only message opers.
1462 # You probably *DO NOT* want to load this module on a public network.
1464 #<module name="m_restrictmsg.so">
1466 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1467 # Ban users through regular expression patterns
1468 #<module name="m_rline.so">
1470 #-#-#-#-#-#-#-#-#-#-#-#- RLINE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
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.
1481 #<rline matchonnickchange="yes" engine="pcre">
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.
1491 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1492 # RMODE module: Adds the /RMODE command
1493 # Allows channel mods to remove list modes en masse.
1494 # Syntax: /rmode <channel> <mode> [pattern]
1495 # E.g. '/rmode #Channel b m:*' will remove all mute-extbans on the channel.
1496 #<module name="m_rmode.so">
1498 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1499 # SAJOIN module: Adds the /SAJOIN command
1500 # This module is oper-only.
1501 # To use, SAJOIN must be in one of your oper class blocks.
1502 #<module name="m_sajoin.so">
1504 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1505 # SAKICK module: Adds the /SAKICK command
1506 # This module is oper-only.
1507 # To use, SAKICK must be in one of your oper class blocks.
1508 #<module name="m_sakick.so">
1510 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1511 # SAMODE module: Adds the oper /SAMODE command
1512 # This module is oper-only.
1513 # To use, SAMODE must be in one of your oper class blocks.
1514 #<module name="m_samode.so">
1516 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1517 # SANICK module: Allows opers to change user's nicks
1518 # This module is oper-only.
1519 # To use, SANICK must be in one of your oper class blocks.
1520 #<module name="m_sanick.so">
1522 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1523 # SAPART module: Adds the oper /SAPART command
1524 # This module is oper-only.
1525 # To use, SAPART must be in one of your oper class blocks.
1526 #<module name="m_sapart.so">
1528 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1529 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1530 # This module is oper-only.
1531 # To use, SAQUIT must be in one of your oper class blocks.
1532 #<module name="m_saquit.so">
1534 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1535 # SATOPIC module: Adds the oper /SATOPIC command
1536 # This module is oper-only.
1537 # To use, SATOPIC must be in one of your oper class blocks.
1538 #<module name="m_satopic.so">
1540 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1541 # SASL authentication module: Provides support for IRC Authentication
1542 # Layer (aka: atheme SASL) via AUTHENTICATE.
1543 #<module name="m_sasl.so">
1545 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1546 # Secure list module: Prevent /LIST in the first minute of connection,
1547 # crippling most spambots and trojan spreader bots.
1548 #<module name="m_securelist.so">
1550 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1552 # Securelist can be harmful to some irc search engines such as #
1553 # netsplit.de and searchirc.com. To prevent securelist blocking these #
1554 # sites from listing, define exception tags as shown below: #
1555 <securehost exception="*@*.searchirc.org">
1556 <securehost exception="*@*.netsplit.de">
1557 <securehost exception="*@echo940.server4you.de">
1558 <securehost exception="*@*.ircdriven.com">
1560 # Define the following variable to change how long a user must wait #
1561 # before issuing a LIST. If not defined, defaults to 60 seconds. #
1563 #<securelist waittime="60"> #
1565 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1566 # Servprotect module: Provides support for Austhex style +k /
1567 # UnrealIRCD +S services mode
1568 #<module name="m_servprotect.so">
1570 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1571 # See nicks module: Allow for SNOMASK +N which shows nick changes.
1572 # This module is oper-only.
1573 #<module name="m_seenicks.so">
1575 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1576 # Set Idle module: Adds a command for opers to change their
1577 # idle time (mainly a toy)
1578 # This module is oper-only.
1579 # To use, SETIDLE must be in one of your oper class blocks.
1580 #<module name="m_setidle.so">
1582 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1583 # Services support module: Adds several usermodes such as +R and +M
1584 # this module implements the 'identified' state via account names (AC)
1585 # and is similar in operation to the way asuka and ircu handle services.
1587 # At the same time, this offers +r for users and channels to mark them
1588 # as identified seperately from the idea of a master account, which
1589 # can be useful for services which are heavily nick-as-account centric.
1591 # This replaces m_services from 1.1 and earlier.
1593 # Also of note is that this module implements three extbans:
1594 # +b R: (stop matching account names from joining)
1595 # +b M: (stop matching account names from speaking)
1596 # +b U:n!u@h (blocks matching unregistered users)
1598 #<module name="m_services_account.so">
1600 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1601 # Sethost module: Adds the /SETHOST command
1602 # This module is oper-only.
1603 # To use, SETHOST must be in one of your oper class blocks.
1604 # See m_chghost for how to customise valid chars for hostnames
1605 #<module name="m_sethost.so">
1607 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1608 # Setident module: Adds the /SETIDENT command
1609 # This module is oper-only.
1610 # To use, SETIDENT must be in one of your oper class blocks.
1611 #<module name="m_setident.so">
1613 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1614 # SETNAME module: Adds the /SETNAME command
1615 # This module is oper-only.
1616 # To use, SETNAME must be in one of your oper class blocks.
1617 #<module name="m_setname.so">
1619 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1620 # Serverban: Implements extended ban s:, which stops anyone connected
1621 # to a server matching a mask like +b s:server.mask.here from joining.
1622 #<module name="m_serverban.so">
1624 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1625 # Show Whois module: Adds the +W usermode which allows opers
1626 # to see when they are whois'ed (can be annoying).
1627 # This module is oper-only.
1628 #<module name="m_showwhois.so">
1630 # If you wish, you may also let users set this mode. Only opers with the
1631 # users/auspex priv will see real hosts of people, though. This setting
1632 # is not reloadable via /rehash, and will require /reloadmodule, as
1633 # it directly affects the mode object itself.
1634 #<showwhois opersonly="yes"
1636 # You may also set whether or not users should recieve whois notices, should
1637 # they be /whois'd by an oper.
1638 # showfromopers="yes">
1640 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1641 # Shun module: Provides the /SHUN command, which stops a user from
1642 # executing all except configured commands.
1643 # This module is oper-only.
1644 # To use, SHUN must be in one of your oper class blocks.
1645 #<module name="m_shun.so">
1647 # You may also configure which commands you wish a user to be able to
1648 # perform. It should be noted that if a shunned user issues QUIT or PART
1649 # then their message will be removed, as if they did not issue one.
1651 # You can (optionally) let the user know that their command was blocked.
1653 # You may also let SHUN affect opers (defaults to no).
1654 #<shun enabledcommands="PING PONG QUIT PART JOIN" notifyuser="yes" affectopers="no">
1656 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1657 # SSL channel mode module: Adds support for SSL-only channels (+z).
1658 # does not do anything useful without a working SSL module (see below)
1659 #<module name="m_sslmodes.so">
1661 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1662 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1663 # if enabled. You must copy the source for this module from the directory
1664 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1665 # want to enable this, or it will not load.
1666 #<module name="m_ssl_gnutls.so">
1668 #-#-#-#-#-#-#-#-#-#-#- GNUTLS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1670 # m_ssl_gnutls.so is too complex it describe here, see the wiki: #
1671 # http://wiki.inspircd.org/Modules/ssl_gnutls #
1673 # NOTE: If you want to use this module to encrypt and sign your #
1674 # server to server traffic, you MUST load it before m_spanningtree in #
1675 # your configuration file! #
1677 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1678 # SSL Info module: Allows users to retrieve information about other
1679 # user's peer SSL certificates and keys. This can be used by client
1680 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
1681 # or m_ssl_openssl.so must be loaded. This module also adds the
1682 # "* <user> is using a secure connection" whois line, the ability for
1683 # opers to use SSL fingerprints to verify their identity and the ability
1684 # to force opers to use SSL connections in order to oper up.
1685 # It is highly recommended to load this module especially if
1686 # you use SSL on your network.
1687 # For how to use the oper features, please see the first example <oper> tag
1688 # in opers.conf.example.
1690 #<module name="m_sslinfo.so">
1692 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1693 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1694 # if enabled. You must copy the source for this module from the directory
1695 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1696 # want to enable this, or it will not load.
1697 #<module name="m_ssl_openssl.so">
1699 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1701 # m_ssl_openssl.so is too complex it describe here, see the wiki: #
1702 # http://wiki.inspircd.org/Modules/ssl_openssl #
1704 # NOTE: If you want to use this module to encrypt and sign your #
1705 # server to server traffic, you MUST load it before m_spanningtree in #
1706 # your configuration file! #
1708 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1709 # Strip color module: Adds the channel mode +S
1710 #<module name="m_stripcolor.so">
1712 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1713 # SILENCE module: Adds support for /SILENCE
1714 #<module name="m_silence.so">
1716 # Configuration tags:
1718 #<silence maxentries="32">
1720 # Sets the maximum number of entries on a users silence list.
1722 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1723 # SQLite3 module: Allows other SQL modules to access SQLite3 #
1724 # databases through a unified API.
1725 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sqlite.cpp
1726 # and run make install, then uncomment this module to enable it. #
1728 #<module name="m_sqlite3.so">
1730 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1732 # m_sqlite.so is more complex than described here, see the wiki for #
1733 # more: http://wiki.inspircd.org/Modules/sqlite3 #
1735 #<database module="sqlite" hostname="/full/path/to/database.db" id="anytext">
1737 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1738 # SQL authentication module: Allows IRCd connections to be tied into
1739 # a database table (for example a forum).
1740 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sqlauth.cpp
1741 # and run make install, then uncomment this module to enable it.
1743 #<module name="m_sqlauth.so">
1745 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1747 # m_sqlauth.so is too complex it describe here, see the wiki: #
1748 # http://wiki.inspircd.org/Modules/sqlauth #
1750 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1751 # SQL oper module: Allows you to store oper credentials in an SQL table
1752 # This modules is in extras. Re-run configure with: ./configure --enable-extras=m_sqloper.cpp
1753 # and run make install, then uncomment this module to enable it.
1755 #<module name="m_sqloper.so">
1757 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1759 # dbid - Database ID to use (see m_sql) #
1760 # hash - Hashing provider to use for password hashing #
1762 # See also: http://wiki.inspircd.org/Modules/sqloper #
1764 #<sqloper dbid="1" hash="md5">
1766 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1767 # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be #
1768 # added/removed by Services. #
1769 #<module name="m_svshold.so">
1771 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1772 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1773 # This module is oper-only.
1774 # To use, SWHOIS must be in one of your oper class blocks.
1775 #<module name="m_swhois.so">
1777 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1778 # Test module: enable this to create a command useful in testing
1779 # flood control. To avoid accidental use on live networks, the server
1780 # name must contain ".test" to load the module
1781 #<module name="m_testnet.so">
1783 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1784 # Timed bans module: Adds timed channel bans and the /TBAN command
1785 #<module name="m_timedbans.so">
1787 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1788 # Test line module: Adds the /TLINE command, used to test how many
1789 # users a /GLINE or /ZLINE etc would match.
1790 # This module is oper-only.
1791 # To use, TLINE must be in one of your oper class blocks.
1792 #<module name="m_tline.so">
1794 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1795 # Topiclock module: implements server-side topic locking to achieve deeper
1796 # integration with services packages.
1797 #<module name="m_topiclock.so">
1799 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1800 # UHNAMES support module: Adds support for the IRCX style UHNAMES
1801 # extension, which displays ident and hostname in the names list for
1802 # each user, saving clients from doing a WHO on the channel. Note that
1803 # this module is not widely supported yet. If a client does not support
1804 # UHNAMES it will not enable it, this will not break incompatible
1806 #<module name="m_uhnames.so">
1808 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1809 # Uninvite module: Adds the /UNINVITE command which lets users remove
1810 # pending invites from channels without waiting for the user to join.
1811 #<module name="m_uninvite.so">
1813 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1814 # Userip module: Adds the /USERIP command
1815 # This module is oper-only.
1816 # To use, USERIP must be in one of your oper class blocks.
1817 #<module name="m_userip.so">
1819 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1820 # Vhost module: Adds the VHOST command which allows for adding virtual
1821 # hosts which are accessible using a username and password in the config.
1822 #<module name="m_vhost.so">
1824 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1826 # user - Username for the vhost. #
1828 # pass - Password for the vhost. #
1830 # hash - The hash for the specific user (optional) #
1831 # m_password_hash.so and a hashing module must be loaded #
1832 # for this to work. #
1834 # host - Vhost to set. #
1836 #<vhost user="some_username" pass="some_password" host="some.host">
1837 #<vhost user="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" host="some.other.host">
1839 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1840 # Watch module: Adds the WATCH command, which is used by clients to
1841 # maintain notify lists.
1842 #<module name="m_watch.so">
1844 # Configuration tags:
1846 #<watch maxentries="32">
1848 # Sets the maximum number of entries on a user's watch list.
1850 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1851 # XLine database: Stores all *Lines (G/Z/K/R/any added by other modules)
1852 # in a file "xline.db" which can be re-loaded on restart. This is useful
1853 # for two reasons: it keeps bans so users may not evade them, and on
1854 # bigger networks, server connections will take less time as there will
1855 # be a lot less bans to apply - as most of them will already be there.
1856 #<module name="m_xline_db.so">
1858 # Specify the filename for the xline database here
1859 #<xlinedb filename="data/xline.db">
1861 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1862 # ____ _ _____ _ _ ____ _ _ _ #
1863 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
1864 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
1865 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
1866 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
1868 # To link servers to InspIRCd, you MUST load the m_spanningtree #
1869 # module. If you don't do this, server links will NOT work at all. #
1870 # This is by design, to allow for the implementation of other linking #
1871 # protocols in modules in the future. #
1874 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1875 # Spanning Tree module - allows linking of servers using the spanning
1876 # tree protocol (see the READ THIS BIT section above).
1877 # You will almost always want to load this.
1879 #<module name="m_spanningtree.so">