<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 "plugin_familysharing".</li>
<li>Make sure the table has 3 columns. <br />CSTEAMID (Text)<br />OSTEAMID (Text)<br />TIMEJOINED (Int)</li>
<li>Goto cstrike > addons > sourcemod > configs.</li>
<li> In databases.cfg add:<br />"familysharing"<br />{<br /> "driver" "default"<br /> "host" "[host]"<br /> "database" "[database]"<br /> "user" "[username["<br /> "pass" "[password]"<br /> //"timeout" "0"<br /> "port" "3306"<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ł
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] Family Sharing Check/Block
Temat rozp. Adminek AMXX.PL, 31.05.2015 09:21
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych