Raised This Month: $51 Target: $400
 12% 

[CS:GO] Simple CSGO AntiAFK


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Plugin ID:
4685
Plugin Version:
0.0.8a
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Simple plugin that kicks players to spec if they have not done anything for Z seconds after they spawned.
    Old 06-18-2015 , 06:06   [CS:GO] Simple CSGO AntiAFK
    Reply With Quote #1

    Simple CSGO AntiAFK is a small plugin that kicks players to spec or from the match if they have not done anything for 20 seconds after the round has started.
    Version 0.0.8a is still in testing. If you are having trouble please report it and use 0.0.7 instead.

    Convar: sm_simplecsgoantiafk_kicktype x
    You set x to either 1 or 2.
    1 = Kick to spectator.
    2 = Kick from match.

    Example: sm_simplecsgoantiafk_kicktype 1
    This kicks afk players to spectator if they go afk for more than 20 seconds from the start of the round.

    Convar: sm_simplecsgoantiafk_dm x
    This is for deathmatch ONLY
    You set x to either 0 or 1.
    0 = Check at start of round.
    1 = Check throughout round every z seconds.

    Convar: sm_simplecsgoantiafk_time x
    Sets the time for the kick
    Example: sm_simplecsgoantiafk_time 20
    Attached Files
    File Type: zip simplecsgoantiafk0.0.5.zip (8.6 KB, 1122 views)
    File Type: zip simplecsgoantiafk0.0.6.zip (9.0 KB, 1063 views)
    File Type: zip simplecsgoantiafk0.0.7.zip (9.1 KB, 1832 views)
    File Type: sp Get Plugin or Get Source (simplecsgoantiafk.sp - 3517 views - 5.6 KB)
    File Type: zip simplecsgoantiafk0.0.8a.zip (9.5 KB, 4444 views)

    Last edited by Puppetmaster; 02-09-2016 at 22:44. Reason: Added 0.0.8a
    Puppetmaster is offline
    skinheadxtreme
    AlliedModders Donor
    Join Date: Jul 2013
    Old 06-18-2015 , 07:10   Re: [CS:GO] Simple CSGO AntiAFK
    Reply With Quote #2

    Could you add a cvar to add them to spectate?
    skinheadxtreme is offline
    qiuhaian
    Senior Member
    Join Date: Nov 2009
    Old 06-18-2015 , 09:25   Re: [CS:GO] Simple CSGO AntiAFK
    Reply With Quote #3

    very nice
    qiuhaian is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 06-18-2015 , 16:01   Re: [CS:GO] Simple CSGO AntiAFK
    Reply With Quote #4

    Quote:
    Originally Posted by skinheadxtreme View Post
    Could you add a cvar to add them to spectate?

    +1 please.
    __________________
    ph is offline
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 06-18-2015 , 16:07   Re: [CS:GO] Simple CSGO AntiAFK
    Reply With Quote #5

    If you chat being dead, or you just spectate, you'll be kicke too? because i've seen some of these ANTI AFKS plugins, and when you were dead, even if you were clicking or chatting, you would be kicked
    Lannister is offline
    Puppetmaster
    Senior Member
    Join Date: Jun 2015
    Location: Probably at a computer.
    Old 06-18-2015 , 18:57   Re: [CS:GO] Simple CSGO AntiAFK
    Reply With Quote #6

    Quote:
    Originally Posted by Lannister View Post
    If you chat being dead, or you just spectate, you'll be kicke too? because i've seen some of these ANTI AFKS plugins, and when you were dead, even if you were clicking or chatting, you would be kicked
    The plugin makes a check to see if you are already a spectator and another one to see if you are alive. It does nothing if you are in spectator or dead.
    Puppetmaster is offline
    Puppetmaster
    Senior Member
    Join Date: Jun 2015
    Location: Probably at a computer.
    Old 06-18-2015 , 18:59   Re: [CS:GO] Simple CSGO AntiAFK
    Reply With Quote #7

    Quote:
    Originally Posted by skinheadxtreme View Post
    Could you add a cvar to add them to spectate?
    Over the weekend Ill add the ability to switch between kick to spectator and kick from match.
    Puppetmaster is offline
    skinheadxtreme
    AlliedModders Donor
    Join Date: Jul 2013
    Old 06-19-2015 , 10:00   Re: [CS:GO] Simple CSGO AntiAFK
    Reply With Quote #8

    Quote:
    Originally Posted by Puppetmaster View Post
    Over the weekend Ill add the ability to switch between kick to spectator and kick from match.
    Thanks
    skinheadxtreme is offline
    Puppetmaster
    Senior Member
    Join Date: Jun 2015
    Location: Probably at a computer.
    Old 06-19-2015 , 23:33   Re: [CS:GO] Simple CSGO AntiAFK
    Reply With Quote #9

    Quote:
    Originally Posted by skinheadxtreme View Post
    Thanks
    I have added the convar sm_simplecsgoantiafk_kicktype.
    1 sets it to kick to spec mode and 2 sets it to kick from match mode.
    Puppetmaster is offline
    Fireflasch7
    Junior Member
    Join Date: Feb 2015
    Old 06-20-2015 , 13:54   Re: [CS:GO] Simple CSGO AntiAFK
    Reply With Quote #10

    hey nice Plugin can you make that at 10 secondy a message to the player will send and there stands "hey it seems your afk move to not be moved to spectator"?Thanks!
    Fireflasch7 is offline
    Reply



    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 18:32.


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