Raised This Month: $66 Target: $400
 16% 

Full Server Idler Kicker (+last AFK to Spec)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   Xanimos (85)
VEN
Veteran Member
Join Date: Jan 2005
Old 11-13-2006 , 07:54   Full Server Idler Kicker (+last AFK to Spec)
Reply With Quote #1

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).
Attached Files
File Type: sma Get Plugin or Get Source (full_server_idler_kicker.sma - 15473 views - 6.9 KB)

Last edited by VEN; 11-13-2006 at 08:16.
VEN is offline
neogeo
Senior Member
Join Date: Jul 2005
Old 11-13-2006 , 08:38   Re: Full Server Idler Kicker (+last AFK to Spec)
Reply With Quote #2

good job
ps : can i use it with afkiss ?
thanks

Last edited by neogeo; 11-13-2006 at 08:45.
neogeo is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 11-13-2006 , 08:53   Re: Full Server Idler Kicker (+last AFK to Spec)
Reply With Quote #3

I think you can.
VEN is offline
neogeo
Senior Member
Join Date: Jul 2005
Old 11-13-2006 , 09:02   Re: Full Server Idler Kicker (+last AFK to Spec)
Reply With Quote #4

thanks for your answer
but is it only for cs ? or can i use it with day of deat and zombie panic .?
neogeo is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 11-13-2006 , 10:00   Re: Full Server Idler Kicker (+last AFK to Spec)
Reply With Quote #5

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.

Last edited by VEN; 11-13-2006 at 13:36.
VEN is offline
pulpy
Senior Member
Join Date: Oct 2005
Location: Brights Grove, ON
Old 11-13-2006 , 13:35   Re: Full Server Idler Kicker (+last AFK to Spec)
Reply With Quote #6

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?
__________________
pulpy is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 11-13-2006 , 13:38   Re: Full Server Idler Kicker (+last AFK to Spec)
Reply With Quote #7

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?
VEN is offline
pulpy
Senior Member
Join Date: Oct 2005
Location: Brights Grove, ON
Old 11-13-2006 , 13:51   Re: Full Server Idler Kicker (+last AFK to Spec)
Reply With Quote #8

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.
__________________
pulpy is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 11-13-2006 , 16:01   Re: Full Server Idler Kicker (+last AFK to Spec)
Reply With Quote #9

The problem is that you can't actually detect serverside whether they recording a demo or not.
VEN is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 11-13-2006 , 16:23   Re: Full Server Idler Kicker (+last AFK to Spec)
Reply With Quote #10

Thus why PBK doesn't have it yet either.
__________________
Brad is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:34.


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