Raised This Month: $51 Target: $400
 12% 

[Req] Command Spam Prevention


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TyanColte
Member
Join Date: Sep 2010
Old 08-20-2012 , 19:38   [Req] Command Spam Prevention
Reply With Quote #1

I've searched for a plugin that does this and I don't have the coding expertise to make my own from scratch (Just to edit other code to fit my needs) so I'm going to request this and see what happens.

Basically what I need is this:

I have my donators set to be able to kick on my server, but I don't want somebody donating just for that access so they can kick as many times as they want. So i want to find a plugin that would allow me to reduce the frequency a single person can type certain commands such as !kick.

It would need a couple of cvars for example:

sm_cspam_freq <time in seconds>

sm_cspam_bypflag <flag to bypass the cspam> for regular admins and myself

That should be it, should be simple enough if somebody would PM me about it I would greatly appreciate it.

This is for a TF2 server that I run but i'm sure it would be useful for any sourcemod game.
__________________
TyanColte is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 08-20-2012 , 19:57   Re: [Req] Command Spam Prevention
Reply With Quote #2

Easiest solution would be to have a separate kick that donators receive, such as !dkick, that they can only use every x seconds.
__________________
thetwistedpanda is offline
TyanColte
Member
Join Date: Sep 2010
Old 08-20-2012 , 21:46   Re: [Req] Command Spam Prevention
Reply With Quote #3

well i would still need a separate plugin for that, and this way i can use the same command and my donators and the spam prevention plugin will keep them from overusing it.
__________________
TyanColte is offline
necavi
Veteran Member
Join Date: Sep 2010
Old 08-20-2012 , 21:54   Re: [Req] Command Spam Prevention
Reply With Quote #4

No, you REALLY need a separate command for it, being as they COULD do something like sm_kick @all, and empty your server while only triggering the spam prevention once, while that could likely be filtered as well, it would be MUCH easier to create something like sm_dkick which would not accept filters.
necavi is offline
TyanColte
Member
Join Date: Sep 2010
Old 08-20-2012 , 22:51   Re: [Req] Command Spam Prevention
Reply With Quote #5

Quote:
Originally Posted by necavi View Post
No, you REALLY need a separate command for it, being as they COULD do something like sm_kick @all, and empty your server while only triggering the spam prevention once, while that could likely be filtered as well, it would be MUCH easier to create something like sm_dkick which would not accept filters.
3 things to that.

1: Most of my donators aren't dumb enough to do something like that because they know what will happen if they do and I find out.

2: Most of my donators aren't smart enough to know all the filters nor would remember they could use them if they knew them.

3: And most important: even if they did do it kicking isn't like banning, the kicked people would just come back in and resume what they were doing. Keep in mind this is an Achievement server so K/D ratio etc. doesn't matter.
__________________
TyanColte is offline
Reply



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 17:13.


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