[L4D] Votekick Autoban 1.3
1 Attachment(s)
Description
I run a public server and often griefers will be vote kicked and instantly return to continue griefing. This simple plugin solves this issue by automatically banning any player who is vote kicked for a short amount of time (by default, 5 minutes). If there is demand, it could increase by powers of 2 each time the person is banned and returns. Changelog 1.3 - Fixed error causing subsequent votekicks to not show name correctly. 1.2 - Added names of the players who vote kicked for auditing. 1.1 - Added sm_autoban_duration cvar and converted banning method to SourceBans compatible command. 1.0 - Initial version CVARS sm_autoban_duration - sets the amount of time the person is banned in minutes. 0 for permanent. Thanks to Downtown1, I used a few snippets from his Ready-Up plugin. |
Re: [L4D] Votekick Autoban
Great plugin.
Will it work with SourceBans? so the bans get logged to my website and users can contest the bans to be unbanned. |
Re: [L4D] Votekick Autoban
I could probably integrate sourcebans into the plugin, but would it really be needed? If you kept the default time (which is 5 minutes), then by the time the user went to contest his ban it'd already be expired. If you want a longer ban, then it'd probably make sense to use one of the more extended voting plugins and issuing a voteban.
Did you just want it so the user knows why he was banned? |
Re: [L4D] Votekick Autoban
No I was planning on making it perm ban on a votekick.
with the ban going through sourceban the ban gets logged on the servers website where users can contest the ban and admins can remove the ban. Since there banned via sourceban when they try to rejoin it tells them they are banned and gives a link to the website were they can contest the ban. This is how sourcebans get called in the console: sm_ban <#userid|name> <minutes|0> [reason] |
Re: [L4D] Votekick Autoban
Ah, okay. I'll implement that tomorrow.
|
Re: [L4D] Votekick Autoban
MikesToolz:
Modified to work with SourceBans. Code:
[SM] ADMIN: Banned player "n0limit" for 5 minutes (reason: "AutoBan: banned for being votekicked"). Let me know if you run into any troubles. |
Re: [L4D] Votekick Autoban
Awsome, thanks alot.
Im not sure if everyone else uses sourcebans. You may want to comment out the severcommand line and have the normal ban as the default for the one thats posted on here. ill go test it out right now and let you know how it goes. |
Re: [L4D] Votekick Autoban
works like a charm :mrgreen:
One last question, is it posable to include the names of the players who voted to kick the person in the reason message? For example... AutoBan: banned for being votekicked by Bill, Louise, zoey, Mike. this would make reviewing an unban request easy since if I see they were banned by one of my freind or people I can ask them about it. |
Re: [L4D] Votekick Autoban
Quote:
Quote:
|
Re: [L4D] Votekick Autoban 1.2
Sorry it took a little longer, I've had a busy week.
I've updated it to 1.2 which features the names of those who voted to kick. Here's an example from my server: Code:
[SM] Console: Banned player "((((Jas))))" for 5 minutes (reason: "AutoBan: Votekicked by n0limit, JaPimp and $+@L]C3r."). |
All times are GMT -4. The time now is 15:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.