1 ########################################################################
3 # ___ ___ ____ ____ _ #
4 # |_ _|_ __ ___ _ __|_ _| _ \ / ___|__| | #
5 # | || '_ \/ __| '_ \| || |_) | | / _` | #
6 # | || | | \__ \ |_) | || _ <| |__| (_| | #
7 # |___|_| |_|___/ .__/___|_| \_\\____\__,_| #
10 # / ___|___ _ __ / _(_) __ _ _ _ _ __ __ _| |_(_) ___ _ __ #
11 # | | / _ \| '_ \| |_| |/ _` | | | | '__/ _` | __| |/ _ \| '_ \ #
12 # | |__| (_) | | | | _| | (_| | |_| | | | (_| | |_| | (_) | | | | #
13 # \____\___/|_| |_|_| |_|\__, |\__,_|_| \__,_|\__|_|\___/|_| |_| #
16 ##################################||####################################
18 ##################################||####################################
20 # This is an example of the config file for InspIRCd. #
21 # Change the options to suit your network #
23 # Last updated on : 09/01/2006 #
24 # Written by : CC (cc@backchat.co.za) #
25 # Updated by : katsklaw (katsklaw@gmail.com) #
26 # Updated by : brain (brain@inspircd.org) #
28 # ____ _ _____ _ _ ____ _ _ _ #
29 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
30 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
31 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
32 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
34 # Lines prefixed with READ THIS BIT, as shown above, are IMPORTANT #
35 # lines, and you REALLY SHOULD READ THEM. Yes, THIS MEANS YOU. Even #
36 # if you've configured InspIRCd before, these probably indicate #
37 # something new or different to this version and you SHOULD READ IT. #
39 ########################################################################
43 #-#-#-#-#-#-#-#-#-#-#-#- SERVER DESCRIPTION -#-#-#-#-#-#-#-#-#-#-#-#-
45 # Here is where you enter the information about your server. #
47 # Syntax is as follows: #
49 # <server name="server.name" #
50 # description="Server Description" #
51 # network="MyNetwork"> #
54 <server name="penguin.omega.org.za"
55 description="Waddle World"
59 #-#-#-#-#-#-#-#-#-#-#-#- ADMIN INFORMATION -#-#-#-#-#-#-#-#-#-#-#-#
61 # Describes the Server Administrator's real name, nick #
62 # and email address. #
64 # Syntax is as follows: #
65 # <admin name="real name" #
67 # email="email@address.com"> #
70 <admin name="Johnny English"
72 email="MI5@the.best.secret.agent">
75 #-#-#-#-#-#-#-#-#-#-#-#- PORT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
77 # Enter the port and address bindings here. #
79 # bind address - specifies which the address which ports bind #
80 # port - opens an unused port #
81 # type - can be 'clients' or 'servers'. The clients type is #
82 # a standard tcp based socket, the servers type is a #
83 # also a TCP based connection but of a different #
85 # ____ _ _____ _ _ ____ _ _ _ #
86 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
87 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
88 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
89 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
91 # If you want to link servers to InspIRCd you must load the #
92 # m_spanningtree module! Please see the modules list below for #
93 # information on how to load this module! If you do not load this #
94 # module, server ports will NOT be bound! #
96 # Leaving address empty binds to all available interfaces #
98 # Syntax is as follows: #
100 # <bind address="ip number" port="port" type="clients"> #
101 # <bind address="ip number" port="port" type="servers"> #
104 <bind address="" port="6660" type="clients">
105 <bind address="" port="7000" type="servers">
106 <bind address="" port="7001" type="servers">
109 #-#-#-#-#-#-#-#-#-#- DIE/RESTART CONFIGURATION -#-#-#-#-#-#-#-#-#-#-
111 # You can configure the passwords here which you wish to use for #
112 # the die and restart commands. Only trusted ircops who will #
113 # need this ability should know the die and restart password. #
115 # Syntax is as follows: #
116 # <power diepass="die password" restartpass="restart password" #
117 # pause="secs before dying"> #
120 <power diepass="diepass" restartpass="restartpass" pause="2">
123 #-#-#-#-#-#-#-#-#-# INCLUDE CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#-#
125 # This optional tag allows you to include another config file #
126 # allowing you to keep your configuration tidy. The configuration #
127 # file you include will be treated as part of the configuration file #
128 # which includes it, in simple terms the inclusion is transparent. #
130 # All paths to config files are relative to the directory of the main #
131 # config file inspircd.conf, unless the filename starts with a forward#
132 # slash (/) in which case it is treated as an absolute path. #
134 # Syntax is as follows: #
135 # <include file="file.conf"> #
138 #-#-#-#-#-#-#-#-#-#- CONNECTIONS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
140 # This is where you can configure which connections are allowed #
141 # and denied access onto your server. #
142 # The password is optional. #
143 # You may have as many of these as you require. #
144 # To allow/deny all connections use a * #
146 # Syntax is as follows: #
148 # <connect allow="ip mask"> #
149 # <connect allow="ip mask" password="blahblah"> #
150 # <connect allow="ip mask" password="blah" timeout="10"> #
151 # <connect allow="ip mask" timeout="blah" flood="5"> #
152 # <connect allow="ip mask" threshold="8" pingfreq="120"> #
153 # <connect allow="ip mask" sendq="99999" revcq="696969"> #
154 # <connect allow="ip mask" maxlocal="3" maxglobal="3"> #
155 # <connect deny="ip mask"> #
157 # You may optionally include timeout="x" on any allow line, which #
158 # specifies the amount of time given before an unknown connection #
159 # is closed if USER/NICK/PASS are not given. This value is in secs #
161 # You should also include a flood="x" line which indicates #
162 # the number of lines a user may place into their buffer at once #
163 # before they are disconnected for excess flood. The default is to #
164 # DISABLE this feature. A recommended value is 10. A counter is #
165 # maintained for each user which is reset every 'threshold' seconds #
166 # and specifying this threshold value with threshold="X" indicates #
167 # how often the counter is reset. For example, with flood="5" and #
168 # threshold="8", the user may not send more than 5 lines in 8 secs. #
170 # You may optionally specify the sendq size and ping frequency of #
171 # each connect:allow line using the pingfreq="X" and sendq="X" #
172 # settings as shown in the full example below. #
173 # The ping frequency is specified in seconds, and the sendq size #
174 # in bytes. It is recommended, although not enforced, that you #
175 # should never set your sendq size to less than 8k. Send Queues are #
176 # dynamically allocated and can grow as needed up to the maximum #
179 # The optional recvq value is the maximum size which users in this #
180 # group may grow their receive queue to. This is recommended to be #
181 # kept pretty low compared to the sendq, as users will always #
182 # recieve more than they send in normal circumstances. The default #
183 # if not specified is 4096. #
185 # IMPORTANT NOTE, CALL THE CONFUSION POLICE! #
186 # The sendq is the data waiting to be sent TO THE USER. #
187 # The recvq is the data being received FROM THE USER. #
188 # The names sendq and recvq are from the SERVER'S PERSPECTIVE not #
189 # that of the user... Just to clear up any confusion or complaints #
190 # that these are backwards :p #
192 # The maxlocal and maxglobal values can be used to enforce local #
193 # and global session limits on connections. The session limits are #
194 # counted against all users, but applied only to users within the #
195 # class. For example, if you had a class 'A' which has a session #
196 # limit of 3, and a class 'B' which has a session limit of 5, and #
197 # somehow, two users managed to get into class B which also match #
198 # class A, there is only one connection left for this IP now in A, #
199 # but if they can connect again to B, there are three. You get the #
203 <connect allow="196.12.*" password="secret">
204 <connect allow="*" timeout="60" flood="10" threshold="60" pingfreq="120" sendq="262144" recvq="4096" maxlocal="3" maxglobal="3">
206 <connect deny="69.254.*">
209 #-#-#-#-#-#-#-#-#-#-#-#- CLASS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
211 # Classes are a group of commands which are grouped together #
212 # and given a unique name. They used to define which commands #
213 # are available to certain types of Operators. #
215 # Syntax is as follows: #
217 # <class name="name" commands="oper commands"> #
219 # ____ _ _____ _ _ ____ _ _ _ #
220 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
221 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
222 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
223 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
225 # You are not forced to give these classes the names given below. #
226 # You can create your own named classes, if you want, in fact that #
227 # is the whole idea of this system! #
230 <class name="Shutdown" commands="DIE RESTART REHASH">
231 <class name="ServerLink" commands="CONNECT SQUIT">
232 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
233 <class name="OperChat" commands="WALLOPS GLOBOPS">
234 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME">
237 #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-#
239 # This is where you specify which types of operators you have on #
240 # your server, as well as the commands they are allowed to use. #
241 # This works alongside with the classes specified above. #
243 # type name - a name for the combined class types #
245 # classes - specified above, used for flexibility for the #
246 # server admin to decide on which operators get #
249 # host - optional hostmask operators will recieve on oper-up. #
251 # Syntax is as follows: #
253 # <type name="name" classes="class name" host="oper hostmask"> #
255 # ____ _ _____ _ _ ____ _ _ _ #
256 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
257 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
258 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
259 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
261 # You are not forced to give these types the names given below. #
262 # You can create your own named types, if you want, in fact that #
263 # is the whole idea of this system! #
266 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
267 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
268 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
271 #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
273 # Opers are defined here. This is a very important section. #
274 # Remember to only make operators out of truthworthy people. #
276 # name - oper name, best to use lower-case #
278 # password - password to oper-up, #
279 # encryption not supported by inspircd. However, there #
280 # are modules that allow for oper password encryption. #
282 # host - host of client allowed to oper-up. #
283 # wildcards accepted #
285 # type - specified above, defines the kind of operator #
287 # Syntax is as follows: #
288 # <oper name="login" #
290 # host="hostmask@of.oper" #
291 # type="oper type"> #
294 <oper name="katsklaw"
300 #-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
302 # Defines which servers can link to this one, and which servers this #
303 # server may create outbound links to. #
305 # name - The name is the canocial name of the server, does #
306 # not have to resolve - but it is expected to be sent #
307 # in the remote servers connection info. #
308 # ipaddr - Valid host or ip address for remote server. * #
310 # port - The TCP port for the remote server. #
312 # sendpass - Password to send to create an outbound connection #
315 # recvpass - Password to receive to accept an inbound connection #
316 # from this server. #
318 # autoconnect - Sets the server to autoconnect. Where x is the num. #
319 # (optional) of seconds between attempts. e.g. 300 = 5 minutes. #
321 # encryptionkey - Encryption key to be used for AES encryption, where #
322 # supported. Links using the spanning tree protocol #
323 # support AES. The encryption key must be EXACTLY 8, #
324 # 16 or 32 characters in length for a 64, 128 or 256 #
325 # bit key, respectively. #
327 # hidden - When using m_spanningtree.so for linking. you may #
328 # set this to 'yes', and if you do, the IP address/ #
329 # hostname of this connection will NEVER be shown to #
330 # any opers on the network. In /STATS c its address #
331 # will show as *@<hidden>, and during CONNECT and #
332 # inbound connections, its IP will show as <hidden> #
333 # UNLESS the connection fails (e.g. due to a bad #
334 # password or servername) #
336 # to u:line a server (give it extra privilages required for running #
337 # services, Q, etc) you must include the <uline server> tag as shown #
338 # in the example below. You can have as many of these as you like. #
340 # WARNING: Unlike other ircds, u:lining a server allows ALL users on #
341 # that server to operoverride modes. This should only be used for #
342 # services and protected oper servers! #
344 # IMPORTANT NOTE: When specifying the ip address and/or host, the #
345 # server software will prioritize RESOLVED hostnames above ip #
346 # addresses, so for example if your target server resolves to a.b.com #
347 # you MUST put a.b.com into your link block, and NOT the IP address #
348 # of a.b.com. The system uses reverse resolution. #
350 # ____ _ _____ _ _ ____ _ _ _ #
351 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
352 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
353 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
354 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
356 # If you want to link servers to InspIRCd you must load the #
357 # m_spanningtree module! Please see the modules list below for #
358 # information on how to load this module! If you do not load this #
359 # module, server links will NOT work! #
362 <link name="hub.penguin.org"
363 ipaddr="penguin.box.com"
366 sendpass="outgoing!password"
367 recvpass="incoming!password">
369 <link name="services.antarctic.com"
373 recvpass="polarbears">
375 <uline server="services.antarctic.com">
378 #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
380 # These options let you define the path to your motd and rules #
384 <files motd="/home/cc/inspircd/conf/inspire.motd"
385 rules="/home/cc/inspircd/conf/inspire.rules">
387 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
389 # Define your DNS server address here. InspIRCd has its own resolver #
390 # and you must define this otherwise nobody's host will resolve. The #
391 # timeout value is in seconds. #
393 # ____ _ _____ _ _ ____ _ _ _ #
394 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
395 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
396 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
397 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
399 # When choosing a server, be sure to choose one which will do a #
400 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these #
401 # recursive lookups itself, to save time and resources. The dns #
402 # server recommended by the InspIRCd team is bind, available from the #
403 # ISC website. If your DNS server does not do a recursive lookup, you #
404 # will be able to notice this by the fact that none of your users are #
405 # resolving even though the DNS server appears to be up! Most ISP and #
406 # hosting provider DNS servers support recursive lookups. #
409 <dns server="127.0.0.1" timeout="5">
411 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# PID FILE -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
413 # Define the path to the PID file here. The PID file can be used to #
414 # rehash the ircd from the shell or to terminate the ircd from the #
415 # shell using shell scripts, perl scripts etc, and to monitor the #
416 # ircd's state via cron jobs. #
419 <pid file="/path/to/inspircd.pid">
421 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
423 # Use these tags to customise the ban limits on a per channel basis. #
424 # the tags are read from top to bottom, and any tag found which #
425 # matches the channels name applies the banlimit to that channel. #
426 # It is advisable to put an entry with the channel as '*' at the #
427 # bottom of the list. If none are specified or no maxbans tag is #
428 # matched, the banlist size defaults to 64 entries. #
431 <banlist chan="#morons" limit="128">
432 <banlist chan="*" limit="69">
434 #-#-#-#-#-#-#-#-#-#-#- DISABLED COMMANDS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
436 # This tag is optional, and specifies one or more commands which are #
437 # not available to non-operators. For example you may wish to disable #
438 # NICK and prevent non-opers from changing their nicknames. #
439 # Note that any disabled commands take effect only after the user has #
440 # 'registered' (e.g. after the initial USER/NICK/PASS on connection) #
441 # so for example disabling NICK will not cripple your network. #
443 # <disabled commands="TOPIC MODE"> #
447 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#- RTFM LINE -#-#-#-#-#-#-#-#-#-#-#-#-#-#
449 # Just remove this... Its here to make you read ALL of the config #
452 <die value="You should probably edit your config *PROPERLY* and try again.">
456 #-#-#-#-#-#-#-#-#-#-#-#-#- SERVER OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
458 # Settings to define which features are useable on your server. #
460 # prefixquit - a prefix for a client's quit message #
462 # loglevel - specifies what detail of messages to log in the #
463 # log file. You may select from debug, verbose, #
464 # default, sparse and none. #
465 # allowhalfop - allows the +h channel mode #
467 # noservices - If noservices is true, yes, or 1, then the first #
468 # user into a channel gets founder status. This is #
469 # only useful on networks running the m_chanprotect #
470 # module without services. #
472 # netbuffersize - size of the buffer used to receive data from #
473 # clients. The ircd may only read() this amount #
474 # of text in one go at any time. (OPTIONAL) #
476 # maxwho - The maximum number of results returned by a /WHO #
477 # query. This is to prevent /WHO being used as a #
478 # spam vector or means of flooding an ircd. The #
479 # default is 128, it is not recommended to raise it #
480 # above 1024. Values up to 65535 are permitted. #
482 # somaxconn - The maximum number of sockets that may be waiting #
483 # in the accept queue. This usually allows the ircd #
484 # to soak up more connections in a shorter space of #
485 # time when increased but please be aware there is a #
486 # system defined maximum value to this, the same way #
487 # there is a system defined maximum number of file #
488 # descriptors. Some systems may only allow this to #
489 # be up to 5 (ugh) while others such as FreeBSD will #
490 # default to a much nicer 128. #
492 # moduledir - This optional value indicates a runtime change of #
493 # the location where modules are to be found. This #
494 # does not add a supplementary directory. There can #
495 # only be one module path. #
497 # softlimit - This optional feature allows a defined softlimit. #
498 # if defined sets a soft maxconnections value, has #
499 # to be less than the ./configure maxclients #
501 # operonlystats - The operonlystats field is optional and specifies #
502 # which stats characters in /STATS may only be #
503 # requested by an IRC operator. Stats characters in #
504 # this field are case sensitive and enforced as #
505 # oper-only independent of if they are in a module #
508 # customversion - If you specify this configuration item, and it is #
509 # not set to an empty value, then when a user does #
510 # a /VERSION command on the ircd, this string will #
511 # be displayed as the second portion of the output, #
512 # replacing the system 'uname', compile flags and #
513 # socket engine/dns engine names. You may use this #
514 # to enhance security, or simply for vanity. #
516 # maxtargets - The maxtargets field is optional, and if not #
517 # defined, defaults to 20. It indicates the maximum #
518 # number of targets which may be given to commands #
519 # such as PRIVMSG, KICK etc. #
523 <options prefixquit="Quit: "
525 netbuffersize="10240"
530 operonlystats="oclgkz"
537 #-#-#-#-#-#-#-#-#-#-#-#-#- MODULE OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
539 # These tags define which modules will be loaded on startup by your #
540 # server. Add modules without any paths. When you make your ircd #
541 # using the 'make' command, all compiled modules will be moved into #
542 # the folder you specified when you ran ./configure. The module tag #
543 # automatically looks for modules in this location. #
544 # If you attempt to load a module outside of this location, either #
545 # in the config, or via /LOADMODULE, you will receive an error. #
547 # By default, ALL modules are commented out. You must uncomment them #
548 # or add lines to your config to load modules. Please refer to #
549 # http://www.inspircd.org/wiki/Modules_List for a list of modules and#
550 # each modules link for any additional conf tags they require. #
552 # WINDOWS USERS PLEASE NOTE: You can still load these modules! They #
553 # are incorporated into the executable and can be loaded and removed #
554 # similarly to if they were in a ramdisk. #
555 # ____ _ _____ _ _ ____ _ _ _ #
556 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
557 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
558 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
559 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
561 # To link servers to InspIRCd, you MUST load the m_spanningtree #
562 # module, as shown below. If you DO NOT do this, server links will #
563 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
564 # work properly. This is by design, to allow for the implementation #
565 # of other linking protocols in modules in the future. #
567 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
568 # Spanning Tree module - allows linking of servers using the spanning
569 # tree protocol (see the READ THIS BIT section above).
571 #<module name="m_spanningtree.so">
573 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
574 # Foobar module - does nothing
575 #<module name="m_foobar.so">
577 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
578 # Chanprotect module: gives +q and +a channel modes
579 #<module name="m_chanprotect.so">
581 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
582 # Globops module: gives /GLOBOPS and usermode +g
583 #<module name="m_globops.so">
585 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
586 # Noinvite module: Gives channel mode +V
587 #<module name="m_noinvite.so">
589 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
590 # Oper MD5 module: Allows MD5 hashed oper passwords
591 #<module name="m_opermd5.so">
593 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
594 # Restricted channels module: Allows only opers to create channels
595 #<module name="m_restrictchans.so">
597 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
598 # Deny Channels: Deny Channels from being used by users
599 #<module name="m_denychans.so">
601 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
602 # Services support module: Adds several usermodes such as +R and +M
603 #<module name="m_services.so">
605 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
606 # Userip module: Adds the /USERIP command
607 #<module name="m_userip.so">
609 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
610 # Alias module: Allows you to define server-side command aliases
611 #<module name="m_alias.so">
613 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
614 # CHGHOST module: Adds the /CHGHOST command
615 #<module name="m_chghost.so">
617 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
618 # HELPOP module: Provides the /HELPOP command
619 #<module name="m_helpop.so">
621 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
622 # No kicks module: Adds the +Q channel mode
623 #<module name="m_nokicks.so">
625 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
626 # Oper MOTD module: Provides support for seperate message of the day
628 #<module name="m_opermotd.so">
630 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
631 # Restrict message module: Allows users to only message opers
632 #<module name="m_restrictmsg.so">
634 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
635 # Sethost module: Adds the /SETHOST command
636 #<module name="m_sethost.so">
638 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
639 # Antibottler module: Labels bottler leech bots
640 #<module name="m_antibottler.so">
642 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
643 # Watch module: Adds the WATCH command, which is used by clients to
644 # maintain notify lists.
645 #<module name="m_watch.so">
647 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
648 # Cloaking module: Adds usermode +x and cloaking support
649 #<module name="m_cloaking.so">
651 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
652 # Hostchange module: Allows a different style of cloaking
653 #<module name="m_hostchange.so">
655 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
656 # No nicks module: Adds the +N channel mode
657 #<module name="m_nonicks.so">
659 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
660 # Override module: Adds support for oper override
661 #<module name="m_override.so">
663 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
664 # SAJOIN module: Adds the /SAJOIN command
665 #<module name="m_sajoin.so">
667 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
668 # Set Idle module: Adds a command for opers to change their
669 # idle time (mainly a toy)
670 #<module name="m_setidle.so">
672 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
673 # Block colour module: Adds the +c channel mode
674 #<module name="m_blockcolor.so">
676 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
677 # Conn-Lusers: Shows the LUSERS output on connect
678 #<module name="m_conn_lusers.so">
680 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
681 # Ident: Provides RFC 1413 ident lookup support
682 #<module name="m_ident.so">
684 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
685 # No Notice module: adds the channel mode +T
686 #<module name="m_nonotice.so">
688 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
689 # Parking module: Adds parking support and /PARK and /UNPARK
690 #<module name="m_park.so">
692 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
693 # SAMODE module: Adds the oper /SAMODE command
694 #<module name="m_samode.so">
696 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
697 # SETNAME module: Adds the /SETNAME command
698 #<module name="m_setname.so">
700 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
701 # Botmode module: Adds the user mode +B
702 #<module name="m_botmode.so">
704 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
705 # Filter module: Provides glob-based message filtering
706 #<module name="m_filter.so">
708 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
709 # Knock module: adds the /KNOCK command and +K channel mode
710 #<module name="m_knock.so">
712 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
713 # Oper channels mode: Adds the +O channel mode
714 #<module name="m_operchans.so">
716 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
717 # Random Quote module: provides a random quote on connect
718 #<module name="m_randquote.so">
720 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
721 # SANICK module: Allows opers to change user's nicks
722 #<module name="m_sanick.so">
724 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
725 # Show Whois module: Adds the +W usermode which allows opers
726 # to see when they are whois'ed
727 #<module name="m_showwhois.so">
729 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
730 # Strip colour module: Adds the channel mode +S
731 #<module name="m_stripcolor.so">
733 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
734 # Censor module: Adds the channel mode +G
735 #<module name="m_censor.so">
737 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
738 # Nick locking module: Adds the oper-only /NICKLOCK command
739 #<module name="m_nicklock.so">
741 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
742 # Oper Join module: Forces opers to join a channel on oper-up
743 #<module name="m_operjoin.so">
745 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
746 # Redirect module: Adds channel redirection (mode +L)
747 #<module name="m_redirect.so">
749 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
750 # SAPART module: Adds the oper /SAPART command
751 #<module name="m_sapart.so">
753 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
754 # SILENCE module: Adds support for /SILENCE
755 #<module name="m_silence.so">
757 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
758 # Test command module: Does nothing significant
759 #<module name="m_testcommand.so">
761 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
762 # Channel filter module: Allows channel-op defined message
763 # filtering using simple string matches (channel mode +g)
764 #<module name="m_chanfilter.so">
766 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
767 # No ctcp module: Adds the channel mode +C to block CTCPs
768 #<module name="m_noctcp.so">
770 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
771 # Oper levels module: Gives each oper a level and prevents
772 # actions being taken against higher level opers
773 #<module name="m_operlevels.so">
775 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
776 # Remove module: Adds the /REMOVE command which is a peaceful
777 # alternative to /KICK
778 #<module name="m_remove.so">
780 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
781 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
782 #<module name="m_saquit.so">
784 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
785 # Timed bans module: Adds timed bans and the /TBAN command
786 #<module name="m_timedbans.so">
788 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
789 # Oper modes module: Allows you to specify modes to add/remove on oper
790 #<module name="m_opermodes.so">
792 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
793 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
794 #<module name="m_swhois.so">
796 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
797 # Ban except module: Adds support for channel ban exceptions (+e)
798 #<module name="m_banexception.so">
800 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
801 # Invite except module: Adds support for channel invite exceptions (+I)
802 #<module name="m_inviteexception.so">
804 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
805 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
806 # if enabled. You must copy the source for this module from the directory
807 # src/modules/extra, or answer 'yes' in ./configure when asked if you
808 # want to enable this, or it will not load.
809 #<module name="m_ssl_gnutls.so">
811 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
812 # SSL channel mode module: Adds support for SSL-only channels (+z).
813 # does not do anything useful without a working SSL module (see above)
814 #<module name="m_sslmodes.so">
816 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
817 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
818 #<module name="m_kicknorejoin.so">
821 #-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
823 # Optional - If you specify to use the m_filter.so module, then #
824 # specfiy below the path to the filter.conf file. #
826 #<filter file="/path/to/inspircd/filter.conf">
829 #-#-#-#-#-#-#-#-#-#-#-#- HELPOP CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
831 # Optional - If you specify to use the m_helpop.so module, then #
832 # specify below the path to the helpop.conf file. #
834 <die value="If you used the helpop include above then do *NOT* use this tag.">
835 #<helpop file="/path/to/inspircd/helpop.conf">
838 #-#-#-#-#-#-#-#-#-#- RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
840 # Optional - If you specify to use the m_randquotes.so module, then #
841 # specify below the path to the randquotes.conf file. #
843 #<randquote file="/path/to/inspircd/randquotes.conf">
845 #-#-#-#-#-#-#-#-#-#-#-#- IDENT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
847 # Optional - If you are using the m_ident.so module, then you can #
848 # specify the timeout for ident lookups here. If not defined, it will #
849 # default to one second. This is a non-blocking timeout which holds #
850 # the user in a 'connecting' state until the lookup is complete. #
854 #-#-#-#-#-#-#-#-#-#-#-#-#-#- BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
856 # The ban tags define nick masks, host masks and ip ranges which are #
857 # banned from your server. All details in these tags are local to #
861 # badip lines ban an ip range (same as a zline) #
863 # ipmask - The ip range to ban (wildcards possible) #
864 # reason - Reason to display when disconnected #
866 # badnick lines ban a nick mask (same as a qline) #
868 # nick - Nick mask to ban (wildcards possible) #
869 # reason - Reason to display on /NICK #
871 # badhost lines ban a user@host mask (same as a kline) #
873 # host - ident@hostname (wildcards possible) #
874 # reason - Reason to display on disconnection #
876 # exception lines define a hostmask that is excempt from [kzg]lines #
878 # host - ident@hostname (wildcards possible) #
879 # reason - Reason, shown only in /stats e #
882 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
884 <badnick nick="ChanServ" reason="Reserved For Services">
885 <badnick nick="NickServ" reason="Reserved For Services">
886 <badnick nick="OperServ" reason="Reserved For Services">
887 <badnick nick="MemoServ" reason="Reserved For Services">
889 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
890 <badhost host="*@localhost" reason="No irc from localhost!">
892 <exception host="*@ircop.host.com" reason="Opers hostname">
894 #-#-#-#-#-#-#-#-#-#-#- ALIAS DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
896 # If you have the m_alias.so module loaded, you may also define #
897 # aliases as shown below. They are commonly used to provide shortcut #
898 # commands to services, however they are not limited to jsut this use.#
899 # An alias tag requires the following values to be defined in it: #
901 # text - The text to detect at the start of the line, #
902 # must be at the start of the line to trigger the #
903 # alias. May contain spaces, but case insensitive. #
904 # replace - The text to replace 'text' with. Usually this #
905 # will be "PRIVMSG ServiceName" or similar. #
906 # requires - If you provide a value for 'requires' this means #
907 # the given nickname MUST be online for the alias #
908 # to successfully trigger. If they are not, then #
909 # the user receives a 'no such nick' 401 numeric. #
910 # uline - Defining this value with 'yes', 'true' or '1' #
911 # will ensure that the user given in 'requires' #
912 # must also be on a u-lined server, as well as #
913 # actually being on the network. If the user is #
914 # online, but not on a u-lined server, then an #
915 # oper-alert is sent out as this is possibly signs #
916 # of a user trying to impersonate a service. #
919 <alias text="NICKSERV" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
920 <alias text="CHANSERV" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
921 <alias text="NS" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
922 <alias text="CS" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
924 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
926 # You should already know what to do here :) #
928 <die value="You should probably edit your config *PROPERLY* and try again.">
931 #########################################################################
933 # - InspIRCd Development Team - #
934 # http://www.inspircd.org #
936 #########################################################################