Raised This Month: $32 Target: $400
 8% 

Advanced VoteBan v1.0.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 07-15-2013 , 10:46   Advanced VoteBan v1.0.0
Reply With Quote #1

Advanced VoteBan v1.0.0


Introduction


This plugin is an improved version of the original VoteBan plugin by Alka (https://forums.alliedmods.net/showthread.php?p=865960) In addition, this plugin allows to remove voteban and see who votebanned you.

Commands
  • /voteban – Opens the VoteBan menu

CVARS

Code:
avb_ban_percentage 60 // Percentage to a player get banned
avb_ban_time_minutes 10080 // Ban time in minutes
avb_min_players_to_voteban 3 // Minimum number of players to use voteban command
avb_max_votebans_per_player 5 // Maximum number of votebans per player
avb_ban_by_amx_bans 0 // Ban by Amx Bans or not (only tested in v6.0.3)
avb_ban_reason "Banned by voteban" // Ban reason
avb_log_votebans 1 // log votebans to a file (voteban.log). 0 to disable


Requirements

PHP Code:
#include < amxmodx > 


Defines

PHP Code:
#define CHAT_PREFIX        "[VoteBan]"
#define LOG_FILE            "voteban.log"

#define MAX_PLAYERS        32 


Screenshots


Spoiler


Instalation

1. Download the .amxx attached
2. Install the plugin normally
3. Copy the cvars to your server.cfg and customize at your own way
4. Change map or restart your server


Known issues

- If a player has been votebanned and reconnect (retry), the votes are reseted. I will try to fix this.

Changelog

Code:
v1.0.0 (15/07/2013)
     - Initial release


Credits


- Alka for the original version
Attached Files
File Type: sma Get Plugin or Get Source (Advanced_VoteBan_v1.sma - 2393 views - 14.2 KB)

Last edited by guipatinador; 12-22-2013 at 10:10.
guipatinador is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-15-2013 , 12:45   Re: Advanced VoteBan v1.0.0
Reply With Quote #2

Use a celltrie to set by SteamID and advoid reconnect to server
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Crydon
New Member
Join Date: Jul 2013
Location: Portugal
Old 07-15-2013 , 15:55   Re: Advanced VoteBan v1.0.0
Reply With Quote #3

Nice job.
__________________
Still learning
Crydon is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 07-15-2013 , 16:46   Re: Advanced VoteBan v1.0.0
Reply With Quote #4

Nice one. Keep going.
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 07-15-2013 , 16:54   Re: Advanced VoteBan v1.0.0
Reply With Quote #5

Quote:
Originally Posted by quark View Post
Nice one. Keep going.
Nop.
I'm going to source pawn.
guipatinador is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 07-15-2013 , 17:08   Re: Advanced VoteBan v1.0.0
Reply With Quote #6

Quote:
Originally Posted by guipatinador View Post
Nop.
I'm going to source pawn.
Well , shit.
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
lqlqlq
Senior Member
Join Date: Jan 2008
Old 07-16-2013 , 06:34   Re: Advanced VoteBan v1.0.0
Reply With Quote #7

Nice plugin
lqlqlq is offline
Old 07-16-2013, 09:49
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
sidney030235
Junior Member
Join Date: Jun 2012
Old 07-28-2013 , 10:13   Re: Advanced VoteBan v1.0.0
Reply With Quote #8

nice!
i using it in my server
sidney030235 is offline
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 07-28-2013 , 11:31   Re: Advanced VoteBan v1.0.0
Reply With Quote #9

I'm gonna use it am my server ^^ Nice Job! The Standard voteban is so simple. Keep up the good work!
__________________
BLacking98 is offline
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 07-31-2013 , 06:50   Re: Advanced VoteBan v1.0.0
Reply With Quote #10

Quote:
Originally Posted by LordOfNothing View Post
Nice , i use at my server
Strange, in my server, I type /voteban and no menu appears... I don't have another voteban plugin so it can't be bugging eachother, the plugin is running but it does nothing O_o
Why?
__________________
BLacking98 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 13:48.


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