Advertisement
Guest User

Untitled

a guest
Sep 19th, 2015
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.17 KB | None | 0 0
  1. #-#-#-#-#-#-#-#-#-#-#-#-#- MODULE OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
  2. # #
  3. # These tags define which modules will be loaded on startup by your #
  4. # server. Add modules without any paths. When you make your ircd #
  5. # using the 'make' command, all compiled modules will be moved into #
  6. # the folder you specified when you ran ./configure. The module tag #
  7. # automatically looks for modules in this location. #
  8. # If you attempt to load a module outside of this location, either #
  9. # in the config, or via /LOADMODULE, you will receive an error. #
  10. # #
  11. # By default, ALL modules are commented out. You must uncomment them #
  12. # or add lines to your config to load modules. Please refer to #
  13. # http://wiki.inspircd.org/Modules for a list of modules and #
  14. # each modules link for any additional conf tags they require. #
  15. # #
  16. # ____ _ _____ _ _ ____ _ _ _ #
  17. # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
  18. # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
  19. # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
  20. # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
  21. # #
  22. # To link servers to InspIRCd, you MUST load the m_spanningtree #
  23. # module. If you don't do this, server links will NOT work at all. #
  24. # This is by design, to allow for the implementation of other linking #
  25. # protocols in modules in the future. This module is at the bottom of #
  26. # this file. #
  27. # #
  28.  
  29. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  30. # MD5 module: Allows other modules to generate MD5 hashes, usually for
  31. # cryptographic uses and security.
  32. #
  33. # IMPORTANT:
  34. # Other modules such as m_cloaking.so and m_password_hash.so may rely on
  35. # this module being loaded to function.
  36. #
  37. <module name="m_md5.so">
  38. #
  39. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  40. # SHA256 module: Allows other modules to generate SHA256 hashes,
  41. # usually for cryptographic uses and security.
  42. #
  43. # IMPORTANT:
  44. # Other modules such as m_password_hash.so may rely on this module being
  45. # loaded to function. Certain modules such as m_spanningtree.so will
  46. # function without this module but when it is loaded their features will
  47. # be enhanced (for example the addition of HMAC authentication).
  48. #
  49. <module name="m_sha256.so">
  50. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  51. # RIPEMD160 module: Allows other modules to generate RIPEMD160 hashes,
  52. # usually for cryptographic uses and security.
  53. #
  54. # IMPORTANT:
  55. # Other modules may rely on this module being loaded to function.
  56. #<module name="m_ripemd160.so">
  57.  
  58. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  59. # Abbreviation module: Provides the ability to abbreviate commands a-la
  60. # BBC BASIC keywords.
  61. #<module name="m_abbreviation.so">
  62.  
  63. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  64. # Alias module: Allows you to define server-side command aliases.
  65. <module name="m_alias.so">
  66. #
  67. # Set the 'prefix' for in-channel aliases (fantasy commands) to the
  68. # specified character. If not set, the default is "!".
  69. # If 'allowbots' is disabled, +B clients will not be able to use
  70. # fantasy commands. If not set, the default is no.
  71. #<fantasy prefix="!" allowbots="no">
  72. #
  73. #-#-#-#-#-#-#-#-#-#-#- ALIAS DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
  74. # #
  75. # If you have the m_alias.so module loaded, you may also define #
  76. # aliases as shown below. They are commonly used to provide shortcut #
  77. # commands to services, however they are not limited to just this use.#
  78. # An alias tag requires the following values to be defined in it: #
  79. # #
  80. # text - The text to detect as the actual command line. #
  81. # Can't contain spaces, but case insensitive. #
  82. # You may have multiple aliases with the same #
  83. # command name (text="" value), however the first #
  84. # found will be executed if its format value is #
  85. # matched, or it has no format value. Aliases are #
  86. # read from the top of the file to the bottom. #
  87. # #
  88. # usercommand - If this is true, the alias can be run simply as #
  89. # /aliasname. Defaults to true. #
  90. # #
  91. # channelcommand - If this is true, the alias can be used as an #
  92. # in-channel alias or 'fantasy command', prefixed #
  93. # by the fantasy prefix character, !aliasname by #
  94. # default. Defaults to false. #
  95. # #
  96. # format - If this is defined, the parameters of the alias #
  97. # must match this glob pattern. For example if you #
  98. # want the first parameter to start with a # for #
  99. # the alias to be executed, set format="#*" in the #
  100. # alias definition. Note that the :'s which are #
  101. # part of IRC formatted lines will be preserved #
  102. # for matching of this text. This value is #
  103. # optional. #
  104. # #
  105. # replace - The text to replace 'text' with. Usually this #
  106. # will be "PRIVMSG ServiceName :$2-" or similar. #
  107. # You may use the variables $1 through $9 in the #
  108. # replace string, which refer to the first through #
  109. # ninth word in the original string typed by the #
  110. # user. You may also use $1- through $9- which #
  111. # refer to the first word onwards, through to the #
  112. # ninth word onwards, e.g. if the user types the #
  113. # command "foo bar baz qux quz" then $3- will hold #
  114. # "baz qux quz" and $2 will contain "bar". You may #
  115. # also use the special variables: $nick, $ident, #
  116. # $host and $vhost, and you may separate multiple #
  117. # commands with a newline (which can be written in #
  118. # the file literally, or encoded as &nl; or \n #
  119. # depending on the config format setting). #
  120. # #
  121. # requires - If you provide a value for 'requires' this means #
  122. # the given nickname MUST be online for the alias #
  123. # to successfully trigger. If they are not, then #
  124. # the user receives a 'no such nick' 401 numeric. #
  125. # #
  126. # uline - Setting this to true will ensure that the user #
  127. # given in 'requires' is also on a u-lined server, #
  128. # as well as actually being on the network. If the #
  129. # user is online, but not on a u-lined server, #
  130. # then an oper alert is sent out as this is #
  131. # possibly a sign of a user trying to impersonate #
  132. # a service. #
  133. # #
  134. # operonly - If true, this will make the alias oper only. #
  135. # If a non-oper attempts to use the alias, it will #
  136. # appear to not exist. #
  137. # #
  138. <alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
  139. <alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
  140. <alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
  141. <alias text="BOTSERV" replace="PRIVMSG BotServ :$2-" requires="BotServ" uline="yes">
  142. <alias text="HOSTSERV" replace="PRIVMSG HostServ :$2-" requires="HostServ" uline="yes">
  143. <alias text="MEMOSERV" replace="PRIVMSG MemoServ :$2-" requires="MemoServ" uline="yes">
  144. <alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
  145. <alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
  146. <alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
  147. <alias text="BS" replace="PRIVMSG BotServ :$2-" requires="BotServ" uline="yes">
  148. <alias text="HS" replace="PRIVMSG HostServ :$2-" requires="HostServ" uline="yes">
  149. <alias text="MS" replace="PRIVMSG MemoServ :$2-" requires="MemoServ" uline="yes">
  150. #
  151. # An example of using the format value to create an alias with two
  152. # different behaviours depending on the format of the parameters.
  153. #
  154. <alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
  155. # requires="ChanServ" uline="yes">
  156. #
  157. <alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
  158. # requires="NickServ" uline="yes">
  159. #
  160. # This alias fixes a glitch in xchat 2.6.x and above and the way it
  161. # assumes IDENTIFY must be prefixed by a colon (:) character. It should
  162. # be placed ABOVE the default NICKSERV alias (the first example) listed
  163. # above.
  164. #
  165. #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
  166. # requires="NickServ" uline="yes">
  167. #
  168. # You may also add aliases to trigger based on something said in a
  169. # channel, aka 'fantasy' commands, configured in the same manner as any
  170. # other alias, with usercommand="no" and channelcommand="yes" The
  171. # command must be preceded by the fantasy prefix when used.
  172. #
  173. <alias text="CS" usercommand="no" channelcommand="yes"
  174. # replace="PRIVMSG ChanServ :$1 $chan $2-" requires="ChanServ" uline="yes">
  175. #
  176. # This would be used as "!cs <command> <options>", with the channel
  177. # being automatically inserted after the command in the message to
  178. # ChanServ, assuming the fantasy prefix is "!".
  179.  
  180. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  181. # Allowinvite module: Gives channel mode +A to allow all users to use
  182. # /INVITE, and extban A to deny invite from specific masks.
  183. <module name="m_allowinvite.so">
  184.  
  185. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  186. # Alltime module: Shows time on all connected servers at once.
  187. # This module is oper-only and provides /ALLTIME.
  188. # To use, ALLTIME must be in one of your oper class blocks.
  189. <module name="m_alltime.so">
  190.  
  191. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  192. # Auditorium module: Adds channel mode +u which makes everyone else
  193. # except you in the channel invisible, used for large meetings etc.
  194. <module name="m_auditorium.so">
  195. #
  196. # Auditorium settings:
  197. #
  198. #<auditorium opvisible="no" opcansee="no" opercansee="yes">
  199. #
  200. # opvisible (auditorium-vis in exemptchanops):
  201. # Show channel ops to all users
  202. # opcansee (auditorium-see in exemptchanops):
  203. # Allow ops to see all joins/parts/kicks in the channel
  204. # opercansee:
  205. # Allow opers (channels/auspex) to see see all joins/parts/kicks in the channel
  206. #
  207. # Exemptchanops can be used to adjust the level at which users become visible or
  208. # the level at which they can see the full member list of the channel.
  209.  
  210. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  211. # Autoop module: Adds basic channel access controls via the +w listmode.
  212. # For example +w o:*!Attila@127.0.0.1 will op anyone matching that mask
  213. # on join. This can be combined with extbans, for example +w o:R:Brain
  214. # will op anyone identified to the account "Brain".
  215. # Another useful combination is with SSL client certificate
  216. # fingerprints: +w h:z:72db600734bb9546c1bdd02377bc21d2a9690d48 will
  217. # give halfop to the user(s) having the given certificate.
  218. <module name="m_autoop.so">
  219.  
  220. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  221. # Ban except module: Adds support for channel ban exceptions (+e).
  222. <module name="m_banexception.so">
  223.  
  224. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  225. # Ban redirection module: Allows bans which redirect to a specified
  226. # channel. e.g. +b nick!ident@host#channelbanneduserissentto
  227. #<module name="m_banredirect.so">
  228.  
  229. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  230. # Block amsg module: Attempt to block all usage of /amsg and /ame.
  231. <module name="m_blockamsg.so">
  232. #
  233. #-#-#-#-#-#-#-#-#-#-#- BLOCKAMSG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  234. # #
  235. # If you have the m_blockamsg.so module loaded, you can configure it #
  236. # with the <blockamsg> tag: #
  237. # #
  238. # delay - How many seconds between two messages to force #
  239. # them to be recognised as unrelated. #
  240. # action - Any of 'notice', 'noticeopers', 'silent', 'kill' #
  241. # or 'killopers'. Define how to take action when #
  242. # a user uses /amsg or /ame. #
  243. #
  244. <blockamsg delay="3" action="killopers">
  245.  
  246. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  247. # Block CAPS module: Adds channel mode +B, blocks all-CAPS messages.
  248. <module name="m_blockcaps.so">
  249. #
  250. #-#-#-#-#-#-#-#-#-#-#- BLOCKCAPS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  251. # #
  252. # percent - How many percent of text must be caps before text #
  253. # will be blocked. #
  254. # #
  255. # minlen - The minimum length a line must be for the block #
  256. # percent to have any effect. #
  257. # #
  258. # capsmap - A list of chars to be considered CAPS. Can be used #
  259. # to add CAPS characters for your language. Also you #
  260. # can add things like ! and space to further lock #
  261. # down on caps usage. #
  262. <blockcaps percent="50"
  263. minlen="5"
  264. capsmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ! ">
  265.  
  266. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  267. # Block color module: Blocking color-coded messages with chan mode +c.
  268. <module name="m_blockcolor.so">
  269.  
  270. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  271. # Botmode module: Adds the user mode +B. If set on a user, it will
  272. # show that the user is a bot in /WHOIS.
  273. <module name="m_botmode.so">
  274.  
  275. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  276. # CallerID module: Adds usermode +g which activates hybrid-style
  277. # callerid: block all private messages unless you /ACCEPT first.
  278. <module name="m_callerid.so">
  279. #
  280. #-#-#-#-#-#-#-#-#-#-#- CALLERID CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  281. # maxaccepts - Maximum number of entries a user can add to his #
  282. # /ACCEPT list. Default is 16 entries. #
  283. # operoverride - Can opers (note: ALL opers) override callerid? #
  284. # Default is no. #
  285. # tracknick - Preserve /accept entries when a user changes nick? #
  286. # If no (the default), the user is removed from #
  287. # everyone's accept list if he changes nickname. #
  288. # cooldown - Amount of time (in seconds) that must pass since #
  289. # the last notification sent to a user before he can #
  290. # be sent another. Default is 60 (1 minute). #
  291. <callerid maxaccepts="16"
  292. operoverride="no"
  293. tracknick="no"
  294. cooldown="60">
  295.  
  296. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  297. # CAP module: Provides the CAP negotiation mechanism required by the
  298. # m_sasl, m_namesx, m_uhnames, and m_ircv3 modules.
  299. # It is also recommended for the STARTTLS support in m_ssl_gnutls.
  300. <module name="m_cap.so">
  301.  
  302. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  303. # CBAN module: Lets you disallow channels from being used at runtime.
  304. # This module is oper-only and provides /CBAN.
  305. # To use, CBAN must be in one of your oper class blocks.
  306. <module name="m_cban.so">
  307.  
  308. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  309. # Censor module: Adds channel and user mode +G.
  310. <module name="m_censor.so">
  311. #
  312. #-#-#-#-#-#-#-#-#-#-#- CENSOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  313. # #
  314. # Optional - If you specify to use the m_censor module, then you must #
  315. # specify some censor tags. See also: #
  316. # http://wiki.inspircd.org/Modules/censor #
  317. #
  318. <include file="conf/examples/censor.conf.example">
  319.  
  320. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  321. # CGI:IRC module: Adds support for automatic host changing in CGI:IRC
  322. # (http://cgiirc.sourceforge.net).
  323. <module name="m_cgiirc.so">
  324. #
  325. #-#-#-#-#-#-#-#-#-#-#-# CGIIRC CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
  326. #
  327. # Optional - If you specify to use m_cgiirc, then you must specify one
  328. # or more cgihost tags which indicate authorised CGI:IRC servers which
  329. # will be connecting to your network, and an optional cgiirc tag.
  330. # For more information see: http://wiki.inspircd.org/Modules/cgiirc
  331. #
  332. # Set to yes if you want to notice opers when CGI:IRC clients connect.
  333. # <cgiirc opernotice="no">
  334. #
  335. # The type field indicates where the module should get the real
  336. # client's IP address from, for further information, please see the
  337. # CGI:IRC documentation.
  338. #
  339. # Old style:
  340. # <cgihost type="pass" mask="www.example.com"> # Get IP from PASS
  341. # <cgihost type="ident" mask="otherbox.example.com"> # Get IP from ident
  342. # <cgihost type="passfirst" mask="www.example.com"> # See the docs
  343. # New style:
  344. # <cgihost type="webirc" password="foobar"
  345. # mask="somebox.example.com"> # Get IP from WEBIRC
  346. #
  347. # IMPORTANT NOTE:
  348. # ---------------
  349. #
  350. # When you connect CGI:IRC clients, there are two connect classes which
  351. # apply to these clients. When the client initially connects, the connect
  352. # class which matches the CGI:IRC site's host is checked. Therefore you
  353. # must raise the maximum local/global clients for this ip as high as you
  354. # want to allow cgi clients. After the client has connected and is
  355. # determined to be a cgi:irc client, the class which matches the client's
  356. # real IP is then checked. You may set this class to a lower value, so that
  357. # the real IP of the client can still be restricted to, for example, 3
  358. # sessions maximum.
  359.  
  360. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  361. # Channel create module: Adds snomask +j, which will notify opers of
  362. # any new channels that are created.
  363. # This module is oper-only.
  364. <module name="m_chancreate.so">
  365.  
  366. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  367. # Channel filter module: Allows channel-op defined message filtering
  368. # using simple string matches (channel mode +g).
  369. <module name="m_chanfilter.so">
  370. #
  371. # If hidemask is set to yes, the user will not be shown the mask when
  372. # his/her message is blocked.
  373. #<chanfilter hidemask="yes">
  374.  
  375. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  376. # Channel history module: Displays the last 'X' lines of chat to a user
  377. # joining a channel with +H 'X:T' set; 'T' is the maximum time to keep
  378. # lines in the history buffer. Designed so that the new user knows what
  379. # the current topic of conversation is when joining the channel.
  380. <module name="m_chanhistory.so">
  381. #
  382. # Set the maximum number of lines allowed to be stored per channel below.
  383. # This is the hard limit for 'X'.
  384. # If notice is set to yes, joining users will get a NOTICE before playback
  385. # telling them about the following lines being the pre-join history.
  386. <chanhistory maxlines="20" notice="yes">
  387.  
  388. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  389. # Channel logging module: Used to send snotice output to channels, to
  390. # allow staff to centrally monitor and discuss network activity.
  391. #
  392. # The "channel" field is where you want the messages to go, "snomasks"
  393. # is what snomasks you want to be sent to that channel. Multiple tags
  394. # are allowed.
  395. #<module name="m_chanlog.so">
  396. #<chanlog snomasks="AOcC" channel="#opers">
  397.  
  398. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  399. # Channel names module: Allows disabling channels which have certain
  400. # characters in the channel name such as bold, colorcodes, etc. which
  401. # can be quite annoying and allow users to on occasion have a channel
  402. # that looks like the name of another channel on the network.
  403. #<module name="m_channames.so">
  404.  
  405. <channames
  406. # denyrange: characters or range of characters to deny in channel
  407. # names.
  408. denyrange="2,3"
  409.  
  410. # allowrange: characters or range of characters to specifically allow
  411. # in channel names.
  412. allowrange="">
  413.  
  414. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  415. # Channelban: Implements extended ban j:, which stops anyone already
  416. # in a channel matching a ban like +b j:#channel*mask from joining.
  417. #<module name="m_channelban.so">
  418.  
  419. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  420. # Chanprotect module: Gives +q and +a channel modes.
  421. <module name="m_chanprotect.so">
  422.  
  423. <chanprotect
  424. # noservices: With this set to yes, when a user joins an empty channel,
  425. # the server will set +q on them. If set to no, it will only set +o
  426. # on them until they register the channel.
  427. noservices="no"
  428.  
  429. # qprefix: Prefix (symbol) to use for +q users.
  430. qprefix="~"
  431.  
  432. # aprefix: Prefix (symbol) to use for +a users.
  433. aprefix="&amp;"
  434.  
  435. # deprotectself: If this value is set (true, yes or 1), it will allow
  436. # +a and +q users to remove the +a and +q from themselves, otherwise,
  437. # the status will have to be removed by services.
  438. deprotectself="yes"
  439.  
  440. # deprotectothers: If this value is set to yes, true, or 1, then any
  441. # user with +q or +a may remove the +q or +a from other users.
  442. deprotectothers="yes">
  443.  
  444.  
  445. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  446. # Check module: Adds the /CHECK command.
  447. # Check is useful for looking up information on channels, users,
  448. # IP addresses and hosts.
  449. # This module is oper-only.
  450. # To use, CHECK must be in one of your oper class blocks.
  451. <module name="m_check.so">
  452.  
  453. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  454. # CHGHOST module: Adds the /CHGHOST command.
  455. # This module is oper-only.
  456. # To use, CHGHOST must be in one of your oper class blocks.
  457. # NOTE: Services will not be able to set vhosts on users if this module
  458. # isn't loaded. If you're planning on running services, you probably
  459. # want to load this.
  460. <module name="m_chghost.so">
  461. #
  462. #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST CONFIGURATION #-#-#-#-#-#-#-#-#
  463. # Optional - If you want to use special chars for hostnames you can #
  464. # specify your own custom list of chars with the <hostname> tag: #
  465. # #
  466. # charmap - A list of chars accepted as valid by the /CHGHOST #
  467. # and /SETHOST commands. Also note that the list is #
  468. # case-sensitive. #
  469. #<hostname charmap="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_/0123456789">
  470.  
  471. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  472. # CHGIDENT module: Adds the /CHGIDENT command.
  473. # This module is oper-only.
  474. # To use, CHGIDENT must be in one of your oper class blocks.
  475. #<module name="m_chgident.so">
  476.  
  477. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  478. # CHGNAME module: Adds the /CHGNAME command.
  479. # This module is oper-only.
  480. # To use, CHGNAME must be in one of your oper class blocks.
  481. <module name="m_chgname.so">
  482.  
  483. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  484. # Cloaking module: Adds usermode +x and cloaking support.
  485. # Relies on the module m_md5.so being loaded.
  486. # To cloak users when they connect, load m_conn_umodes and set
  487. # <connect:modes> to include the +x mode. The example <connect> tag
  488. # shows this. See the m_conn_umodes module for more information.
  489. #<module name="m_cloaking.so">
  490. #
  491. #-#-#-#-#-#-#-#-#-#-#- CLOAKING CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  492. # #
  493. # To use m_cloaking, you must define a cloak key, and optionally a #
  494. # cloak prefix as shown below. The cloak key must be shared across #
  495. # the network for correct cloaking. #
  496. # #
  497. # There are four methods of cloaking: #
  498. # #
  499. # half Cloak only the "unique" portion of a host; show #
  500. # the last 2 parts of the domain, /16 subnet of IPv4 #
  501. # or /48 subnet of the IPv6 address. #
  502. # #
  503. # full Cloak the users completely, using three slices for #
  504. # common CIDR bans (IPv4: /16, /24; IPv6: /48, /64). #
  505. # #
  506. # These methods use a single key that can be any length of text. #
  507. # An optional prefix may be specified to mark cloaked hosts. #
  508. # #
  509. # The following methods are maintained for backwards compatibility; #
  510. # they are slightly less secure, and always hide unresolved IPs. #
  511. # #
  512. # compat-host InspIRCd 1.2-compatible host-based cloaking. #
  513. # compat-ip InspIRCd 1.2-compatible ip-always cloaking. #
  514. # #
  515. # If you use a compat cloaking mode then you must specify key1, key2, #
  516. # key3, key4; the values must be less than 0x80000000 and should be #
  517. # picked at random. Prefix is mandatory, will default to network name #
  518. # if not specified, and will always have a "-" appended. #
  519. #
  520. #<cloak mode="half"
  521. # key="secret"
  522. # prefix="net-">
  523.  
  524. #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  525. # Close module: Allows an oper to close all unregistered connections.
  526. # This module is oper-only and provides the /CLOSE command.
  527. # To use, CLOSE must be in one of your oper class blocks.
  528. #<module name="m_close.so">
  529.  
  530. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  531. # Clones module: Adds an oper command /CLONES for detecting cloned
  532. # users. Warning: This command may be resource intensive when it is
  533. # issued, use with care.
  534. # This module is oper-only.
  535. # To use, CLONES must be in one of your oper class blocks.
  536. <module name="m_clones.so">
  537.  
  538. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  539. # Common channels module: Adds user mode +c, which, when set, requires
  540. # that users must share a common channel with you to PRIVMSG or NOTICE
  541. # you.
  542. <module name="m_commonchans.so">
  543.  
  544. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  545. # Auto join on connect module: Allows you to force users to join one
  546. # or more channels automatically upon connecting to the server.
  547. <module name="m_conn_join.so">
  548. #
  549. #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  550. #
  551. # If you have m_conn_join.so loaded, you can configure it using the
  552. # following values, or set autojoin="#chat,#help" in <connect> blocks.
  553. #
  554. <autojoin channel="#@">
  555.  
  556. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  557. # Set modes on connect module: When this module is loaded <connect>
  558. # blocks may have an optional modes="" value, which contains modes to
  559. # add or remove from users when they connect to the server.
  560. #<module name="m_conn_umodes.so">
  561.  
  562. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  563. # Wait for PONG on connect module: Send a PING to all connecting users
  564. # and don't let them connect until they reply with a PONG.
  565. # This is useful to stop certain kinds of bots and proxies.
  566. <module name="m_conn_waitpong.so">
  567. #
  568. #-#-#-#-#-#-#-#-#-#-#- WAITPONG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  569. # #
  570. # If you have the m_conn_waitpong.so module loaded, configure it with #
  571. # the <waitpong> tag: #
  572. # #
  573. # sendsnotice - Whether to send a helpful notice to users on #
  574. # connect telling them how to connect, should #
  575. # their client not reply PONG automatically. #
  576. # #
  577. # killonbadreply - Whether to kill the user if they send the wrong #
  578. # PONG reply. #
  579. # #
  580. <waitpong sendsnotice="yes" killonbadreply="yes">
  581.  
  582. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  583. # Channel cycle module: Adds the /CYCLE command which is a server-side
  584. # /HOP that bypasses restrictive modes.
  585. <module name="m_cycle.so">
  586.  
  587. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  588. # Connectban: Provides IP connection throttling. Any IP range that
  589. # connects too many times (configurable) in an hour is Z-Lined for a
  590. # (configurable) duration, and their count resets to 0.
  591. <module name="m_connectban.so">
  592. #
  593. # ipv4cidr and ipv6cidr allow you to turn the comparison from
  594. # individual IP addresses (32 and 128 bits) into CIDR masks, to allow
  595. # for throttling over whole ISPs/blocks of IPs, which may be needed to
  596. # prevent attacks.
  597. #
  598. # This allows for 10 connections in an hour with a 10 minute ban if
  599. # that is exceeded.
  600. <connectban threshold="10" duration="10m" ipv4cidr="32" ipv6cidr="128">
  601.  
  602. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  603. # Connection throttle module.
  604. <module name="m_connflood.so">
  605. #
  606. #-#-#-#-#-#-#-#-#-#-#- CONNTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
  607. # seconds, maxconns - Amount of connections per <seconds>.
  608. #
  609. # timeout - Time to wait after the throttle was activated
  610. # before deactivating it. Be aware that the time
  611. # is seconds + timeout.
  612. #
  613. # quitmsg - The message that users get if they attempt to
  614. # connect while the throttle is active.
  615. #
  616. # bootwait - Amount of time in seconds to wait before enforcing
  617. # the throttling when the server just booted.
  618. #
  619. #<connflood seconds="30" maxconns="3" timeout="30"
  620. # quitmsg="Throttled" bootwait="10">
  621.  
  622. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  623. # Custom prefixes: Allows for channel prefixes to be added.
  624. # This replaces m_chanprotect and m_halfop.
  625. <module name="m_customprefix.so">
  626. #
  627. # name The name of the mode, must be unique from other modes.
  628. # letter The letter used for this mode. Required.
  629. # prefix The prefix used for nicks with this mode. Not required.
  630. # rank A numeric rank for this prefix, defining what permissions it gives.
  631. # The rank of voice, halfop and op is 10000, 20000, and 30000,
  632. # respectively.
  633. # ranktoset The numeric rank required to set/unset this mode. Defaults to rank.
  634. # depriv Can you remove the mode from yourself? Defaults to yes.
  635. <customprefix name="founder" letter="q" prefix="~" rank="50000" ranktoset="50000">
  636. <customprefix name="admin" letter="a" prefix="&amp;" rank="40000" ranktoset="50000">
  637. <customprefix name="halfop" letter="h" prefix="%" rank="20000" ranktoset="30000"><customprefix name="halfvoice" letter="V" prefix="-" rank="1" ranktoset="20000">
  638. #
  639. # Do /RELOADMODULE m_customprefix.so after changing the settings of this module.
  640.  
  641. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  642. # Custom title module: Adds the /TITLE command which allows for trusted
  643. # users to gain a custom whois line and an optional vhost can be
  644. # specified.
  645. <module name="m_customtitle.so">
  646. #
  647. #-#-#-#-#-#-#-#-#-#- CUSTOM TITLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
  648. # name - The username used to identify.
  649. # password - The password used to identify.
  650. # hash - The hash for the specific user's password (optional).
  651. # m_password_hash.so and a hashing module must be loaded
  652. # for this to work.
  653. # host - Allowed hostmask (optional).
  654. # title - Title shown in whois.
  655. # vhost - Displayed host (optional).
  656. #
  657. <title name="foo" password="bar" title="Official Chat Helper">
  658. <title name="bar" password="foo" host="ident@arobaz.eu" title="Official Chat Helper" vhost="helper.arobaz.eu">
  659. <title name="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" title="Official Chat Helper">
  660.  
  661. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  662. # DCCALLOW module: Adds the /DCCALLOW command.
  663. #<module name="m_dccallow.so">
  664. #
  665. #-#-#-#-#-#-#-#-#-#-#- DCCALLOW CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  666. # blockchat - Whether to block DCC CHAT as well as DCC SEND.
  667. # length - Default duration of entries in DCCALLOW list.
  668. # action - Default action to take if no action is
  669. # specified, can be 'block' or 'allow'.
  670. #
  671. # File configuration:
  672. # pattern - The glob pattern to match against.
  673. # action - Action to take if a user attempts to send a file
  674. # that matches this pattern, can be 'block' or
  675. # 'allow'.
  676. #
  677. #<dccallow blockchat="yes" length="5m" action="block">
  678. #<banfile pattern="*.exe" action="block">
  679. #<banfile pattern="*.txt" action="allow">
  680.  
  681. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  682. # Deaf module: Adds support for the usermode +d - deaf to channel
  683. # messages and channel notices.
  684. #<module name="m_deaf.so">
  685.  
  686. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  687. # Delay join module: Adds the channel mode +D which delays all JOIN
  688. # messages from users until they speak. If they quit or part before
  689. # speaking, their quit or part message will not be shown to the channel
  690. # which helps cut down noise on large channels in a more friendly way
  691. # than the auditorium mode. Only channel ops may set the +D mode.
  692. <module name="m_delayjoin.so">
  693.  
  694. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  695. # Delay message module: Adds the channel mode +d which disallows a user
  696. # from talking in the channel unless they've been joined for X seconds.
  697. # Settable using /MODE #chan +d 30
  698. <module name="m_delaymsg.so">
  699. # Set allownotice to no to disallow NOTICEs too. Defaults to yes.
  700. <delaymsg allownotice="no">
  701.  
  702. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  703. # Deny channels module: Deny channels from being used by users.
  704. <module name="m_denychans.so">
  705. #
  706. #-#-#-#-#-#-#-#-#-#-#- DENYCHAN DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#
  707. # #
  708. # If you have the m_denychans.so module loaded, you need to specify #
  709. # the channels to deny: #
  710. # #
  711. # name - The channel name to deny (glob masks are ok). #
  712. # allowopers - If operators are allowed to override the deny. #
  713. # reason - Reason given for the deny. #
  714. # redirect - Redirect the user to a different channel. #
  715. # #
  716. <badchan name="#gods*" allowopers="yes" reason="Tortoises!"> #
  717. <badchan name="#sex" redirect="#@" reason="Chan1 is closed"> #
  718. # #
  719. # Redirects will not work if the target channel is set +L. #
  720. # #
  721. # Additionally, you may specify channels which are allowed, even if #
  722. # a badchan tag specifies it would be denied: #
  723. <goodchan name="#funtimes"> #
  724. # Glob masks are accepted here also. #
  725.  
  726. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  727. # Devoice module: Let users devoice themselves using /DEVOICE #chan.
  728. <module name="m_devoice.so">
  729.  
  730. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  731. # DNS blacklist module: Provides support for looking up IPs on one or #
  732. # more blacklists. #
  733. <module name="m_dnsbl.so"> #
  734. # #
  735. # For configuration options please see the wiki page for m_dnsbl at #
  736. # http://wiki.inspircd.org/Modules/dnsbl #
  737.  
  738. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  739. # Exempt channel operators module: Provides support for allowing #
  740. # channel operators to be exempt from some channel modes. Supported #
  741. # modes are blockcaps, noctcp, blockcolor, nickflood, flood, censor, #
  742. # filter, regmoderated, nonick, nonotice, and stripcolor. #
  743. <module name="m_exemptchanops.so"> #
  744.  
  745. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  746. # Filter module: Provides message filtering, similar to SPAMFILTER. #
  747. <module name="m_filter.so">
  748. # #
  749. # This module depends upon a regex provider such as m_regex_pcre or #
  750. # m_regex_glob to function. You must specify which of these you want #
  751. # m_filter to use via the tag below. #
  752. # #
  753. # Valid engines are: #
  754. # #
  755. # glob - Glob patterns, provided via m_regex_glob. #
  756. # pcre - PCRE regexps, provided via m_regex_pcre, needs libpcre. #
  757. # tre - TRE regexps, provided via m_regex_tre, requires libtre. #
  758. # posix - POSIX regexps, provided via m_regex_posix, not available #
  759. # on Windows, no dependencies on other operating systems. #
  760. # stdlib - stdlib regexps, provided via m_regex_stdlib, see comment #
  761. # at the <module> tag for info on availability. #
  762. # #
  763. <filteropts engine="glob"> #
  764. # #
  765. # Your choice of regex engine must match on all servers network-wide.
  766. #
  767. # You may specify specific channels that are exempt from being filtered:
  768. <exemptfromfilter channel="#blah">
  769. #
  770. #-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  771. # #
  772. # Optional - If you specify to use the m_filter module, then #
  773. # specify below the path to the filter.conf file, or define some #
  774. # <filter> tags. #
  775. # #
  776. #<include file="conf/examples/filter.conf.example">
  777.  
  778. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  779. # Gecos ban: Implements extended ban 'r', which stops anyone matching
  780. # a mask like +b r:*realname?here* from joining a channel.
  781. <module name="m_gecosban.so">
  782.  
  783. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  784. # GeoIP module: Allows the server admin to match users by country code.
  785. # This module is in extras. Re-run configure with:
  786. # ./configure --enable-extras=m_geoip.cpp
  787. # and run make install, then uncomment this module to enable it.
  788. # This module requires GeoIP to be installed on your system,
  789. # use your package manager to find the appropriate packages
  790. # or check the InspIRCd wiki page for this module.
  791. #<module name="m_geoip.so">
  792. #
  793. # The actual allow/ban actions are done by connect classes, not by the
  794. # GeoIP module. An example connect class to ban people from russia or
  795. # turkey:
  796. #
  797. # <connect deny="*" geoip="TR,RU">
  798. #
  799. # The country code must be in capitals and should be an ISO country
  800. # code such as TR, GB, or US. Unknown IPs (localhost, LAN IPs, etc)
  801. # will be assigned the country code "UNK". Since connect classes are
  802. # matched from top down, your deny classes must be above your allow
  803. # classes for them to match.
  804.  
  805. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  806. # Globops module: Provides the /GLOBOPS command and snomask +g.
  807. # This module is oper-only.
  808. # To use, GLOBOPS must be in one of your oper class blocks.
  809. <module name="m_globops.so">
  810.  
  811. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  812. # Global load module: Allows loading and unloading of modules network-
  813. # wide (USE WITH EXTREME CAUTION!)
  814. # This module is oper-only and provides /GLOADMODULE, /GUNLOADMODULE
  815. # and /GRELOADMODULE.
  816. # To use, GLOADMODULE, GUNLOADMODULE and GRELOADMODULE
  817. # must be in one of your oper class blocks.
  818. <module name="m_globalload.so">
  819.  
  820. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  821. # Halfop module: Provides the +h (halfops) channel status mode.
  822. <module name="m_halfop.so">
  823.  
  824. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  825. # HELPOP module: Provides the /HELPOP command.
  826. <module name="m_helpop.so">
  827. #
  828. #-#-#-#-#-#-#-#-#-#-#-#- HELPOP CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  829. # #
  830. # If you specify to use the m_helpop.so module, then specify below #
  831. # the path to the helpop.conf file. #
  832. <include file="conf/examples/inspircd.helpop-full.example">
  833.  
  834. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  835. # Hide chans module: Allows users to hide their channels list from non-
  836. # opers by setting user mode +I on themselves.
  837. <module name="m_hidechans.so">
  838. #
  839. # This mode can optionally prevent opers from seeing channels on a +I
  840. # user, for more privacy if set to true.
  841. # This setting is not recommended for most mainstream networks.
  842. <hidechans affectsopers="false">
  843.  
  844. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  845. # Hide oper module: Allows opers to hide their oper status from non-
  846. # opers by setting user mode +H on themselves.
  847. # This module is oper-only.
  848. <module name="m_hideoper.so">
  849.  
  850. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  851. # Hostchange module: Allows a different style of cloaking.
  852. #<module name="m_hostchange.so">
  853. #
  854. #-#-#-#-#-#-#-#-#-#-#- HOSTCHANGE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
  855. # #
  856. # See http://wiki.inspircd.org/Modules/hostchange for help. #
  857. # #
  858. #<host suffix="invalid.org" separator="." prefix="">
  859. #<hostchange mask="*@42.theanswer.example.org" action="addnick">
  860. #<hostchange mask="*root@*" action="suffix">
  861. #<hostchange mask="a@example.com" action="set" value="foo.bar.baz">
  862. #<hostchange mask="localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
  863.  
  864. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  865. # httpd module: Provides HTTP server support for InspIRCd.
  866. <module name="m_httpd.so">
  867. #
  868. #-#-#-#-#-#-#-#-#-#-#-#- HTTPD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  869. #
  870. # If you choose to use the m_httpd.so module, then you will need to add
  871. # a <bind> tag with type "httpd", and load at least one of the other
  872. # m_httpd_* modules to provide pages to display.
  873. #
  874. # You can adjust the timeout for HTTP connections below. All HTTP
  875. # connections will be closed after (roughly) this many seconds.
  876. #<httpd timeout="20">
  877.  
  878. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  879. # HTTP ACL module: Provides access control lists for m_httpd dependent
  880. # modules. Use this module to restrict pages by IP address and by
  881. # password.
  882. #<module name="m_httpd_acl.so">
  883. #
  884. #-#-#-#-#-#-#-#-#-#-#-#- HTTPD ACL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  885. #
  886. # Restrict access to the m_httpd_stats module to all but the local
  887. # network and when the correct password is specified:
  888. # <httpdacl path="/stats*" types="password,whitelist"
  889. # username="secrets" password="mypasshere" whitelist="127.0.0.*,10.*">
  890. #
  891. # Deny all connections to all but the main index page:
  892. # <httpdacl path="/*" types="blacklist" blacklist="*">
  893.  
  894. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  895. # HTTP config module: Allows the configuration of the server to be
  896. # viewed over HTTP. Requires m_httpd.so to be loaded for it to function.
  897. #<module name="m_httpd_config.so">
  898.  
  899. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  900. # HTTP stats module: Provides basic stats pages over HTTP.
  901. # Requires m_httpd.so to be loaded for it to function.
  902. #<module name="m_httpd_stats.so">
  903.  
  904. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  905. # Ident: Provides RFC 1413 ident lookup support.
  906. # When this module is loaded <connect:allow> tags may have an optional
  907. # useident="yes|no" boolean value, determining whether or not to lookup
  908. # ident on users matching that connect tag.
  909. #<module name="m_ident.so">
  910. #
  911. #-#-#-#-#-#-#-#-#-#-#-#- IDENT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  912. # #
  913. # Optional - If you are using the m_ident.so module, then you can #
  914. # specify the timeout for ident lookups here. If not defined, it will #
  915. # default to 5 seconds. This is a non-blocking timeout which holds #
  916. # the user in a 'connecting' state until the lookup is complete. #
  917. # The bind value indicates which IP to bind outbound requests to. #
  918. #
  919. #<ident timeout="5">
  920.  
  921. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  922. # Invite exception module: Adds support for channel invite exceptions
  923. # (+I).
  924. <module name="m_inviteexception.so">
  925. # bypasskey: If this is enabled, exceptions will bypass +k as well as +i
  926. <inviteexception bypasskey="yes">
  927.  
  928. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  929. # IRCv3 module: Provides the following IRCv3.1 extensions:
  930. # extended-join, away-notify and account-notify. These are optional
  931. # enhancements to the client-to-server protocol. An extension is only
  932. # active for a client when the client specifically requests it, so this
  933. # module needs m_cap to work.
  934. #
  935. # Further information on these extensions can be found at the IRCv3
  936. # working group website:
  937. # http://ircv3.org/extensions/
  938. #
  939. #<module name="m_ircv3.so">
  940. # The following block can be used to control which extensions are
  941. # enabled. Note that extended-join can be incompatible with m_delayjoin
  942. # and host cycling.
  943. #<ircv3 accountnotify="on" awaynotify="on" extendedjoin="on">
  944.  
  945. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  946. # Join flood module: Adds support for join flood protection +j X:Y.
  947. # Closes the channel for 60 seconds if X users join in Y seconds.
  948. <module name="m_joinflood.so">
  949.  
  950. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  951. # Jump server module: Adds support for the RPL_REDIR numeric.
  952. # This module is oper-only.
  953. # To use, JUMPSERVER must be in one of your oper class blocks.
  954. # If your server is redirecting new clients and you get disconnected,
  955. # do a REHASH from shell to open up again.
  956. <module name="m_jumpserver.so">
  957.  
  958. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  959. # Anti auto rejoin: Adds support for prevention of auto-rejoin (+J).
  960. <module name="m_kicknorejoin.so">
  961. # Set the maximum time that is accepted as a parameter for +J here.
  962. <kicknorejoin maxtime="2m">
  963.  
  964. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  965. # Knock module: Adds the /KNOCK command and channel mode +K.
  966. <module name="m_knock.so">
  967. #
  968. # This setting specifies what to do when someone successfully /KNOCKs.
  969. # If set to "notice", then a NOTICE will be sent to the channel.
  970. # This is the default and the compatible setting, as it requires no
  971. # special support from the clients.
  972. # If set to "numeric" then a 710 numeric will be sent to the channel.
  973. # This allows easier scripting but not all clients support it.
  974. # If set to "both" then (surprise!) both will be sent.
  975. <knock notify="notice">
  976.  
  977. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  978. # LDAP authentication module: Adds the ability to authenticate users #
  979. # via LDAP. This is an extra module which must be enabled explicitly #
  980. # by symlinking it from modules/extra, and requires the OpenLDAP libs #
  981. # This module is in extras. To enable it, Re-run configure with: #
  982. # ./configure --enable-extras=m_ldapauth.cpp #
  983. # and run make install, then uncomment this module. #
  984. #<module name="m_ldapauth.so">
  985. # #
  986. # Configuration: #
  987. # #
  988. # <ldapauth baserdn="ou=People,dc=brainbox,dc=cc" #
  989. # attribute="uid" #
  990. # server="ldap://brainwave.brainbox.cc" #
  991. # allowpattern="Guest*" #
  992. # killreason="Access denied" #
  993. # searchscope="subtree" #
  994. # binddn="cn=Manager,dc=brainbox,dc=cc" #
  995. # bindauth="mysecretpass" #
  996. # verbose="yes" #
  997. # host="$uid.$ou.inspircd.org"> #
  998. # #
  999. # <ldapwhitelist cidr="10.42.0.0/16"> #
  1000. # #
  1001. # <ldaprequire attribute="attr" value="val"> #
  1002. # #
  1003. # The baserdn indicates the base DN to search in for users. Usually #
  1004. # this is 'ou=People,dc=yourdomain,dc=yourtld'. #
  1005. # #
  1006. # The attribute value indicates the attribute which is used to locate #
  1007. # a user account by name. On POSIX systems this is usually 'uid'. #
  1008. # #
  1009. # The server parameter indicates the LDAP server to connect to. The #
  1010. # ldap:// style scheme before the hostname proper is MANDATORY. #
  1011. # #
  1012. # The allowpattern value allows you to specify a wildcard mask which #
  1013. # will always be allowed to connect regardless of if they have an #
  1014. # account, for example guest users. #
  1015. # #
  1016. # Killreason indicates the QUIT reason to give to users if they fail #
  1017. # to authenticate. #
  1018. # #
  1019. # The searchscope value indicates the subtree to search under. On our #
  1020. # test system this is 'subtree'. Your mileage may vary. #
  1021. # #
  1022. # Setting the verbose value causes an oper notice to be sent out for #
  1023. # every failed authentication to the server, with an error string. #
  1024. # #
  1025. # The binddn and bindauth indicate the DN to bind to for searching, #
  1026. # and the password for the distinguished name. Some LDAP servers will #
  1027. # allow anonymous searching in which case these two values do not #
  1028. # need defining, otherwise they should be set similar to the examples #
  1029. # above. #
  1030. # #
  1031. # ldapwhitelist indicates that clients connecting from an IP in the #
  1032. # provided CIDR do not need to authenticate against LDAP. It can be #
  1033. # repeated to whitelist multiple CIDRs. #
  1034. # #
  1035. # ldaprequire allows further filtering on the LDAP user, by requiring #
  1036. # certain LDAP attibutes to have a given value. It can be repeated, #
  1037. # in which case the list will act as an OR list, that is, the #
  1038. # authentication will succeed if any of the requirements in the list #
  1039. # is satisfied. #
  1040. # #
  1041. # host allows you to change the displayed host of users connecting #
  1042. # from ldap. The string supplied takes formatters which are replaced #
  1043. # from the DN. For instance, if your DN looks like: #
  1044. # uid=w00t,ou=people,dc=inspircd,dc=org, then the formatters uid, ou #
  1045. # and dc will be available to you. If a key is given multiple times #
  1046. # in the DN, the last appearance will take precedence. #
  1047.  
  1048. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1049. # LDAP oper configuration module: Adds the ability to authenticate #
  1050. # opers via LDAP. This is an extra module which must be enabled #
  1051. # explicitly by symlinking it from modules/extra, and requires the #
  1052. # OpenLDAP libs. Re-run configure with: #
  1053. # ./configure --enable-extras=m_ldapoper.cpp
  1054. # and run make install, then uncomment this module to enable it. #
  1055. #<module name="m_ldapoper.so">
  1056. # #
  1057. # Configuration: #
  1058. # #
  1059. # <ldapoper baserdn="ou=People,dc=brainbox,dc=cc"
  1060. # server="ldap://brainwave.brainbox.cc"
  1061. # searchscope="subtree"
  1062. # binddn="cn=Manager,dc=brainbox,dc=cc"
  1063. # bindauth="mysecretpass"
  1064. # attribute="uid">
  1065. # #
  1066. # Available configuration items are identical to the same items in #
  1067. # m_ldapauth above (except for the verbose setting, that is only #
  1068. # supported in m_ldapauth). #
  1069. # Please always specify a password in your <oper> tags even if the #
  1070. # opers are to be authenticated via LDAP, so in case this module is #
  1071. # not loaded the oper accounts are still protected by a password. #
  1072.  
  1073. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1074. # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that #
  1075. # are used to temporarily close/open the server for new connections. #
  1076. # These commands require that the /LOCKSERV and /UNLOCKSERV commands #
  1077. # are specified in a <class> tag that the oper is part of. This is so #
  1078. # you can control who has access to this possible dangerous command. #
  1079. # If your server is locked and you get disconnected, do a REHASH from #
  1080. # shell to open up again. #
  1081. # This module is oper-only.
  1082. <module name="m_lockserv.so">
  1083.  
  1084. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1085. # Map hiding module: replaces /MAP and /LINKS output to users with a #
  1086. # message to see a website, set by maphide="http://test.org/map" in #
  1087. # the <security> tag, instead. #
  1088. <module name="m_maphide.so">
  1089.  
  1090. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1091. # Message flood module: Adds message/notice flood protection via
  1092. # channel mode +f.
  1093. <module name="m_messageflood.so">
  1094.  
  1095. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1096. # MLOCK module: Adds support for server-side enforcement of services
  1097. # side MLOCKs. Basically, this module suppresses any mode change that
  1098. # would likely be immediately bounced by services.
  1099. <module name="m_mlock.so">
  1100.  
  1101. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1102. # MsSQL module: Allows other SQL modules to access MS SQL Server
  1103. # through a unified API.
  1104. # This module is in extras. Re-run configure with:
  1105. # ./configure --enable-extras=m_mssql.cpp
  1106. # and run make install, then uncomment this module to enable it.
  1107. #<module name="m_mssql.so">
  1108. #
  1109. #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1110. # #
  1111. # m_mssql.so is more complex than described here, see wiki for more #
  1112. # info http://wiki.inspircd.org/Modules/mssql #
  1113. #
  1114. #<database module="mssql" name="db" user="user" pass="pass" host="localhost" id="db1">
  1115.  
  1116. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1117. # MySQL module: Allows other SQL modules to access MySQL databases
  1118. # through a unified API.
  1119. # This module is in extras. Re-run configure with:
  1120. # ./configure --enable-extras=m_mysql.cpp
  1121. # and run make install, then uncomment this module to enable it.
  1122. #<module name="m_mysql.so">
  1123. #
  1124. #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1125. # #
  1126. # m_mysql.so is more complex than described here, see the wiki for #
  1127. # more: http://wiki.inspircd.org/Modules/mysql #
  1128. #
  1129. #<database module="mysql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database2">
  1130.  
  1131. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1132. # Named modes module: Allows for the display and set/unset of channel
  1133. # modes via long-form mode names via +Z and the /PROP command.
  1134. # For example, to set a ban, do /mode #channel +Z ban=foo!bar@baz or
  1135. # /PROP #channel ban=foo!bar@baz
  1136. #<module name="m_namedmodes.so">
  1137.  
  1138. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1139. # NAMESX module: Provides support for the NAMESX extension which allows
  1140. # clients to see all the prefixes set on a user without getting confused.
  1141. # This is supported by mIRC, x-chat, klient, and maybe more.
  1142. #<module name="m_namesx.so">
  1143.  
  1144. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1145. # National characters module:
  1146. # 1) Allows using national characters in nicknames.
  1147. # 2) Allows using custom (national) casemapping over the network.
  1148. #<module name="m_nationalchars.so">
  1149. #
  1150. # file - filename of existing file in "locales" directory
  1151. # casemapping - custom value for 005 numeric (if you want it to be
  1152. # different from the filename). Set this to the name of
  1153. # the locale if you are specifying an absolute path.
  1154. #<nationalchars file="bynets/russian-w1251-charlink" casemapping="ru_RU.cp1251-charlink">
  1155.  
  1156. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1157. # Nickchange flood protection module: Provides channel mode +F X:Y
  1158. # which allows up to X nick changes in Y seconds.
  1159. <module name="m_nickflood.so">
  1160.  
  1161. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1162. # Nicklock module: Let opers change a user's nick and then stop that
  1163. # user from changing their nick again until unlocked.
  1164. # This module is oper-only.
  1165. # To use, NICKLOCK and NICKUNLOCK must be in one of your oper class blocks.
  1166. <module name="m_nicklock.so">
  1167.  
  1168. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1169. # No CTCP module: Adds the channel mode +C to block CTCPs and extban
  1170. # 'C' to block CTCPs sent by specific users.
  1171. <module name="m_noctcp.so">
  1172.  
  1173. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1174. # No kicks module: Adds the +Q channel mode and the Q: extban to deny
  1175. # certain users from kicking.
  1176. <module name="m_nokicks.so">
  1177.  
  1178. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1179. # No nicks module: Adds the +N channel mode, as well as the 'N' extban.
  1180. # +N stops all users from changing their nick, the N extban stops
  1181. # anyone from matching a +b N:nick!user@host mask from changing their
  1182. # nick.
  1183. <module name="m_nonicks.so">
  1184.  
  1185. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1186. # No part message module: Adds extban 'p' to block part messages from #
  1187. # matching users. #
  1188. <module name="m_nopartmsg.so">
  1189.  
  1190. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1191. # No notice module: Adds the channel mode +T and the extban 'T' to
  1192. # block specific users from noticing the channel.
  1193. <module name="m_nonotice.so">
  1194.  
  1195. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1196. # Network business join module:
  1197. # Allows an oper to join a channel using /OJOIN, giving them +Y on the
  1198. # channel which makes them immune to kick/deop/etc.
  1199. <module name="m_ojoin.so">
  1200. #
  1201. # Specify the prefix that +Y will grant here.
  1202. # Leave 'prefix' empty if you do not wish +Y to grant a prefix.
  1203. # If 'notice' is set to on, upon /OJOIN, the server will notice the
  1204. # channel saying that the oper is joining on network business.
  1205. # If 'op' is set to on, it will give them +o along with +Y.
  1206. <ojoin prefix="!" notice="yes" op="yes">
  1207.  
  1208. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1209. # Oper channels mode: Adds the +O channel mode and extban O:<mask>
  1210. # to ban, except, etc. specific oper types. For example
  1211. # /mode #channel +iI O:* is equivalent to channel mode +O, but you
  1212. # may also set +iI O:AdminTypeOnly to only allow admins.
  1213. # Modes +I and +e work in a similar fashion.
  1214. <module name="m_operchans.so">
  1215.  
  1216. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1217. # Oper join module: Auto-joins opers to a channel upon oper-up.
  1218. # This module is oper-only. For the user equivalent, see m_conn_join.
  1219. <module name="m_operjoin.so">
  1220. #
  1221. #-#-#-#-#-#-#-#-#-#-# OPERJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1222. # #
  1223. # If you are using the m_operjoin.so module, specify options here: #
  1224. # #
  1225. # channel - The channel name to join, can also be a comma #
  1226. # separated list e.g. "#channel1,#channel2". #
  1227. # #
  1228. # override - If on, lets the oper join walking thru any modes #
  1229. # that might be set, even bans. #
  1230. # #
  1231. #<operjoin channel="#@#" override="no">
  1232. #
  1233. # Alternatively you can use the autojoin="channellist" in a <type> #
  1234. # tag to set specific autojoins for a type of oper, for example: #
  1235. #
  1236. #<type name="Helper" autojoin="#help" classes="...">
  1237.  
  1238. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1239. # Oper log module: Logs all oper commands to the server log (with log
  1240. # type "m_operlog" at default loglevel), and optionally to the 'r'
  1241. # snomask.
  1242. # This module is oper-only.
  1243. #<module name="m_operlog.so">
  1244. #
  1245. # If the following option is on then all oper commands will be sent to
  1246. # the snomask 'r'. The default is off.
  1247. #<operlog tosnomask="off">
  1248.  
  1249. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1250. # Oper prefixing module: Adds a channel prefix mode +y which is given
  1251. # to all IRC operators automatically on all channels they are in.
  1252. # This prefix mode is more powerful than channel op and other regular
  1253. # prefix modes.
  1254. #
  1255. # Load this module if you want all your IRC operators to have channel
  1256. # operator powers.
  1257. <module name="m_operprefix.so">
  1258. #
  1259. # You may additionally customise the prefix character.
  1260. <operprefix prefix="*">
  1261.  
  1262. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1263. # Oper MOTD module: Provides support for separate message of the day
  1264. # on oper-up.
  1265. # This module is oper-only.
  1266. <module name="m_opermotd.so">
  1267. #
  1268. #-#-#-#-#-#-#-#-#-#-# OPERMOTD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1269. # #
  1270. # If you are using the m_opermotd.so module, specify the motd here. #
  1271. # #
  1272. # onoper - If on, the message is sent on /OPER, otherwise it's #
  1273. # only sent when /OPERMOTD is used. #
  1274. # #
  1275. # processcolors - Allow color codes to be processed in the opermotd. #
  1276. # Read the comment above <connect:allowmotdcolors> in #
  1277. # inspircd.conf.example for details. #
  1278. # #
  1279. <opermotd file="conf/examples/opermotd.txt.example" onoper="yes" processcolors="false">
  1280.  
  1281. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1282. # Override module: Adds support for oper override.
  1283. # This module is oper-only.
  1284. <module name="m_override.so">
  1285. #
  1286. #-#-#-#-#-#-#-#-#-#-# OVERRIDE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1287. # #
  1288. # m_override.so is too complex it describe here, see the wiki: #
  1289. # http://wiki.inspircd.org/Modules/override #
  1290.  
  1291. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1292. # Oper levels module: Gives each oper a level and prevents actions
  1293. # being taken by lower level opers against higher level opers.
  1294. # Specify the level as the 'level' parameter of the <type> tag.
  1295. # This module is oper-only.
  1296. <module name="m_operlevels.so">
  1297.  
  1298. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1299. # Oper modes module: Allows you to specify modes to add/remove on oper.
  1300. # Specify the modes as the 'modes' parameter of the <type> tag
  1301. # and/or as the 'modes' parameter of the <oper> tag.
  1302. # This module is oper-only. For the user equivalent, see m_conn_umodes.
  1303. <module name="m_opermodes.so">
  1304.  
  1305. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1306. # Password forwarding module: Forwards a password users can send on
  1307. # connect to the specified client below. The client is usually NickServ
  1308. # and this module is usually used to authenticate users with NickServ
  1309. # using their connect password.
  1310. <module name="m_passforward.so">
  1311.  
  1312. <passforward
  1313. # nick: nick to forward connect passwords to.
  1314. nick="NickServ"
  1315.  
  1316. # forwardmsg: Message to send to users using a connect password.
  1317. # $nick will be the users' nick, $nickrequired will be the nick
  1318. # of where the password is going (the nick above).
  1319. # You can also use $user for the user ident string.
  1320. forwardmsg="NOTICE $nick :*** Forwarding PASS to $nickrequired"
  1321.  
  1322. # cmd: Command for the user to run when it receives a connect
  1323. # password.
  1324. cmd="PRIVMSG $nickrequired :IDENTIFY $pass">
  1325.  
  1326. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1327. # Password hash module: Allows hashed passwords to be used.
  1328. # To be useful, a hashing module like m_sha256.so also needs to be loaded.
  1329. #<module name="m_password_hash.so">
  1330. #
  1331. #-#-#-#-#-#-#-#-#-# PASSWORD HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#
  1332. #
  1333. # To use this module, you must define a hash type for each oper's
  1334. # password you want to hash. For example:
  1335. #
  1336. # <oper name="Brain"
  1337. # host="ident@dialup15.isp.test.com"
  1338. # hash="sha256"
  1339. # password="01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
  1340. # type="NetAdmin">
  1341. #
  1342. # Starting from 2.0, you can use a more secure salted hash that prevents simply
  1343. # looking up the hash's value in a rainbow table built for the hash.
  1344. # hash="hmac-sha256" password="lkS1Nbtp$CyLd/WPQXizsbxFUTqFRoMvaC+zhOULEeZaQkUJj+Gg"
  1345. #
  1346. # Generate hashes using the /MKPASSWD command on the server.
  1347. # Don't run it on a server you don't trust with your password.
  1348.  
  1349. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1350. # Permanent channels module: Channels with the permanent channel mode
  1351. # will remain open even after everyone else has left the channel, and
  1352. # therefore keep things like modes, ban lists and topic. Permanent
  1353. # channels -may- need support from your Services package to function
  1354. # properly with them. This adds channel mode +P.
  1355. # This module is oper-only.
  1356. #<module name="m_permchannels.so">
  1357. # If you like, m_permchannels can write a config file of permanent channels
  1358. # whenever +P is set, unset, or the topic/modes on a +P channel is changed.
  1359. # If you want to do this, set the filename below, and uncomment the include.
  1360. #
  1361. # If 'listmodes' is true then all list modes (+b, +I, +e, +g...) will be
  1362. # saved. Defaults to false.
  1363. #<permchanneldb filename="data/permchannels.conf" listmodes="true">
  1364. #<include file="data/permchannels.conf">
  1365. #
  1366. # You may also create channels on startup by using the <permchannels> block.
  1367. # Don't forget to set them +P in the modes, or they won't stay permanent.
  1368. #<permchannels channel="#opers" modes="isP" topic="Opers only.">
  1369.  
  1370. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1371. # PostgreSQL module: Allows other SQL modules to access PgSQL databases
  1372. # through a unified API.
  1373. # This module is in extras. Re-run configure with:
  1374. # ./configure --enable-extras=m_pgsql.cpp
  1375. # and run make install, then uncomment this module to enable it.
  1376. #<module name="m_pgsql.so">
  1377. #
  1378. #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1379. # #
  1380. # m_pgsql.so is more complex than described here, see the wiki for #
  1381. # more: http://wiki.inspircd.org/Modules/pgsql #
  1382. #
  1383. #<database module="pgsql" name="mydb" user="myuser" pass="mypass" host="localhost" id="my_database" ssl="no">
  1384.  
  1385. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1386. # Muteban: Implements extended ban 'm', which stops anyone matching
  1387. # a mask like +b m:nick!user@host from speaking on channel.
  1388. #<module name="m_muteban.so">
  1389.  
  1390. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1391. # Random quote module: Provides a random quote on connect.
  1392. # NOTE: Some of these may mimic fatal errors and confuse users and
  1393. # opers alike - BEWARE!
  1394. #<module name="m_randquote.so">
  1395. #
  1396. #-#-#-#-#-#-#-#-#-#- RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  1397. # #
  1398. # Optional - If you specify to use the m_randquote.so module, then #
  1399. # specify below the path to the quotes file. #
  1400. # #
  1401. #<randquote file="quotes.txt">
  1402.  
  1403. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1404. # Redirect module: Adds channel redirection mode +L. #
  1405. # Optional: <redirect:antiredirect> to add usermode +L to stop forced #
  1406. # redirection and instead print an error. #
  1407. # #
  1408. # Note: You can not update this with a simple rehash, it requires #
  1409. # reloading the module for it to take effect. #
  1410. # This also breaks linking to servers that do not have the option. #
  1411. # This defaults to false for the 2.0 version, it will be enabled in #
  1412. # all the future versions. #
  1413. #<module name="m_redirect.so">
  1414. #<redirect antiredirect="true">
  1415.  
  1416. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1417. # Regular expression provider for glob or wildcard (?/*) matching.
  1418. # You must have at least 1 provider loaded to use m_filter or m_rline
  1419. # modules. This module has no additional requirements, as it uses the
  1420. # matching already present in InspIRCd core.
  1421. #<module name="m_regex_glob.so">
  1422.  
  1423. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1424. # Regular expression provider for PCRE (Perl-Compatible Regular
  1425. # Expressions). You need libpcre installed to compile and load this
  1426. # module. You must have at least 1 provider loaded to use m_filter or
  1427. # m_rline.
  1428. #<module name="m_regex_pcre.so">
  1429.  
  1430. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1431. # Regular expression provider for POSIX regular expressions.
  1432. # You shouldn't need any additional libraries on a POSIX-compatible
  1433. # system (i.e.: any Linux, BSD, but not Windows). You must have at
  1434. # least 1 provider loaded to use m_filter or m_rline.
  1435. # On POSIX-compliant systems, regex syntax can be found by using the
  1436. # command: 'man 7 regex'.
  1437. #<module name="m_regex_posix.so">
  1438.  
  1439. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1440. # Regular expression provider for C++11 std::regex regular expressions.
  1441. # This module works on any fully compliant implementation of the C++11
  1442. # std::regex container. Examples for such are Visual C++ 2010 and newer
  1443. # but not libstdc++ (which GCC uses).
  1444. # You should verify that std::regex is supported by your setup before
  1445. # using this module, as it may compile normally but won't do anything
  1446. # on some implementations.
  1447. #<module name="m_regex_stdlib.so">
  1448. #
  1449. # Specify the regular expression engine to use here. Valid settings are
  1450. # bre, ere, awk, grep, egrep, ecmascript (default if not specified).
  1451. #<stdregex type="ecmascript">
  1452.  
  1453. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1454. # Regular expression provider for TRE regular expressions.
  1455. # This is the same regular expression engine used by UnrealIRCd, so
  1456. # if you are most familiar with the syntax of /SPAMFILTER from there,
  1457. # this is the provider you want. You need libtre installed in order
  1458. # to compile and load this module.
  1459. #<module name="m_regex_tre.so">
  1460.  
  1461. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1462. # Registered users only channel creation module. If enabled, only
  1463. # registered users and opers can create new channels.
  1464. #
  1465. # You probably *DO NOT* want to load this module on a public network.
  1466. #
  1467. #<module name="m_regonlycreate.so">
  1468.  
  1469. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1470. # Remove module: Adds the /REMOVE command which is a peaceful
  1471. # alternative to /KICK.
  1472. <module name="m_remove.so">
  1473.  
  1474. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1475. # Restricted channels module: Allows only opers to create channels.
  1476. #
  1477. # You probably *DO NOT* want to load this module on a public network.
  1478. #
  1479. #<module name="m_restrictchans.so">
  1480.  
  1481. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1482. # Restrict message module: Allows users to only message opers.
  1483. #
  1484. # You probably *DO NOT* want to load this module on a public network.
  1485. #
  1486. #<module name="m_restrictmsg.so">
  1487. #
  1488. # Uncomment this to allow users to message ulines (e.g. services):
  1489. #<restrictmsg uline="yes">
  1490.  
  1491. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1492. # R-Line module: Ban users through regular expression patterns.
  1493. #<module name="m_rline.so">
  1494. #
  1495. #-#-#-#-#-#-#-#-#-#-#-#- RLINE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1496. #
  1497. # If you wish to re-check a user when they change nickname (can be
  1498. # useful under some situations, but *can* also use CPU with more users
  1499. # on a server) then set 'matchonnickchange' to yes.
  1500. # Also, this is where you set what Regular Expression engine is to be
  1501. # used. If you ever change it while running, all of your R-Lines will
  1502. # be wiped. This is the regex engine used by all R-Lines set, and
  1503. # m_regex_<engine>.so must be loaded, or rline will be non-functional
  1504. # until you load it or change the engine to one that is loaded.
  1505. #
  1506. #<rline matchonnickchange="yes" engine="pcre">
  1507. #
  1508. # Generally, you will NOT want to use 'glob' here, as this turns
  1509. # rline into just another gline. The exceptions are that rline will
  1510. # always use the full "nick!user@host realname" string, rather than only
  1511. # user@host, but beware that only the ? and * wildcards are available,
  1512. # and are the only way to specify where the space can occur if you do
  1513. # use glob. For this reason, is recommended to use a real regex engine
  1514. # so that at least \s or [[:space:]] is available.
  1515.  
  1516. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1517. # SAJOIN module: Adds the /SAJOIN command which forcibly joins a user
  1518. # to the given channel.
  1519. # This module is oper-only.
  1520. # To use, SAJOIN must be in one of your oper class blocks.
  1521. <module name="m_sajoin.so">
  1522.  
  1523. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1524. # SAKICK module: Adds the /SAKICK command which kicks a user from the
  1525. # given channel.
  1526. # This module is oper-only.
  1527. # To use, SAKICK must be in one of your oper class blocks.
  1528. <module name="m_sakick.so">
  1529.  
  1530. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1531. # SAMODE module: Adds the /SAMODE command which allows server operators
  1532. # to change modes on a channel without requiring them to have any
  1533. # channel priviliges. Also allows changing user modes for any user.
  1534. # This module is oper-only.
  1535. # To use, SAMODE must be in one of your oper class blocks.
  1536. <module name="m_samode.so">
  1537.  
  1538. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1539. # SANICK module: Adds the /SANICK command which allows opers to change
  1540. # users' nicks.
  1541. # This module is oper-only.
  1542. # To use, SANICK must be in one of your oper class blocks.
  1543. <module name="m_sanick.so">
  1544.  
  1545. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1546. # SAPART module: Adds the /SAPART command which forcibly parts a user
  1547. # from a channel.
  1548. # This module is oper-only.
  1549. # To use, SAPART must be in one of your oper class blocks.
  1550. <module name="m_sapart.so">
  1551.  
  1552. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1553. # SAQUIT module: Adds the /SAQUIT command which forcibly quits a user.
  1554. # This module is oper-only.
  1555. # To use, SAQUIT must be in one of your oper class blocks.
  1556. <module name="m_saquit.so">
  1557.  
  1558. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1559. # SATOPIC module: Adds the /SATOPIC command which allows changing the
  1560. # topic on a channel without requiring any channel priviliges.
  1561. # This module is oper-only.
  1562. # To use, SATOPIC must be in one of your oper class blocks.
  1563. <module name="m_satopic.so">
  1564.  
  1565. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1566. # SASL authentication module: Provides support for IRC Authentication
  1567. # Layer via AUTHENTICATE. Note: You also need to have m_cap.so loaded
  1568. # for SASL to work.
  1569. #<module name="m_sasl.so">
  1570.  
  1571. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1572. # Secure list module: Prevent /LIST in the first minute of connection,
  1573. # crippling most spambots and trojan spreader bots.
  1574. #<module name="m_securelist.so">
  1575. #
  1576. #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1577. # #
  1578. # Securelist can be harmful to some IRC search engines such as #
  1579. # netsplit.de and searchirc.com. To prevent securelist blocking these #
  1580. # sites from listing, define exception tags as shown below: #
  1581. #<securehost exception="*@*.searchirc.org">
  1582. #<securehost exception="*@*.netsplit.de">
  1583. #<securehost exception="*@echo940.server4you.de">
  1584. #<securehost exception="*@*.ircdriven.com">
  1585. # #
  1586. # Define the following variable to change how long a user must wait #
  1587. # before issuing a LIST. If not defined, defaults to 60 seconds. #
  1588. # #
  1589. #<securelist waittime="60"> #
  1590.  
  1591. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1592. # Servprotect module: Provides support for Austhex style +k /
  1593. # UnrealIRCD +S services mode.
  1594. <module name="m_servprotect.so">
  1595.  
  1596. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1597. # See nicks module: Adds snomask +n and +N which show local and remote
  1598. # nick changes.
  1599. # This module is oper-only.
  1600. <module name="m_seenicks.so">
  1601.  
  1602. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1603. # Set idle module: Adds a command for opers to change their idle time.
  1604. # This module is oper-only.
  1605. # To use, SETIDLE must be in one of your oper class blocks.
  1606. <module name="m_setidle.so">
  1607.  
  1608. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1609. # Services support module: Adds several usermodes such as +R and +M.
  1610. # This module implements the 'identified' state via account names,
  1611. # and is similar in operation to the way asuka and ircu handle services.
  1612. #
  1613. # At the same time, this offers +r for users and channels to mark them
  1614. # as identified separately from the idea of a master account, which
  1615. # can be useful for services which are heavily nick-as-account centric.
  1616. #
  1617. # Also of note is that this module implements two extbans:
  1618. # +b R: (stop matching account names from joining)
  1619. # +b U:n!u@h (blocks matching unregistered users)
  1620. #
  1621. #<module name="m_services_account.so">
  1622.  
  1623. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1624. # Sethost module: Adds the /SETHOST command.
  1625. # This module is oper-only.
  1626. # To use, SETHOST must be in one of your oper class blocks.
  1627. # See m_chghost for how to customise valid chars for hostnames.
  1628. <module name="m_sethost.so">
  1629.  
  1630. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1631. # Setident module: Adds the /SETIDENT command.
  1632. # This module is oper-only.
  1633. # To use, SETIDENT must be in one of your oper class blocks.
  1634. <module name="m_setident.so">
  1635.  
  1636. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1637. # SETNAME module: Adds the /SETNAME command.
  1638. <module name="m_setname.so">
  1639.  
  1640. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1641. # Serverban: Implements extended ban 's', which stops anyone connected
  1642. # to a server matching a mask like +b s:server.mask.here from joining.
  1643. <module name="m_serverban.so">
  1644.  
  1645. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1646. # Show whois module: Adds the +W usermode which allows opers to see
  1647. # when they are /WHOIS'd.
  1648. # This module is oper-only by default.
  1649. <module name="m_showwhois.so">
  1650. #
  1651. # If you wish, you may also let users set this mode. Only opers with the
  1652. # users/auspex priv will see real hosts of people, though. This setting
  1653. # is not reloadable via /REHASH, changing it requires /RELOADMODULE.
  1654. <showwhois opersonly="yes"
  1655. #
  1656. # You may also set whether or not users should receive whois notices,
  1657. # should they be /WHOIS'd by an oper.
  1658. showfromopers="yes">
  1659.  
  1660. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1661. # Shun module: Provides the /SHUN command, which stops a user from
  1662. # executing all except configured commands.
  1663. # This module is oper-only.
  1664. # To use, SHUN must be in one of your oper class blocks.
  1665. <module name="m_shun.so">
  1666. #
  1667. # You may also configure which commands you wish a user to be able to
  1668. # perform when shunned. It should be noted that if a shunned user
  1669. # issues QUIT or PART then their message will be removed, as if they
  1670. # did not issue one.
  1671. #
  1672. # You can optionally let the user know that their command was blocked.
  1673. #
  1674. # You may also let SHUN affect opers (defaults to no).
  1675. <shun enabledcommands="PING PONG QUIT PART JOIN" notifyuser="yes" affectopers="no">
  1676.  
  1677. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1678. # SSL channel mode module: Adds support for SSL-only channels via
  1679. # channel mode +z and the 'z' extban which matches SSL client
  1680. # certificate fingerprints.
  1681. # Does not do anything useful without a working SSL module (see below).
  1682. <module name="m_sslmodes.so">
  1683.  
  1684. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1685. # GnuTLS SSL module: Adds support for SSL connections using GnuTLS,
  1686. # if enabled. You must answer 'yes' in ./configure when asked or
  1687. # manually symlink the source for this module from the directory
  1688. # src/modules/extra, if you want to enable this, or it will not load.
  1689. #<module name="m_ssl_gnutls.so">
  1690. #
  1691. #-#-#-#-#-#-#-#-#-#-#- GNUTLS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  1692. # #
  1693. # m_ssl_gnutls.so is too complex to describe here, see the wiki: #
  1694. # http://wiki.inspircd.org/Modules/ssl_gnutls #
  1695.  
  1696. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1697. # SSL info module: Allows users to retrieve information about other
  1698. # users' peer SSL certificates and keys. This can be used by client
  1699. # scripts to validate users. For this to work, one of m_ssl_gnutls.so
  1700. # or m_ssl_openssl.so must be loaded. This module also adds the
  1701. # "* <user> is using a secure connection" whois line, the ability for
  1702. # opers to use SSL fingerprints to verify their identity and the
  1703. # ability to force opers to use SSL connections in order to oper up.
  1704. # It is highly recommended to load this module if you use SSL on your
  1705. # network.
  1706. # For how to use the oper features, please see the first example <oper> tag
  1707. # in opers.conf.example.
  1708. #
  1709. #<module name="m_sslinfo.so">
  1710.  
  1711. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1712. # OpenSSL SSL module: Adds support for SSL connections using OpenSSL,
  1713. # if enabled. You must answer 'yes' in ./configure when asked or symlink
  1714. # the source for this module from the directory src/modules/extra, if
  1715. # you want to enable this, or it will not load.
  1716. #<module name="m_ssl_openssl.so">
  1717. #
  1718. #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  1719. # #
  1720. # m_ssl_openssl.so is too complex to describe here, see the wiki: #
  1721. # http://wiki.inspircd.org/Modules/ssl_openssl #
  1722.  
  1723. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1724. # Strip color module: Adds channel mode +S that strips mIRC color
  1725. # codes from all messages sent to the channel.
  1726. <module name="m_stripcolor.so">
  1727.  
  1728. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1729. # Silence module: Adds support for the /SILENCE command, which allows
  1730. # users to have a server-side ignore list for their client.
  1731. <module name="m_silence.so">
  1732. #
  1733. # Set the maximum number of entries allowed on a user's silence list.
  1734. #<silence maxentries="32">
  1735.  
  1736. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1737. # SQLite3 module: Allows other SQL modules to access SQLite3 #
  1738. # databases through a unified API. #
  1739. # This module is in extras. Re-run configure with: #
  1740. # ./configure --enable-extras=m_sqlite.cpp
  1741. # and run make install, then uncomment this module to enable it. #
  1742. #
  1743. #<module name="m_sqlite3.so">
  1744. #
  1745. #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1746. # #
  1747. # m_sqlite.so is more complex than described here, see the wiki for #
  1748. # more: http://wiki.inspircd.org/Modules/sqlite3 #
  1749. #
  1750. #<database module="sqlite" hostname="/full/path/to/database.db" id="anytext">
  1751.  
  1752. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1753. # SQL authentication module: Allows IRCd connections to be tied into
  1754. # a database table (for example a forum).
  1755. # This module is in extras. Re-run configure with:
  1756. # ./configure --enable-extras=m_sqlauth.cpp
  1757. # and run make install, then uncomment this module to enable it.
  1758. #
  1759. #<module name="m_sqlauth.so">
  1760. #
  1761. #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  1762. # #
  1763. # m_sqlauth.so is too complex to describe here, see the wiki: #
  1764. # http://wiki.inspircd.org/Modules/sqlauth #
  1765.  
  1766. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1767. # SQL oper module: Allows you to store oper credentials in an SQL table
  1768. # This module is in extras. Re-run configure with:
  1769. # ./configure --enable-extras=m_sqloper.cpp
  1770. # and run make install, then uncomment this module to enable it.
  1771. #
  1772. #<module name="m_sqloper.so">
  1773. #
  1774. #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
  1775. # #
  1776. # dbid - Database ID to use (see SQL modules). #
  1777. # hash - Hashing provider to use for password hashing. #
  1778. # #
  1779. # See also: http://wiki.inspircd.org/Modules/sqloper #
  1780. # #
  1781. #<sqloper dbid="1" hash="md5">
  1782.  
  1783. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1784. # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be #
  1785. # added/removed by Services. #
  1786. #<module name="m_svshold.so">
  1787. # If silent is true no snotices will be generated by SVSHOLD.
  1788. #<svshold silent="false">
  1789.  
  1790. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1791. # SWHOIS module: Allows you to add arbitrary lines to user WHOIS.
  1792. # This module is oper-only.
  1793. # To use, SWHOIS must be in one of your oper class blocks.
  1794. <module name="m_swhois.so">
  1795.  
  1796. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1797. # Test module: Enable this to create a command useful in testing
  1798. # flood control. To avoid accidental use on live networks, the server
  1799. # name must contain ".test" to load the module
  1800. #<module name="m_testnet.so">
  1801.  
  1802. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1803. # Timed bans module: Adds timed channel bans with the /TBAN command.
  1804. <module name="m_timedbans.so">
  1805.  
  1806. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1807. # Test line module: Adds the /TLINE command, used to test how many
  1808. # users a /GLINE or /ZLINE etc. would match.
  1809. # This module is oper-only.
  1810. # To use, TLINE must be in one of your oper class blocks.
  1811. <module name="m_tline.so">
  1812.  
  1813. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1814. # Topiclock module: implements server-side topic locking to achieve deeper
  1815. # integration with services packages.
  1816. <module name="m_topiclock.so">
  1817.  
  1818. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1819. # UHNAMES support module: Adds support for the IRCX style UHNAMES
  1820. # extension, which displays ident and hostname in the names list for
  1821. # each user, saving clients from doing a WHO on the channel.
  1822. # If a client does not support UHNAMES it will not enable it, this will
  1823. # not break incompatible clients.
  1824. <module name="m_uhnames.so">
  1825.  
  1826. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1827. # Uninvite module: Adds the /UNINVITE command which lets users remove
  1828. # pending invites from channels without waiting for the user to join.
  1829. <module name="m_uninvite.so">
  1830.  
  1831. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1832. # Userip module: Adds the /USERIP command.
  1833. # Allows users to query their own IP, also allows opers to query the IP
  1834. # of anyone else.
  1835. <module name="m_userip.so">
  1836.  
  1837. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1838. # Vhost module: Adds the VHOST command which allows for adding virtual
  1839. # hosts which are accessible using a username and password in the config.
  1840. <module name="m_vhost.so">
  1841. #
  1842. #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
  1843. # #
  1844. # user - Username for the vhost. #
  1845. # #
  1846. # pass - Password for the vhost. #
  1847. # #
  1848. # hash - The hash for the specific user (optional) #
  1849. # m_password_hash.so and a hashing module must be loaded #
  1850. # for this to work. #
  1851. # #
  1852. # host - Vhost to set. #
  1853. #
  1854. <vhost user="some_username" pass="some_password" host="some.host.test.cc"><vhost user="foo" password="fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9" hash="sha256" host="some.other.host.example.com">
  1855.  
  1856. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1857. # Watch module: Adds the WATCH command, which is used by clients to
  1858. # maintain notify lists.
  1859. #<module name="m_watch.so">
  1860. #
  1861. # Set the maximum number of entries on a user's watch list below.
  1862. #<watch maxentries="32">
  1863.  
  1864. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1865. # XLine database: Stores all *Lines (G/Z/K/R/any added by other modules)
  1866. # in a file which is re-loaded on restart. This is useful
  1867. # for two reasons: it keeps bans so users may not evade them, and on
  1868. # bigger networks, server connections will take less time as there will
  1869. # be a lot less bans to apply - as most of them will already be there.
  1870. <module name="m_xline_db.so">
  1871.  
  1872. # Specify the filename for the xline database here.
  1873. <xlinedb filename="data/xline.db">
  1874.  
  1875. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1876. # ____ _ _____ _ _ ____ _ _ _ #
  1877. # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
  1878. # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
  1879. # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
  1880. # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
  1881. # #
  1882. # To link servers to InspIRCd, you MUST load the m_spanningtree #
  1883. # module. If you don't do this, server links will NOT work at all. #
  1884. # This is by design, to allow for the implementation of other linking #
  1885. # protocols in modules in the future. #
  1886.  
  1887. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  1888. # Spanning tree module: Allows linking of servers using the spanning
  1889. # tree protocol (see the READ THIS BIT section above).
  1890. # You will almost always want to load this.
  1891. #
  1892. #<module name="m_spanningtree.so">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement