<!-- BEGIN TEMPLATE: postbit_external -->
<div><font face="Impact"><div align="center"><font size="6">[ANY] City Bans</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 admins to ban users by their city.<br /><br /><b><font size="4">Cvars:</font></b><ul><li><b>city_bans_version</b> - plugin version</li>
<li><b>city_bans_f2p</b> - only block Free2Play players in banned cities from connecting (only works in TF2, requires SteamTools), defaults to 1</li>
<li><b>city_bans_message</b> - message to display to banned players, defaults to "You have been banned"</li>
</ul><br /><b><font size="4">Overrides:</font></b><br />Admins with access to the "BypassCityBan" override (defaults to root) won't be blocked when they join from banned cities.<br /><br /><b><font size="4">Database:</font></b><br />City Bans requires a database to store bans in. It will first look for a "citybans" configuration in databases.cfg, then for a "default" configuration. Here's a citybans configuration that uses a local SQLite database (no database server required):<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">"citybans"<br /> {<br /> "driver" "sqlite"<br /> "database" "citybans"<br /> }</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->You can also configure it to use a MySQL database to sync bans across servers.<br /><br /><b><font size="4">Requirements:</font></b><br />Requires the <a href="https://forums.allie...ad.php?t=132470" title="AlliedModders - Thread 132470">GeoIPCity</a> extension, and optionally <a href="https://forums.alliedmods.net/showthread.php?t=170630" title="AlliedModders - Thread 170630">SteamTools</a> for TF2 F2P blocking.<br /><br /><b><font size="4">Installation:</font></b><br />Install <a href="https://forums.alliedmods.net/showthread.php?t=132470" title="AlliedModders - Thread 132470">GeoIPCity</a> if you don't have it already (and optionally <a href="https://forums.alliedmods.net/showthread.php?t=170630" title="AlliedModders - Thread 170630">SteamTools</a>), put citybans.smx into /addons/sourcemod/plugins, and reboot your server or type "sm plugins load citybans" into your console or rcon.<br /><br /><b><font size="4">Auto Update:</font></b><br />Install <a href="https://forums.alliedmods.net/showthread.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 (6/11/13)</b><ul><li>Initial release</li>
</ul></li>
</ul><br /><b><font size="3"><a href="https://bitbucket.or...ns/citybans.smx" target="_blank">Download Plugin (citybans.smx)</a></font></b><font size="3"><br /><a href="https://bitbucket.org/Doctor_McKay/public-plugins/src/default/scripting/citybans.sp" target="_blank">View Source (citybans.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] City Bans
Temat rozp. Adminek AMXX.PL, 12.06.2013 00:35
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych