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

[CS:GO] BetterBan (v1.0 1/6/17)


  • 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 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 06.01.2017 09:42

<div>Hey guys this is my first plugin ever so I'm sure the code isn't 100% optimised and might be a few bugs, so if you could check it out and give me some feedback that would be great!<br /><br /><b>Summary</b><br />BetterBan will SteamId ban a user when they are IP rejected from the server. Banning a Steam client using a generic method will just allow the user to change account and continue playing on the server. BetterBan will ban the client and also (for a specified amount of time <font face="Courier New">bb_ip_banlength</font>) will ban every user that attempt to connect using the same IP address.<br /><br />You might be thinking, why dont I just ban their IP? Well this will work but wouldn't you like to ban their second account or third account (and so on) that try to connect but are IP rejected? This is the functionality of this plugin.<br /><br />The only case that this plugin is inneffective is if the client changes their IP address before connecting with a new account.<br /><br /><b>Installation</b><br />Drag betterban.smx into your Sourcemod plugins folder and restart your server or type &quot;sm plugins load betterban&quot; into the server console.<br /><br /><b>How To Use</b><br /><font face="Courier New">betterban <i>&lt;clientid&gt;</i> <i>[Message to user]</i></font><br /><ul><li>The clientid can be retrieved by typing status and using the second userid digit, as highlighted in this image <a href="https://camo.githubu...3834382e706e67"target="_blank">https://camo.githubu...2e706e67</a><br /></li>
<li>Message is optional and needs to be quoted. Example: <b><font face="Courier New">betterban 1 &quot;You have been banned for wallhacking&quot;</font></b></li>
<li>Each entry of IP addresses (along with a EPOCH timestamp) are stored line by line in <i>addons/sourcemod/configs/iplist.cfg</i></li>
</ul><b>Commands:</b><br /><font face="Courier New">bb_ip_banlength</font> - determines the time (in seconds) that the IP addresses will ban a client, after this time the IP addresses will be removed from the iplist.cfg file. The default time is 432000 (5 days).</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/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...tterban.smx</a>(7.0 KB)


</td>
</tr><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...02"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1483691297">GetSource</a> (betterban.sp - 4.9 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




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

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