AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Full Server Idler Kicker (+last AFK to Spec) (https://forums.alliedmods.net/showthread.php?t=47250)

VEN 11-13-2006 07:54

Full Server Idler Kicker (+last AFK to Spec)
 
1 Attachment(s)
Code:

DESCRIPTION
The concept of this plugin is "don't clean the full server from idlers unless
new connection try". By idlers i mean HLTV/unassigned/spectator/AFK users.
I created this plugin because i don't like the goal of all other plugins that
deal with idelrs using the conditions which is strictly based on the idle time.

This plugin isn't using the idle time as primary condition. So how it work?
Let's say the new user is trying to connect to the full server. Normally he
would be kicked unless he have a slot reservation access, but this plugin
able to clean the slot for this user if it will find the idler on the server.

Firstly it will try to find and kick HLTV (this can be disabled). Secondly -
the most idle unassigned/spectator user. Though the plugin will never kick
a client with immunity access (this can be configured) or the user who is just
connected and still unassigned - it will "immune" him for a few seconds
(this can be configured). And lastly the plugin will try to find and kick
the most idle alive AFK player (min. idle time that required to mark a player
as AFK can be configured).

Also as a bonus feature the plugin able to detect when all alive players in
the same team are AFK. Usually it would be just a single AFK player who is the
only one alive player in a team. In this case to avoid waiting/seaching AFK
player(s) by other player(s) the plugin will move him/them to the spectators.
Later such AFK users can be kicked from Spectators following the steeps that
listed above.

Requirement for full server kicker are at least one free reserverved slot
(controlled by amx_reservation AMXX's CVAR).


neogeo 11-13-2006 08:38

Re: Full Server Idler Kicker (+last AFK to Spec)
 
good job :D
ps : can i use it with afkiss ?
thanks

VEN 11-13-2006 08:53

Re: Full Server Idler Kicker (+last AFK to Spec)
 
I think you can.

neogeo 11-13-2006 09:02

Re: Full Server Idler Kicker (+last AFK to Spec)
 
thanks for your answer
but is it only for cs ? or can i use it with day of deat and zombie panic .?

VEN 11-13-2006 10:00

Re: Full Server Idler Kicker (+last AFK to Spec)
 
It's for CS only. But it can be easily changed to work with other mod i think. I can't do that because even if i would going to try i can't test it anyway.

pulpy 11-13-2006 13:35

Re: Full Server Idler Kicker (+last AFK to Spec)
 
sounds good, i'll prob test it out :)

i've been looking for a plugin that lets admins sit in spec for as long as they want and not get kicked, but also allow everyone else to join spec, if their afk they will be kicked, if their actively typing or viewing ppl, etc. or recording a demo, their given 'immunity'.. is their anyway of kind of adding this in?

VEN 11-13-2006 13:38

Re: Full Server Idler Kicker (+last AFK to Spec)
 
Quote:

i've been looking for a plugin that lets admins sit in spec for as long as they want and not get kicked, but also allow everyone else to join spec, if their afk they will be kicked, if their actively typing or viewing ppl, etc. or recording a demo, their given 'immunity'.. is their anyway of kind of adding this in?
Isn't something like this already exists?

pulpy 11-13-2006 13:51

Re: Full Server Idler Kicker (+last AFK to Spec)
 
not really, theres 1 that only lets admins go spec, but then that defeats the purpose of 'report a hacker' section in my forum, and i believe the closest one to this is BRAD's PBK, it kicks anyone in spec after x amount of time, unless their admin. However, if their demoing or trying to figure out if someone is hacking, etc. it will kick them anyways, it also comes with a couple features i dont really need.

VEN 11-13-2006 16:01

Re: Full Server Idler Kicker (+last AFK to Spec)
 
The problem is that you can't actually detect serverside whether they recording a demo or not.

Brad 11-13-2006 16:23

Re: Full Server Idler Kicker (+last AFK to Spec)
 
Thus why PBK doesn't have it yet either.


All times are GMT -4. The time now is 19:51.

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