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

L4D: Vote Guard *Updated 1.5.09*


Post New Thread Reply   
 
Thread Tools Display Modes
Author
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Plugin ID:
657
Plugin Version:
1.0.2
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    13 
    Plugin Description:
    Controls a player's callvote abuse through various punishments
    Old 12-03-2008 , 11:06   L4D: Vote Guard *Updated 1.5.09*
    Reply With Quote #1

    This plugin punishes players for excessive use of the callvote feature in Left 4 Dead. Using the Cvars listed, you can either kick the player when they have exceeded the max number of votes for the current map, or ban them for a certain duration. The votes counter currently will reset on map change.

    sm_voteguard_enabled (0/1, def 1)
    Enable/Disable the callvote guard. If set to disabled, none of the punishment options will be executed.

    sm_voteguard_adminimmune
    (0/1, def. 1)
    Enable/Disable the Admin Immunity. If this is enabled, admins will not be subject to punishment for exceeding the maximum amount of callvotes for the current map. If enabled, Admins will also now be immune to Kick Callvotes from clients with a lower immunity. (A higher ranking admin can still issue a callvote kick against lower ranked admins)

    sm_voteguard_vlimit
    (def. 3)
    The max callvotes allowed before the player is subject to punishment. When the player has reached this limit, they will recieve a message alerting them to reaching the max votes. Once exceeded the chosen punishment will be applied.

    sm_voteguard_vdelay (def. 60)
    The amount of time in seconds the player must wait in between votes. When a player attempts to call a vote repeatedly, they will recieve a message alerting them to how long they must wait before they can create another vote. [Set to 0 for no Vote Delay]

    sm_voteguard_bantime (def. 10)
    Duration in minutes of the ban. If this is set to 0, the player will be kicked instead of banned.

    Thanks:
    Thanks to Tsunami for helping me test this plugin out and find the bug.

    Changelog
    • 1.0.2
      • Added admin immunity to kick callvotes.
    • 1.0.1
      • Fixed numerous bugs.
      • Added a Vote Delay option.
    • 1.0.0
      • Initial public release.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_voteguard.sp - 7540 views - 6.5 KB)

    Last edited by CrimsonGT; 01-05-2009 at 13:52.
    CrimsonGT is offline
    CrimsonGT
    Veteran Member
    Join Date: Oct 2007
    Location: Gainesville, FL
    Old 12-03-2008 , 11:59   Re: Left4Dead: Vote Guard
    Reply With Quote #2

    Woops, I just reuploaded it. Forgot to recompile after finishing it.
    CrimsonGT is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 12-03-2008 , 16:39   Re: Left4Dead: Vote Guard
    Reply With Quote #3

    Can you add the admins immune feature so admins cant get kicked and banned by the vote feature. I got kicked on a server once because I alerted the witch by standing near her too long. Little punks. grr
    __________________

    DontWannaName is offline
    DJ Tsunami
    DJ Post Spammer
    Join Date: Feb 2008
    Old 12-03-2008 , 16:45   Re: Left4Dead: Vote Guard
    Reply With Quote #4

    devicenull's plugin already does that.
    __________________
    DJ Tsunami is offline
    Liam
    SourceMod Developer
    Join Date: Jan 2008
    Location: Atlanta, GA
    Old 12-03-2008 , 22:11   Re: Left4Dead: Vote Guard
    Reply With Quote #5

    Very nice!
    __________________
    Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

    Weapon Restrictions w/ Warmup
    High Ping Kicker - Lite Edition
    AFK Manager
    Liam is offline
    r5053
    SourceMod Donor
    Join Date: May 2007
    Location: Germany
    Old 12-05-2008 , 13:24   Re: Left4Dead: Vote Guard
    Reply With Quote #6

    Quote:
    Originally Posted by Liam View Post
    Very nice!
    why do you approve this?
    It's like DJ Tsunami wrote it still exist, and you approve a dublicate plugin, where the coder writes it's untested......
    __________________
    Visit HLPortal.de (this is not my Page)


    r5053 is offline
    Send a message via ICQ to r5053 Send a message via Skype™ to r5053
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 12-05-2008 , 16:01   Re: Left4Dead: Vote Guard
    Reply With Quote #7

    Tsunami was talking to DontWannaName. This plugin and the one devicenull wrote are two different plugins with different functionality.
    bl4nk is offline
    CrimsonGT
    Veteran Member
    Join Date: Oct 2007
    Location: Gainesville, FL
    Old 12-05-2008 , 16:41   Re: Left4Dead: Vote Guard
    Reply With Quote #8

    There, I added a description to it so hopefully that will help. Thanks for clearing that up bl4nk, I couldnt think of any way to name it much differently from his and still have it accurately describe it.
    CrimsonGT is offline
    santaclaus
    Senior Member
    Join Date: Dec 2008
    Old 12-06-2008 , 11:33   Re: Left4Dead: Vote Guard
    Reply With Quote #9

    hi.

    Can you considere adding different limits to each type of vote ? (eventually disable a limit on one)

    I want to set a lower limit on callvote kick only .
    __________________

    santaclaus is offline
    CrimsonGT
    Veteran Member
    Join Date: Oct 2007
    Location: Gainesville, FL
    Old 12-07-2008 , 11:38   Re: Left4Dead: Vote Guard
    Reply With Quote #10

    Version 1.0.1 Released

    Finally got a working L4D server up to test on, and ran a bunch of test. The initial release was not working properly, but everything seems to be good to go now.

    Also added in a vote delay option, so you can specify how long in seconds before a player can issue another vote. This one I feel was much needed.

    santaclaus: Yeah I can get that added in as well.
    CrimsonGT 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 16:35.


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