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

[CSS] AFK Manager Lite


  • 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.06.2013 07:14

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="3"><b>Description</b></font><br />I'm used <a href="https://forums.allie...ead.php?t=79904" target="_blank">AFK Manager by Rothgar</a> for long time on my servers. I think that this plugin have best logic in AFK check (checking chat, etc...) than other AFK plugins.<br />But after looking at the code.. Wait, on my server here will be up to 64 timers?! I made a lot of optimization at my plugins list (one of my plugins is 9 Kb and have functionality of 10 plugins like ShowDamage, ResetScore,...), so I started cleaning code of AFK Manager.<br />Basic idea is:<br />1) Split games - currently I have only CSS version, but I want to make TF2 version later<br />2) Remove cvars that most people don't change, e.g. threshold.<br />3) Optimize logic based on current game<br /><br />This plugin use logic &quot;move at X, kick at Y&quot;, excluding dead players and bots, without different spawn wait time and some original plugin features. <br />Only one timer, no global handles at all.<br /><br /><font size="3"><b>Cvars</b></font><ul><li><b>sm_afk_move_min</b> - minimum count of players to start moving players to spectators</li>
<li><b>sm_afk_kick_min</b> - minimum count of players to start kicking players</li>
<li><b>sm_afk_move_time</b> - AFK time for moving player to spectators, 0 - disable AFK Move</li>
<li><b>sm_afk_kick_time</b> - AFK time for kicking player, 0 - disable AFK Kick</li>
<li><b>sm_afk_warn_time</b> - Remaining time for action to start warn player (for both kick &amp; move)</li>
<li><b>sm_afk_immune</b> - Amins immunity: 0 - disabled, 1 - complete, 2 - kick, 3 - move</li>
<li><b>sm_afk_immune_flag</b> - Admin flag for immunity check (blank=any flag)</li>
</ul><br /><font size="3"><b>Installation</b></font><ul><li> Put .smx in plugins folder and (optionally) .sp in scripting folder</li>
<li> Put afk_manager_css.phrases.txt in translations folder</li>
<li> Plugin will create config file at cfg/sourcemod folder after loading</li>
</ul></div>


<br /> <div style="padding:6px">








<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...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...?file_id=120911"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1370499258">Get Source</a> (afk_manager_lite_css.sp - 12.0 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1370499383">afk_manager_css.phrases.txt</a> (4.2 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</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