Raised This Month: $ Target: $400
 0% 

Player 'Vote' System


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 09-08-2005 , 23:32   Player 'Vote' System
Reply With Quote #1

[Description]
makes players without admin access to get rid of unwanted players.
This plugin has 5 reasons why you think a player should be banned or kicked.

1. Cheat/Hack
2. Spamming
3. TKing
4. Misbehaving
5. Disobeying Server Rules

If any of this reach the max in the defines then the player will get banned for a short time. Or will get kicked.

[Defines and Cvars]

Quote:
// 0 for Kicking ; 1 for Banning
#define VOTEMODE 0
//Timed Vote, if player doesnt get enough vote in time it resets it back to zero
#define VOTETIME 60

//Max vote before banning player
#define MAXVOTES_CHEATHACK 10
#define MAXVOTES_SPAMMING 10
#define MAXVOTES_TKING 10
#define MAXVOTES_BLDP 10
#define MAXVOTES_DFSR 10

//Ban time
#define BANTIME_CHEATHACK 30 //I dont recommend putting this to 0
#define BANTIME_SPAMMING 3
#define BANTIME_TKING 5
#define BANTIME_BLDP 5
#define BANTIME_DFSR 5
-Cvars-
pvs_enabled (1) - on/off
pvs_votedelay (90) - sets the time before they can vote again
pvs_ads_freq (50) - tells people about this plugin

[Command]
- say /voteplayer - opens the menu

[Required Plugin]
admincmd.amxx - needs this to use the ban cmd
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
pdoubleopdawg
Senior Member
Join Date: Aug 2005
Old 09-08-2005 , 23:35  
Reply With Quote #2

I was in production of making something like this. Looks like you beat me. Good job!
pdoubleopdawg is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 09-08-2005 , 23:42   Re: Player Vote System
Reply With Quote #3

Quote:
Originally Posted by Cheap_Suit
This plugin has 5 reasons why you think a player should be banned.

1. Cheat/Hack
2. Spamming
3. TKing
4. Misbehaving
5. Disobeying Server Rules
Have you considered placing the reasons in a config file to allow admins to add or delete reasons as they like?

Each line could be setup like: <Reason> <VoteCnt> <BanMins>

Example line: "Cheat/Hack" 8 30
Brad is offline
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 09-09-2005 , 00:24  
Reply With Quote #4

OMG ive always wanted somthing like this


+10000000 karma
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 09-09-2005 , 13:25  
Reply With Quote #5

lol nice sounds like the awesome cs plugin but better
__________________
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 09-09-2005 , 14:19  
Reply With Quote #6

I havnt looked at this but im sure that the awesome cs plugin records the data of who voted and who gets voted into some database somewhere. not just ban them

As for it seeming like the Awesome cs plugin....It is a remake.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 09-09-2005 , 16:31  
Reply With Quote #7

Quote:
As for it seeming like the Awesome cs plugin....It is a remake.
not that thats a bad thing...
__________________
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 09-09-2005 , 16:40  
Reply With Quote #8

This is very nice Cheap, Good Job.
__________________
bmann_420 is offline
Sir Apocalypse
Member
Join Date: Jul 2005
Location: Finland
Old 09-10-2005 , 02:04  
Reply With Quote #9

"This is very cheap".
No it's just fine plugin, approve this or die.
__________________
[img]http://img56.**************/img56/864/sirapocalypse1yh.gif[/img]
Sir Apocalypse is offline
Send a message via MSN to Sir Apocalypse
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 09-10-2005 , 04:04  
Reply With Quote #10

I dont think i have seen a bad plugin from Cheap Suit yet.
__________________
bmann_420 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 08:11.


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