AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D] Vote Spam Guard (Dead Giveaway) (https://forums.alliedmods.net/showthread.php?t=85139)

grandwazir 02-06-2009 09:29

[L4D] Vote Spam Guard (Dead Giveaway)
 
1 Attachment(s)
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


macing 02-07-2009 11:26

Re: [L4D] Vote Spam Guard (Dead Giveaway)
 
Doesn't work here. A friend on the infected team called a mapchange vote but his name didn't appear anywhere on the screen.

Edit: Oops, I forgot to restart the server. Ya my parents are brother and siter, I know.
Anyway, this now works perfectly. Could you add an option to only show the message to admins and immunity against the cooldown for them?

That is all.

L4DHelp 02-07-2009 12:52

Re: [L4D] Vote Spam Guard (Dead Giveaway)
 
If you can add Admin only notifications, I will surely use this. It's a pain trying to find who started votes using HLSW as the console scrolls constantly in L4D. This is a good idea.

grandwazir 02-07-2009 16:37

Re: [L4D] Vote Spam Guard (Dead Giveaway)
 
Quote:

Originally Posted by macing (Post 757424)
Anyway, this now works perfectly. Could you add an option to only show the message to admins and immunity against the cooldown for them?

I'll look into adding those two features when I get time.

madcap 02-09-2009 12:35

Re: [L4D] Vote Spam Guard (Dead Giveaway)
 
I've created a plugin with other voting related features. If you're ok with it I'd like to add some of your ideas into mine.

Votemanager2

grandwazir 02-09-2009 16:28

Re: [L4D] Vote Spam Guard (Dead Giveaway)
 
Quote:

Originally Posted by madcap (Post 758859)
I've created a plugin with other voting related features. If you're ok with it I'd like to add some of your ideas into mine.

Sure thing. The code is commented fairly well so you should be able to work out what it does easily. If you have any trouble with it send me a PM.

madcap 02-09-2009 19:05

Re: [L4D] Vote Spam Guard (Dead Giveaway)
 
Thanks. I've implemented vote spam blocking in my plugin.

DJ Tsunami 02-15-2009 11:55

Re: [L4D] Vote Spam Guard (Dead Giveaway)
 
Well if you're fed up with people spamming votes, use L4D Vote Guard?

grandwazir 02-15-2009 18:22

Re: [L4D] Vote Spam Guard (Dead Giveaway)
 
Quote:

Originally Posted by DJ Tsunami (Post 762064)
Well if you're fed up with people spamming votes, use L4D Vote Guard?

Yup, that's an excellent idea. I didn't see that plugin when I created this one :oops:

madcap 02-16-2009 14:39

Re: [L4D] Vote Spam Guard (Dead Giveaway)
 
Quote:

Originally Posted by DJ Tsunami (Post 762064)
Well if you're fed up with people spamming votes, use L4D Vote Guard?

I think you were addressing me with this. I didn't care about vote spamming when I wrote Votemanager 2, I was more interested in Admin Immunity which wasn't provided by any other plugin. But once I had that implemented it made sense to add other voting related features.


All times are GMT -4. The time now is 07:21.

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