Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[ANY] City Bans


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 493
  • Lokalizacja:AMXX.PL
Offline

Napisano 12.06.2013 00:35

<!-- 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 &quot;You have been banned&quot;</li>
</ul><br /><b><font size="4">Overrides:</font></b><br />Admins with access to the &quot;BypassCityBan&quot; 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 &quot;citybans&quot; configuration in databases.cfg, then for a &quot;default&quot; 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">&quot;citybans&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;driver&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;sqlite&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;database&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;citybans&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; }</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 &quot;sm plugins load citybans&quot; 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ł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych