<!-- BEGIN TEMPLATE: postbit_external -->
<div><font face="Impact"><div align="center"><font size="6">[ANY] ConVar Faker</font></div></font><br /><div align="center"><font size="2"><i>v1.0.0</i></font></div><br /><b><font size="4">Description:</font></b><br />Allows you to customize the value of client-side replicated cvars for clients. Some possible use-cases are to mask the value of sv_downloadurl in the console (the actual URL is still fairly easily obtainable), to enable the wait command only for admins, or to allow some users to use client-side cheats.<br /><br /><b><font size="4">Cvars:</font></b><ul><li><b>cvar_faker_version</b> - plugin version</li>
<li><b>cvar_faker_auto_update</b> - enables automatic updating (has no effect if <a href="https://forums.allie...ad.php?t=169095" title="AlliedModders - Thread 169095">Updater</a> is not installed)</li>
</ul><br /><b><font size="4">Configuration:</font></b><br />This plugin requires a configuration file under configs/cvar_faker.cfg in your SourceMod directory.<br /><br />Here is an example file:<br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">"ConVar_Faker"<br />{<br /> "sv_cheats" // Enable sv_cheats on the client-side for root admins (allows client-side cheat commands)<br /> {<br /> "flags" "z"<br /> "value" "1"<br /> }<br /> <br /> "sv_downloadurl" // Mask sv_downloadurl for all players (this doesn't provide any real security)<br /> {<br /> "value" "*** PROTECTED ***"<br /> }<br /> <br /> "tf_weapon_criticals" // Disable client-side crit effects for people without the "a" flag<br /> {<br /> "flags" "a"<br /> "flagtype" "not"<br /> "value" "0"<br /> }<br /> <br /> "sv_allow_wait_command" // Allow the wait command for people with the "a" flag<br /> {<br /> "flags" "a"<br /> "value" "1"<br /> }<br />}</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->Each section's name should be the cvar's name. Each section requires a "value" field for the value to send to clients. "flags" is optional and will determine if a value is sent to a client based on their admin flags. "flagtype" is also optional and will default to "any". Possible values for "flagtype" are:<ul><li>any - Client must have <b>any</b> of the flags listed</li>
<li>all - Client must have <b>all</b> of the flags listed</li>
<li>not - Client must <b>not</b> have <b>any</b> of the flags listed</li>
</ul><br /><b><font size="4">Installation:</font></b><br />Put convarfaker.smx into /addons/sourcemod/plugins, and reboot your server or type "sm plugins load convarfaker" into your console or rcon.<br /><br /><b><font size="4">Auto Update:</font></b><br />Install <a href="https://forums.allie...ad.php?t=169095" title="AlliedModders - Thread 169095">Updater</a>. The plugin will be auto-updated according to your Updater settings. It'll work without Updater.<br /><br /><b><font size="4">Changelog:</font></b><ul><li><b>v1.0.0 (10/1/13)</b><ul><li>Initial release</li>
</ul></li>
</ul><br /><b><font size="3"><a href="https://bitbucket.or...convarfaker.smx" target="_blank">Download Plugin (convarfaker.smx)</a></font></b><font size="3"><br /><a href="https://bitbucket.org/Doctor_McKay/public-plugins/src/default/scripting/convarfaker.sp" target="_blank">View Source (convarfaker.sp)</a></font><br /><br /><i><font size="1">Requires <a href="https://forums.alliedmods.net/showthread.php?t=169095" title="AlliedModders - Thread 169095">updater.inc</a> and <a href="https://bitbucket.org/Doctor_McKay/public-plugins/src/default/scripting/mckayupdater.sp" target="_blank">mckayupdater.sp</a> to compile.</font></i></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] ConVar Faker
Temat rozp. Adminek AMXX.PL, 01.10.2013 17:15
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych