<!-- BEGIN TEMPLATE: postbit_external -->
<div><b><font size="4">Filter Connection</font></b><br /><br /><u>Description:</u><br />With this plugin you can choose who player can connect to the server by steamid.<br />Players that not have your steamid in steamid list will be kicked.<br />This plugin is nice to use when you want to make a championship or a mix game.<br /><br /><u>Credits:</u><br />SQLx Tutorial by Hawk552 - <a href="https://forums.allie...ead.php?t=46779" target="_blank">https://forums.allie...?t=46779</a><br />Tries Tutorial by guipatinador - <a href="https://forums.alliedmods.net/showthread.php?t=201872" target="_blank">https://forums.allie...t=201872</a><br /><br /><u>Kick message:</u><br /><img src="https://forums.alliedmods.net/attachment.php?attachmentid=123705&stc=1&d=1375576019" border="0" alt="" /><br /><br /><u>Configuration:</u><br />If you want to clear connection to admin configure .sma file.<br /><br />Mysql - Just open the plugin (.sma), activate mysql, configure host,user,etc. and compile.<br /><br />"FilterConnection.sma"<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">//////////////////////////////////////////////////////////
<br />// Configuration of Plugin ============================ //
<br />// ==================================================== //
<br />// Remove "//" below to clear pass for admins. //
<br />//#define ADMINCLEARPASS
<br />//////////////////////////////////////////////////////////
<br />// Remove "//" below to ability mysql otherwise file. //
<br />//#include <sqlx>
<br />//////////////////////////////////////////////////////////
<br />#if defined _sqlx_included //
<br />//////////////////////////////////////////////////////////
<br />// If you activated mysql configure this! //
<br />#define HOST ""
<br />#define USER ""
<br />#define PASS ""
<br />#define DB ""
<br />//////////////////////////////////////////////////////////
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->File - Put "filterconnection.list.ini" on your configs directory (Like "addonsamxmodxconfigsfilterconnection.list .ini") and write the steamid's that can connect to the server.<br /><br />"filterconnection.list.ini"<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">// Plugin Filter Connection by Mauricio Frb.
<br />//
<br />// - Put here the list of steamid (one per line and without "//").
<br />// Ex:
<br />// STEAM_ID_LAN
<br />// STEAM_2:3:123456
<br />// STEAM_2:3:456123
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><u>Changelog:</u><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">1.0 - First release.</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Thumbnails</legend>
<div style="padding:3px">
<!-- BEGIN TEMPLATE: postbit_attachmentthumbnail -->
<a href="https://forums.allie...38;d=1375576031" rel="Lightbox_2005113" id="attachment123705"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=123705&stc=1&thumb=1&d=1375576031" border="0" alt="Click image for larger version
Name: kickmessage.png
Views: N/A
Size: 14.8 KB
ID: 123705" /></a>
<!-- END TEMPLATE: postbit_attachmentthumbnail -->
</div>
</fieldset>
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sma.gif" alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.amxmodx.o...?file_id=123701"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1375575589">Get Source</a> (FilterConnection.sma - 4.1 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/ini.gif" alt="File Type: ini" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...38;d=1375575592">filterconnection.list.ini</a> (183 Bytes)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</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

Filter Connection
Temat rozp. Adminek AMXX.PL, 04.08.2013 01:29
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych