<div><b><u>Description:<br /></u></b>This plugin enables to block map commands from the entity point_servercommand<br /><br /><b><u>Installation:</u></b><br />First install PointDetour : <a href="https://forums.allie...d.php?t=184270"target="_blank">https://forums.allie...t=184270</a><br />Then, upload antimapabuse.smx file to addons/sourcemod/plugins<br /> Finally, upload the antimapabuse folder inside cfg/sourcemod<br /><br /><b><u>Cvar:</u></b><br />sm_antimapabuse_debug "0" : If it is set to 1, it shows all the commands sent by Point_ServerCommand entity<br /><br /><u><b>Configuration :</b></u><br />This plugin has only one configuration per map, so you need to create a file with the exact map name inside cfg/sourcemod/antimapabuse/maps<br /><br /><b><u>Configuration example:</u></b><br />WARNING ! In the case of westersand, apparently Stripper Source brokes the map, this is why it is unloaded.<br /><br /><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: #FF8000">//First the more specific commands (meta unload)<br />//After the more global commands (meta)<br /><br /></span><span style="color: #DD0000">"antimapabuse"<br /></span><span style="color: #007700">{<br /> </span><span style="color: #DD0000">"Change"<br /> </span><span style="color: #007700">{<br /> </span><span style="color: #DD0000">"Value" "exec westersand.cfg"<br /> "NewValue" "exec cfg/sourcemod/antimapabuse/newmapcfg/westersand"<br /> </span><span style="color: #007700">}<br /> </span><span style="color: #DD0000">"Change"<br /> </span><span style="color: #007700">{<br /> </span><span style="color: #DD0000">"Value" "meta unload stripper"<br /> "NewValue" "say Don't touch Stripper Source ! ;sm_slay Sithranduil"<br /> </span><span style="color: #007700">}<br /> </span><span style="color: #DD0000">"Enable"<br /> </span><span style="color: #007700">{<br /> </span><span style="color: #DD0000">"Value" "meta"<br /> </span><span style="color: #007700">}<br /> <br /> </span><span style="color: #DD0000">"Disable"<br /> </span><span style="color: #007700">{<br /> </span><span style="color: #DD0000">"Value" "sm"<br /> </span><span style="color: #007700">}<br />}
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>TODO:<br />Later, I will make a script to search for all the commands inside the map.</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...81"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1430500658">GetSource</a> (antimapabuse.sp - 5.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...apabuse.smx</a>(10.7 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/7z.gif"alt="File Type: 7z" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...MapAbuse.7z</a>(11.9 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

AntiMapAbuse
Temat rozp. Adminek AMXX.PL, 01.05.2015 18:32
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych