Raised This Month: $161 Target: $400
 40% 

Vote Ban


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   Hawk552 (427)
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-06-2009 , 16:44   Vote Ban
Reply With Quote #1

Vote Ban

Description
  • Like title says it's a plugin used to ban players by vote.
  • When you type '[/][.]voteban' a menu with current players on server will appear and you can vote who you want to ban. (You can only vote once for same player, and if you leave server, the vote will be removed).
  • After selecting the wanted player, you can enter a ban reason.
  • Players will be checked after each vote, so if player have more than X%(percent) votes, will be banned by setted amount of time.
  • Each vote will be logged in 'logs/voteban/D-M-Y.log', so an admin can check later the reasons of ban.
Cvars
  • voteban_percent (Default:80) - Raport between votes and total players needed to ban a player.
  • voteban_type (Default:1) - Ban type [1 - SteamID / 2 - IP].
  • voteban_time (Default:100) - Ban time.

Attached Files
File Type: sma Get Plugin or Get Source (voteban.sma - 27969 views - 7.3 KB)
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 07-06-2009 at 19:01.
Alka is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 07-06-2009 , 17:08   Re: Vote Ban
Reply With Quote #2

alka is back! yay nice plugin, and nice light smiley
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
B3n
Member
Join Date: Jul 2006
Old 07-06-2009 , 17:24   Re: Vote Ban
Reply With Quote #3

Does this work with Advanced Bans (Real Time)?
B3n is offline
hcxx
Senior Member
Join Date: Jan 2007
Location: 127.0.0.1
Old 07-06-2009 , 17:50   Re: Vote Ban
Reply With Quote #4

add amxbans support plz
hcxx is offline
shine771
Senior Member
Join Date: Jun 2007
Location: Latvia
Old 07-06-2009 , 18:10   Re: Vote Ban
Reply With Quote #5

But what if the player who's getting banned disconnects before he gets the ban?
__________________
shine771 is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-06-2009 , 18:41   Re: Vote Ban
Reply With Quote #6

^^ back on road.
@B3n - No, it doesn't support that plugin, but do the same thing.
@hcxx - I will add AMXBans support too.
@shine771 - You get banned only when last vote makes the required percent, there is no delay, instant ban.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 07-06-2009 , 18:45   Re: Vote Ban
Reply With Quote #7

http://forums.alliedmods.net/showthread.php?t=43568 ?
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-06-2009 , 18:58   Re: Vote Ban
Reply With Quote #8

I've seen that plugin, but as you can see it's old and unsupported.Also it's different, there a player start a vote for "X", then all must vote if NO/YES, that suck, if i didn't saw that player playing too much, i must vote anyway. With this, anyone can vote when they want, also have ban reason and log system.
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 07-06-2009 at 19:06.
Alka is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-06-2009 , 20:31   Re: Vote Ban
Reply With Quote #9

It's rtv style like . Which is a great idea.
__________________
fysiks is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 07-06-2009 , 22:25   Re: Vote Ban
Reply With Quote #10

Make this work with Exolent's Advanced Plugins as well

And make it multilingual
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
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 23:56.


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