https://wiki.anope.org/index.php?title=2.0/Modules/cs_core&feed=atom&action=history2.0/Modules/cs core - Revision history2024-03-29T08:56:28ZRevision history for this page on the wikiMediaWiki 1.23.4//wiki.anope.org/index.php?title=2.0/Modules/cs_core&diff=669&oldid=prevAzander at 21:33, 6 May 20142014-05-06T21:33:28Z<p></p>
<a href="//wiki.anope.org/index.php?title=2.0/Modules/cs_core&diff=669&oldid=666">Show changes</a>Azander//wiki.anope.org/index.php?title=2.0/Modules/cs_core&diff=666&oldid=prevAzander: Azander moved page 2.0/Modules/cs levels to 2.0/Modules/cs core without leaving a redirect2014-05-06T21:25:16Z<p>Azander moved page <a href="/index.php?title=2.0/Modules/cs_levels&action=edit&redlink=1" class="new" title="2.0/Modules/cs levels (page does not exist)">2.0/Modules/cs levels</a> to <a href="/index.php/2.0/Modules/cs_core" title="2.0/Modules/cs core">2.0/Modules/cs core</a> without leaving a redirect</p>
<table class='diff diff-contentalign-left'>
<tr style='vertical-align: top;'>
<td colspan='1' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black; text-align: center;">Revision as of 21:25, 6 May 2014</td>
</tr><tr><td colspan='2' style='text-align: center;'><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Azander//wiki.anope.org/index.php?title=2.0/Modules/cs_core&diff=665&oldid=prevAzander: Created page with "{{Language|2.0/Modules/cs_core}} {{Syntax|cs_core|ChanServ|Anope}} == <div class="moduleheader">Description</div> == == <div class="moduleheader">Commands</div> == == <div c..."2014-05-06T21:24:58Z<p>Created page with "{{Language|2.0/Modules/cs_core}} {{Syntax|cs_core|ChanServ|Anope}} == <div class="moduleheader">Description</div> == == <div class="moduleheader">Commands</div> == == <div c..."</p>
<p><b>New page</b></p><div>{{Language|2.0/Modules/cs_core}}<br />
{{Syntax|cs_core|ChanServ|Anope}}<br />
<br />
== <div class="moduleheader">Description</div> ==<br />
== <div class="moduleheader">Commands</div> == <br />
== <div class="moduleheader">Examples</div> ==<br />
== <div class="moduleheader">Default Configuration</div> ==<br />
<br />
<div class="code"><br />
<syntaxhighlight lang="cpp"><br />
/*<br />
* Core ChanServ module.<br />
*<br />
* Provides essential functionality for ChanServ.<br />
*/<br />
module<br />
{<br />
name = "chanserv"<br />
<br />
/*<br />
* The name of the client that should be ChanServ.<br />
*/<br />
client = "ChanServ"<br />
<br />
/*<br />
* The default options for newly registered channels. Note that changing these options<br />
* will have no effect on channels which are already registered. The list must be separated<br />
* by spaces.<br />
*<br />
* The options are:<br />
* - keeptopic: Retain topic when the channel is not in use<br />
* - peace: Disallow users from kicking or removing modes from others who are of the same<br />
* access level or superior<br />
* - cs_private: Hide the channel from ChanServ's LIST command<br />
* - restricted: Kick/ban users who are restricted from the channel<br />
* - cs_secure: Enable channel security, requiring the user to be identified with NickServ in<br />
* order to be considered for being on the access list of the channel<br />
* - secureops: Only allow operator status to be given if the user is on the access list<br />
* - securefounder: Only allow the real founder of the channel to drop the channel, change it's<br />
* password, or change the founder or successor<br />
* - signkick: Use of ChanServ's KICK command will cause the user's nick to be signed to the kick.<br />
* - signkick_level: Same as above, but the kick will not be signed if the user is at the same access<br />
* level or superior to the target<br />
* - topiclock: Disallow the topic to be changed except with ChanServ's TOPIC command<br />
* - persist: Keep the channel open at all times<br />
* - noautoop: Disables autoop on the channel<br />
* - cs_keep_modes: Enables keep modes on the channel, which retains modes when the channel is<br />
* not in use.<br />
* - none: No defaults<br />
*<br />
* This directive is optional, if left blank, the options will default to keeptopic, cs_secure, securefounder,<br />
* and signkick. If you really want no defaults, use "none" by itself as the option.<br />
*/<br />
defaults = "keeptopic peace cs_secure securefounder signkick"<br />
<br />
/*<br />
* The maximum number of channels which may be registered to a single nickname.<br />
*<br />
* This directive is optional, but recommended.<br />
* If not set, there will be no restriction on the numbers of channels a single nickname can have registered.<br />
*/<br />
maxregistered = 20<br />
<br />
/*<br />
* The length of time before a channel registration expires.<br />
*<br />
* This directive is optional, but recommended.<br />
* If not set, the default is 14 days.<br />
*/<br />
expire = 14d<br />
<br />
/*<br />
* The maximum number of entries on a channel's access list.<br />
* If not set, the default is 1024. This can be set to 0 for unlimited.<br />
*/<br />
accessmax = 1024<br />
<br />
/*<br />
* The length of time ChanServ stays in a channel after kicking a user from a channel they are not<br />
* permitted to be in. This only occurs when the user is the only one in the channel.<br />
*/<br />
inhabit = 15s<br />
/*<br />
* Allow only IRC Operators to use ChanServ.<br />
*<br />
* This directive is optional.<br />
*/<br />
#opersonly = yes<br />
<br />
/*<br />
* Modes that will not be allowed to be locked. Oper only modes such as +O<br />
* are always restricted from regular users and are not affected by this.<br />
* Comment out for no restrictions.<br />
*/<br />
#nomlock = "P"<br />
<br />
/*<br />
* Modes that are required to be set and only set on all registered channels.<br />
* These modes can not be locked or unlocked. The registered channel mode is<br />
* automatically always required, if such a mode exists.<br />
*/<br />
#require = "r"<br />
<br />
/*<br />
* The maximum length of the reason field for user commands such as chanserv/kick<br />
* and chanserv/ban.<br />
*/<br />
reasonmax = 200<br />
<br />
/*<br />
* If set, prevents channel access entries from containing hostmasks.<br />
*/<br />
disallow_hostmask_access = false<br />
<br />
/*<br />
* If set, prevents channels from being on access lists.<br />
*/<br />
disallow_channel_access = false<br />
<br />
/*<br />
* If set, ChanServ will always lower the timestamp of registered channels to their registration date.<br />
* This prevents several race conditions where unauthorized users can join empty registered channels and set<br />
* modes etc. prior to services deopping them.<br />
*/<br />
always_lower_ts = false<br />
}<br />
<br />
</syntaxhighlight></div></div>Azander