<div><b><font size="3">Universal Chat Filter (Version 0.9.6, 2016-10-01)</font></b><br /><br />A universal chat filter plugin using regular expressions. You can trigger text replacements, name replacements, colors, server commands, and even sounds with it. Thus you can use it as a guardian over your server's chat language as well a fun replacement tool and even for kicking annoying LMAOBox players (much faster than the VAC system). Oh, and anti CAPS is possible as well.<br /><br /><b>Needs the Simple Chat Processor (Redux) plugin!</b> Which you can find here: <a href="https://forums.allie....php?p=1820365"target="_blank">https://forums.allie...=1820365</a><br /><br /><b><font size="3">Features</font></b><ul><li><b>Regex filter expression</b> -> filter chat entries by (or player names) by using regular expressions. If you don't know what this is, take a look e.g. here: <a href="http://www.regular-expressions.info/tutorial.html" target="_blank">http://www.regular-e...l.html</a></li>
<li><b>Additional filter conditions</b> -> you can specify additional filter conditions like members of a certain team, (non) admins, members of custom chatfilter groups, or exceeding a specified CAPS-letter-to-non-CAPS-letter ratio.</li>
<li><b>Flexible replacements</b> -> choose whether to block a chat entry completely or just replace it - or parts of it. You can use regex grouping tags in replacements, too.</li>
<li><b>Color replacement options</b> -> you can assign colors in your replacement expressions. (If your game supports this - sorry, CS:GO players!)</li>
<li><b>Color flow replacement options</b> -> use not only plain colors but 'rainbow-like' color flows in your replacement. Like this: <img src="http://79.143.181.21...colorflow2.gif"border="0" alt="" /></li>
<li><b>Sound replacement options</b> -> you can even play sounds as a replacement or as a part of it!</li>
<li><b>Trigger commands</b> -> use the penalty point system to trigger any server command at (almost) any point.</li>
</ul><br /><b><font size="3">Commands</font></b><br /><br />The only essential thing is to set up a proper chatfilter config file (chatfilter.cfg). Then anything else will happen automatically. For maintenance or information reasons you can use these commands:<ul><li><b>sm_chatfilter_reload </b> -> reload the chatfilter.cfg file.</li>
<li><b>sm_chatfilter_reset <name|#userid> [<section id>]</b> -> reset a players penalty points. You can add a config section number if you only want to erase the points for a certain section. (See below: Configuration)</li>
<li><b>sm_chatfilter_status</b> -> show plugin details and a table of all players' information.</li>
<li><b>sm_chatfilter_group <name|#userid> <group></b> -> assign a player to a group (that has been defined in the config file - see below).</li>
<li><b>sm_chatfilter_ungroup <name|#userid></b> -> erase the group assignment for a player.</li>
</ul><br /><b><font size="3">CVars</font></b><ul><li><b>chatfilter_version</b> -> the plugin's version, obviously...</li>
<li><b>sm_chatfilter_enabled</b> -> 1/0 for enabling or disabling the chatfilter. (Default 1)</li>
<li><b>sm_chatfilter_admins</b> -> 0/1 for disabling or enabling the chatfilter on admins. (Default 0)</li>
<li><b>sm_chatfilter_keep_penalty</b> -> 1/0 for keeping or resetting a player's penalty points on reconnect. (Default 1)</li>
<li><b>sm_chatfilter_loglevel</b> -> 0/1/2: 0 = no logging / 1 = log only triggered actions to the sourcemod log file / 2 = log actions and replacements. (Default 1)</li>
</ul><br /><b><font size="3">Installation</font></b><br /><br /><b>First: Install the Simple Chat Processor (Redux) plugin by minimoney1!</b> <a href="https://forums.allie....php?p=1820365"target="_blank">https://forums.allie...=1820365</a><br /><br />Then copy the <i>chatfilter.smx</i> into your SourceMod 'plugins' directory and put the <i>chatfilter.cfg</i> into the 'configs' directory. Take a look inside the <i>chatfilter.cfg</i> and modify it to your needs!<br /><br /><b>The config file:</b><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;">As for now, just take a look into the file I provided with this plugin. Pretty much is described in the comments. I will publish a detailed description here later...<br /></div>
</div>
</div><br /><br /><b><font size="3">Download</font></b></div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...59"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1475361514">GetSource</a> (chatfilter.sp - 96.6 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...tfilter.smx</a>(31.5 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/cfg.gif"alt="File Type: cfg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...tfilter.cfg</a>(11.3 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse

[ANY] Universal Chat Filter (Version 0.9.6, 2016-10-01)
Temat rozp. Adminek AMXX.PL, 01.10.2016 23:33
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych