<!-- BEGIN TEMPLATE: postbit_external -->
<div><div align="center"><br /><font size="6"><font color="#2E64FE">Simple Chat Filter</font></font><br /><img src="http://image.noelsha...8670-before.jpg" border="0" alt="" /><img src="http://image.noelshack.com/fichiers/2014/07/1392578670-arrowv2.png" border="0" alt="" /><img src="http://image.noelshack.com/fichiers/2014/07/1392578678-after.jpg" border="0" alt="" /><br /></div><br /><font size="6"><font color="#2E64FE">Description :</font></font><br />Bored about those rude words ? Well, now you can get ride of those ! Replace them with other words !<br /><br /><b>Features :</b><ul><li>Easy to configure</li>
<li>Work with all other chat plugins !</li>
<li>Support a maximum of 999 words !</li>
<li>More features are coming soon !</li>
</ul><br /><font size="6"><font color="#2E64FE">Command and Cvar :</font></font><br />sm_reloadfilter - reload manually the word list. Do it after each changes done in chat_filter.cfg !<br /><br /><font size="6"><font color="#2E64FE">Installation :</font></font><br />1) Put chat_filter.smx in your plugin folder : sourcemod/plugins<br />2) Put chat_filter.cfg in your configs folder : sourcemod/configs<br />3) Configure the plugin, edit chat_filter.cfg with your favorite text editor !<br />4) Restart server, reload map or reload plugins folder.<br /><b>NOTE</b>: You need to reload plugin (sm plugins reload chat_filter) if you have done changes in your chat_filter.cfg ! <br /><br />Require Simple Chat Processor to compile manually.<br /><br /><font size="6"><font color="#2E64FE">Configuration :</font></font><br />Here is a exemple of a simple configuration :<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #DD0000">"Filter"
<br /></span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"0"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"word" "Fuck"
<br /> "replace" "Love"
<br /> </span><span style="color: #007700">}
<br /> </span><span style="color: #DD0000">"1"
<br /> </span><span style="color: #007700">{
<br /> </span><span style="color: #DD0000">"word" "Dog"
<br /> "replace" "Cat"
<br /> </span><span style="color: #007700">}
<br />}
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><font size="6"><font color="#2E64FE">Request and things to do :</font></font><ul><li>Add a non-case sensitive support.</li>
<li>Add a punishement support. (Kick, slay, explose ?)</li>
<li>Add a command to manually reload word list. -> <font color="#01DF01">DONE!</font></li>
</ul>... and all what you want ! Feel free to request !<br /><br />Logs :<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;"><br />1.0 - first public release.<br />1.1 - Added sm_reloadfilter to reload manually the word list.<br /></div>
</div>
</div></div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<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...38;d=1392579371">chat_filter.cfg</a> (66 Bytes)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<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...38;d=1392581081">chat_filter.smx</a> (5.2 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...?file_id=130681"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1392581072">Get Source</a> (chat_filter.sp - 2.4 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
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] Simple Chat Filter
Temat rozp. Adminek AMXX.PL, 16.02.2014 20:36
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych