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] Family Sharing Check/Block


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

Napisano 31.05.2015 09:21

<div><div align="center"><b><font size="5">Family Sharing Check/Block</font></b><br /><font size="4">A simple way of logging, and blocking users that are family sharing.</font></div><br /><font size="5"><b>Features</b></font><ul><li>Toggle between logging the attempt and not logging the attempt.</li>
<li>Toggle between kicking the player and not kicking the player.</li>
<li>Tells all players on the server when an attempt is made to connect.</li>
<li>Logs the connections to a database, which can be integrated with a web UI.</li>
</ul><br /><font size="5"><b>Cvars</b></font><ul><li>fs_kick - Toggle between kicking the player and allowing the player to connect. (Default: 1)</li>
<li>fs_log - Toggle between logging the player in a database or not logging. (Default: 1)</li>
</ul><br /><font size="5"><b>Requirements</b></font><ul><li>SteamWorks: <a href="https://forums.allie...d.php?t=229556"target="_blank">https://forums.allie...229556</a></li>
</ul><br /><font size="5"><b>Setup</b></font><ol style="list-style-type: decimal"><li>Create a table named &quot;plugin_familysharing&quot;.</li>
<li>Make sure the table has 3 columns. <br />CSTEAMID (Text)<br />OSTEAMID (Text)<br />TIMEJOINED (Int)</li>
<li>Goto cstrike &gt; addons &gt; sourcemod &gt; configs.</li>
<li> In databases.cfg add:<br />&quot;familysharing&quot;<br />{<br /> &quot;driver&quot; &quot;default&quot;<br /> &quot;host&quot; &quot;[host]&quot;<br /> &quot;database&quot; &quot;[database]&quot;<br /> &quot;user&quot; &quot;[username[&quot;<br /> &quot;pass&quot; &quot;[password]&quot;<br /> //&quot;timeout&quot; &quot;0&quot;<br /> &quot;port&quot; &quot;3306&quot;<br />}</li>
<li> Edit the host, database, username, and password fields.</li>
<li> Move familysharing.smx into the SourceMod plugins foler.</li>
<li> Restart your server.</li>
</ol><br /><font size="5"><b>Note</b></font><ul><li>The database is for MySQL.</li>
<li>Time joined in a unix timestamp.</li>
</ul></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...06"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1433060455">GetSource</a> (familysharing.sp - 5.5 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