Raised This Month: $63 Target: $400
 15% 

[Any]Advanced AFK Kicker


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BraveFox
AlliedModders Donor
Join Date: May 2015
Location: Israel
Plugin ID:
5759
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, upload source and use the Report Post button for a new review.
    Old 08-11-2017 , 20:48   [Any]Advanced AFK Kicker
    Reply With Quote #1

    Advanced AFK Kicker Version 1.2:
    This is an advanced afk kicker that not like any afk kicker plugin it contains some special things.
    This AFK-Kicker also know to detect when player use +right or +left and to still kick him for begin AFK

    AFK Kicker is now on Github

    Commands:
    • sm_afk or !afk - Mark yourself as AFK(while you are AFK you cannot get kicked), time in seconds, max: 90
    • sm_captcha or !captcha - Admin flag generic only - give player XXX a captcha question, if he will not answer the question in X seconds(cvar to set it) he will get kicked.

    Cvars:
    • sm_afkkicker_afktime - Default: 90, The time that player need to be AFK before gettings kicked.
    • sm_afkkicker_mode - Default: 0, 0 To display menu to AFKs, 1 To Automatic kick AFKs, 2 To send AFKs to spectator
    • sm_afkkicker_enablecmd - Default: 1, Enable or Disable the /afk command, 1 to Enable, 0 to Disable.
    • sm_afkkicker_captcha- Default: 1, Enable or Disable the /captcha command, 1 to Enable, 0 to Disable.
    • sm_afkkicker_captcha_time - Default: 30, The time that player has to answer the captcha question.
    • sm_afkkicker_autokick - Default: 0, Kick the player automatic or show the kick menu, 0 to show the kick menu, 1 to automatic kick.
    • *Note: All the cvars are located in a config file in the sourcemod folder named "afkkicker".

    Installation:
    • Install the Smlib if you dont have it.
    • put the afkkicker.smx into the sourcemod/plugins folder.
    • Use rcon/console to load it(sm plugins load afkkicker)
    • Config your settings in the config file
    • Change map or reload the plugin(sm plugins reload afkkicker)
    Changelog:
    Spoiler
    __________________
    Contact Me:
    Steam: S4muRaY'
    Discord: S4muRaY#1161
    Taking Private Requests

    Last edited by asherkin; 10-25-2018 at 18:12. Reason: Restore to previous version.
    BraveFox is offline
    BraveFox
    AlliedModders Donor
    Join Date: May 2015
    Location: Israel
    Old 08-11-2017 , 20:51   Re: [Any]Advanced AFK Kicker
    Reply With Quote #2

    Realsed!
    __________________
    Contact Me:
    Steam: S4muRaY'
    Discord: S4muRaY#1161
    Taking Private Requests
    BraveFox is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 08-11-2017 , 20:56   Re: [Any]Advanced AFK Kicker
    Reply With Quote #3

    Source code is missing..

    Anyways, because this is an "exact clone" (no, not really) of the 'unique plugin' I made for my servers (I mean, you even used the same default values, commands and concept :/), here's the source code for mine: https://gist.github.com/shavitush/e9...68aba1cabb50dc

    Don't mind the huge hardcoded dictionary there. Wasn't supposed to be released to begin with, never bothered to make a config file.

    RealRandomInt was borrowed from SMLib.
    __________________
    retired

    Last edited by shavit; 08-11-2017 at 21:00.
    shavit is offline
    BraveFox
    AlliedModders Donor
    Join Date: May 2015
    Location: Israel
    Old 08-11-2017 , 20:58   Re: [Any]Advanced AFK Kicker
    Reply With Quote #4

    Quote:
    Originally Posted by shavit View Post
    Source code is missing..
    Uploaded
    __________________
    Contact Me:
    Steam: S4muRaY'
    Discord: S4muRaY#1161
    Taking Private Requests

    Last edited by BraveFox; 08-11-2017 at 20:58.
    BraveFox is offline
    BraveFox
    AlliedModders Donor
    Join Date: May 2015
    Location: Israel
    Old 08-11-2017 , 21:02   Re: [Any]Advanced AFK Kicker
    Reply With Quote #5

    Quote:
    Originally Posted by shavit View Post
    Source code is missing..

    Anyways, because this is an "exact clone" (no, not really) of the 'unique plugin' I made for my servers (I mean, you even used the same default values, commands and concept :/), here's the source code for mine: https://gist.github.com/shavitush/e9...68aba1cabb50dc

    Don't mind the huge hardcoded dictionary there. Wasn't supposed to be released to begin with, never bothered to make a config file.

    RealRandomInt was borrowed from SMLib.
    I saw it in the servers that you develop, I liked the idea so I copied it and published it.
    __________________
    Contact Me:
    Steam: S4muRaY'
    Discord: S4muRaY#1161
    Taking Private Requests
    BraveFox is offline
    BraveFox
    AlliedModders Donor
    Join Date: May 2015
    Location: Israel
    Old 08-11-2017 , 22:54   Re: [Any]Advanced AFK Kicker
    Reply With Quote #6

    1.1 Realsed:
    Quote:
    1.1 - Fixed Translation Problem & Fixed Captcha To Work On Dead Players
    __________________
    Contact Me:
    Steam: S4muRaY'
    Discord: S4muRaY#1161
    Taking Private Requests
    BraveFox is offline
    Rodya
    Senior Member
    Join Date: Mar 2017
    Location: Russia
    Old 08-12-2017 , 00:01   Re: [Any]Advanced AFK Kicker
    Reply With Quote #7

    And you can make that the player threw to the spectators?
    Rodya is offline
    BraveFox
    AlliedModders Donor
    Join Date: May 2015
    Location: Israel
    Old 08-12-2017 , 09:10   Re: [Any]Advanced AFK Kicker
    Reply With Quote #8

    Quote:
    Originally Posted by Rodya View Post
    And you can make that the player threw to the spectators?
    1.2 Realsed:
    Quote:
    1.2 - Removed "sm_afkkicker_autokick" cvar, instend put "sm_afkkicker_mode"
    __________________
    Contact Me:
    Steam: S4muRaY'
    Discord: S4muRaY#1161
    Taking Private Requests
    BraveFox is offline
    Rodya
    Senior Member
    Join Date: Mar 2017
    Location: Russia
    Old 08-14-2017 , 18:48   Re: [Any]Advanced AFK Kicker
    Reply With Quote #9

    Do what would kill when throws in the spectators. The round no end!
    Rodya 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 18:54.


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