AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Simple AFK Manager [ver. 2.3] (https://forums.alliedmods.net/showthread.php?t=110536)

a.aqua 11-30-2009 14:29

Simple AFK Manager [ver. 2.3]
 
9 Attachment(s)
Simple AFK Manager
By [gm-project.net] #Staff

About developers:
  • Author: [gm-project.net] #Staff
  • Actual version: 2.3

Description:
Need a simple AFK kicker? We created it for you! This plugin is different from the others, similar in purpose, in its simplicity. He has 5 CVAR's (ver. 0.1.1), "it is not enough for these plugins", say you. No, this is the time to adjust AFK kicker as you want.
Requiments:
  • amxmodx
  • fakemeta

CVARs:
  • afk_kick_reason (default: AFK): reason, shown the player after kick.
  • afk_time (default: 60): time, after which the player will be kicker from the server.
  • afk_spec_time (default: 180): time on spectators before kick.
  • afk_report (default: 2): display messages about kick.
    • 0 - off.
    • 1 - admins.
    • 2 - all.
  • afk_info_time (default: 20): time to kick, when written warnings.
  • afk_immunity_flag (default: b): what flag must have user to not be kicked.
  • afk_kick_bots (default: 0): kick bots or not?
  • afk_kick_hltv (default: 0): kick HLTV or not?

Translations:
Credits:
Changelog:
  • ver. 0.2:
    [+] Added cvars afk_immunity_flag && afk_kick_bots.
    [+] Add pcvar afk_version.
  • ver. 0.2.1:
    [R] Replaced pcvar afk_version to mafk_version. Because another plugins so used this pcvar.
  • ver. 2.0:
    [+] Fixed situation, when kick hltv && bots.
    [R] Replaced SAFK-M to SAM.
    [+] Added multilang.
  • ver. 2.1:
    [+] Fixed dead player's kick.
  • ver. 2.2:
    [+] If the CVARs afk_time && afk_spec_time is set to 0, the function is disabled.
    [+] Added LT translation, thanks Lure.d.
  • ver. 2.2a:
    [+] Small optimizion. Very small :shock:
  • ver. 2.3:
    [+] Added cvar afk_showmsg: if 1, on start round to all players show msg, how many players are AFK on both teams (T, CT).
    [R] Replaced MSG_ONE_UNRELIABLE to MSG_ONE

Servers with running Simple AFK Manager.

Prefix:
Code:

#define PREFIX "SAM"
Change SAM for your prefix, if u want :)

KadiR 11-30-2009 15:50

Re: Simple AFK Manager
 
Can you make immunity for admins and bots please?

a.aqua 11-30-2009 16:01

Re: Simple AFK Manager
 
Bots: ok, i'm make.
Admins:
Quote:

if (is_user_connected(i) && !(get_user_flags(i) & ADMIN_IMMUNITY))

Lambor 11-30-2009 18:55

Re: Simple AFK Manager
 
you should put a cvar for admins immunity :wink::wink:
nice plugin

KadiR 12-01-2009 13:24

Re: Simple AFK Manager [ver. 0.2]
 
Nice update, but I would make the default value of
Quote:

afk_immunity_flag
to flag A, cause A is already the flag for immunity. :)

a.aqua 12-01-2009 13:32

Re: Simple AFK Manager [ver. 0.2]
 
Quote:

Originally Posted by KadiR (Post 1004170)
Nice update, but I would make the default value of to flag A, cause A is already the flag for immunity. :)

Hmm, change in .sma file cvar and compile.

Or add afk_immunity_flag "a" into amxx.cfg.

KadiR 12-01-2009 16:02

Re: Simple AFK Manager [ver. 0.2]
 
I know how to change it, but as the flag a is the default value for immunity, it would be better if you use the a flag. But nvm, it's just my opinion. :)

Lambor 12-01-2009 18:43

Re: Simple AFK Manager [ver. 0.2]
 
a.aqua RULEEEEEZZZZZZZZZ [IMG]http://img34.**************/img34/2157/eea.gif[/IMG][IMG]http://img34.**************/img34/2157/eea.gif[/IMG] :twisted::twisted::twisted::up::up: nice plugin really perfect :D!! thx

a.aqua 12-02-2009 00:24

Re: Simple AFK Manager [ver. 0.2]
 
1 Attachment(s)
Quote:

Originally Posted by KadiR (Post 1004319)
I know how to change it, but as the flag a is the default value for immunity, it would be better if you use the a flag. But nvm, it's just my opinion. :)

In attach version for flag "a".
But on my servers, i don't give users flag "a", but i give "b" (reserv. slot), ir is the best solution, I think so :)

Lambor 12-02-2009 00:49

Re: Simple AFK Manager [ver. 0.2]
 
you should add a cvar for immunity in the HLTV, should be immune and reminds viewers that there is always:wink:


All times are GMT -4. The time now is 20:11.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.