Raised This Month: $32 Target: $400
 8% 

[ANY] AutoBan on Match Disconnect [Updated 25-Nov-2019]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
6800
Plugin Version:
0.8
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    This plugin will ban people that disconnect during a match before X seconds if they dont reconnect.
    Old 11-09-2019 , 05:40   [ANY] AutoBan on Match Disconnect [Updated 25-Nov-2019]
    Reply With Quote #1

    Description:

    This plugin will ban people that disconnect during a match before X seconds if they dont reconnect.


    Cvars:
    Configure default config on file generated on cfg/sourcemod/franug_autobandisconnect.cfg file.
    Code:
    sm_autobandisconnect_enable "0" // Enable or disable the functions of this plugin.
    sm_autobandisconnect_bantime "1440" // Ban time for people that disconnect on match live
    sm_autobandisconnect_time "300" // Time for wait people to reconnect until apply the ban
    sm_autobandisconnect_excludespectators "0" // Exclude spectators from the ban countdown?
    Optional plugin support (cvar auto enable/disable when it should be):

    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 11-25-2019 at 05:16.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-10-2019 , 17:01   Re: [ANY] AutoBan on Match Disconnect
    Reply With Quote #2

    -Fixed a mistake.
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    lugaa
    Senior Member
    Join Date: Dec 2018
    Old 11-10-2019 , 22:28   Re: [ANY] AutoBan on Match Disconnect
    Reply With Quote #3

    Quote:
    Originally Posted by Franc1sco View Post
    -Fixed a mistake.
    Thanks man. Ill try it now
    lugaa is offline
    lugaa
    Senior Member
    Join Date: Dec 2018
    Old 11-10-2019 , 22:52   Re: [ANY] AutoBan on Match Disconnect
    Reply With Quote #4

    i was spectator. Then i leave the match i got ban

    i found it::: https://forums.alliedmods.net/showth...=171454&page=4
    but its not working.

    you r plugin working good but some mistakes.

    1. Enable or disable and time for wait commands same?
    2. Need create cfg file. my server keeps restarting every morning, so I want to keep my settings
    3. Exclude spectator
    4. Need admin flag Z

    i used pugsetup and copied in to warmup cfg.

    sm_autobandisconnect_enable "0" // Enable or disable the functions of this plugin.
    sm_autobandisconnect_bantime "0" // Ban time for people that disconnect on match live
    sm_autobandisconnect_enable "0" // Time for wait people to reconnect until apply the ban

    and copied in to live cfg

    sm_autobandisconnect_enable "1" // Enable or disable the functions of this plugin.
    sm_autobandisconnect_bantime "10080" // Ban time for people that disconnect on match live
    sm_autobandisconnect_enable "300" // Time for wait people to reconnect until apply the ban

    Last edited by lugaa; 11-11-2019 at 01:03.
    lugaa is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-11-2019 , 09:08   Re: [ANY] AutoBan on Match Disconnect
    Reply With Quote #5

    Version 0.3

    -Added inmunitty for root admins or with "bancountdown_inmunity" command access (override system).
    -Clear the countdown list when cvar sm_autobandisconnect_enable change (for dont ban old match players).
    -Added autogenerated file on the first load where you can configure the default cvar config (cfg/sourcemod/franug_autobandisconnect.cfg).
    -Added new cvar for prevent ban on spectators:
    sm_autobandisconnect_excludespectators "0" - Exclude spectators from the ban countdown?
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    lugaa
    Senior Member
    Join Date: Dec 2018
    Old 11-11-2019 , 09:14   Re: [ANY] AutoBan on Match Disconnect
    Reply With Quote #6

    Quote:
    Originally Posted by Franc1sco View Post
    Version 0.3

    -Added inmunitty for root admins or with "bancountdown_inmunity" command access (override system).
    -Clear the countdown list when cvar sm_autobandisconnect_enable change (for dont ban old match players).
    -Added autogenerated file on the first load where you can configure the default cvar config (cfg/sourcemod/franug_autobandisconnect.cfg).
    -Added new cvar for prevent ban on spectators:
    sm_autobandisconnect_excludespectators "0" - Exclude spectators from the ban countdown?
    wow tnx
    now ill test it
    lugaa is offline
    lugaa
    Senior Member
    Join Date: Dec 2018
    Old 11-11-2019 , 10:20   Re: [ANY] AutoBan on Match Disconnect
    Reply With Quote #7

    Quote:
    Originally Posted by Franc1sco View Post
    Version 0.3

    -Added inmunitty for root admins or with "bancountdown_inmunity" command access (override system).
    -Clear the countdown list when cvar sm_autobandisconnect_enable change (for dont ban old match players).
    -Added autogenerated file on the first load where you can configure the default cvar config (cfg/sourcemod/franug_autobandisconnect.cfg).
    -Added new cvar for prevent ban on spectators:
    sm_autobandisconnect_excludespectators "0" - Exclude spectators from the ban countdown?
    i tested. i used smx 0.3 version

    1.Enable or Disable and Time for Wait both same commands?
    sm_autobandisconnect_enable "0"
    sm_autobandisconnect_enable "300"

    2. sm_autobandisconnect_enable "300" // Time for wait people to reconnect until apply the ban
    this command not working

    Last edited by lugaa; 11-11-2019 at 11:36.
    lugaa is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-11-2019 , 11:33   Re: [ANY] AutoBan on Match Disconnect [Updated 11-Nov-2019]
    Reply With Quote #8

    Ohh i see.

    Version 0.4

    -Fixed a duplicated cvar.
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-11-2019 , 11:36   Re: [ANY] AutoBan on Match Disconnect [Updated 11-Nov-2019]
    Reply With Quote #9

    Version 0.5

    -Now new cvars will be generated in the cfg file.

    If you used a old version, delete the generated cfg file and let it to be generated again.
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 11-11-2019 at 11:38.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    lugaa
    Senior Member
    Join Date: Dec 2018
    Old 11-11-2019 , 19:59   Re: [ANY] AutoBan on Match Disconnect [Updated 11-Nov-2019]
    Reply With Quote #10

    yeahh
    working now great.
    love you
    thank you so much

    a few years ago I bought you a skin changer private version

    Last edited by lugaa; 11-11-2019 at 20:00.
    lugaa 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 06:42.


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