View Single Post
Author Message
grandwazir
Senior Member
Join Date: Jan 2009
Old 02-06-2009 , 09:29   [L4D] Vote Spam Guard (Dead Giveaway)
Reply With Quote #1

What does it do?

Are you fed up of people vote spamming to remove one team mate until they just leave anyway? Would you like to know who is instigating this type of abuse?

This plugin has the answer. Dead Giveaway allows server administrators to specify a minimum amount of time that must elapse before a player can call another vote. It also optionally displays the name of the player starting a vote to others and logs the name of people who start votes.

I wrote this plugin mainly because I have found that some people tend to just spam kick votes against one person until they get fed up and leave and I don't think that is fair.

How do I use it?

Simply upload and it just works(tm). It does come with some ConVars for your configuation pleasure:
  • dga_notify_players: Whether or not we notify players of who calls a vote.
  • dga_log_initiators: Whether or not we log the names of players who call votes.
  • dga_cooldown_enabled: Whether or not players have to wait a specified time before they can call another vote.
  • dga_cooldown_time: The amount of time (in seconds) a player has to wait before they can call another vote.
Sounds great! But is there anything wrong with it?

Currently there are no known issues.

Are you planning to do anything else?

I was considering adding a feature which would allow a player to only call a specified number of votes per map, although I think it is unnecessary.

Leading from the rear comes the change log

Code:
* Version 1.0
*         - Initial release.
* Version 1.0.1
*         - Fixed ArrayOutOfBounds error.
*         - Seperated Dead Giveaway configuation into cfg/sourcemod/plugin.deadgiveaway
Attached Files
File Type: sp Get Plugin or Get Source (deadgiveaway.sp - 4978 views - 4.2 KB)
__________________

Last edited by grandwazir; 02-10-2009 at 14:26. Reason: spellcheck
grandwazir is offline