AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   Player 'Vote' System (https://forums.alliedmods.net/showthread.php?t=17784)

Cheap_Suit 09-08-2005 23:32

Player 'Vote' System
 
[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

pdoubleopdawg 09-08-2005 23:35

I was in production of making something like this. Looks like you beat me. Good job! :)

Brad 09-08-2005 23:42

Re: Player Vote System
 
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

eFrigid 09-09-2005 00:24

OMG ive always wanted somthing like this


+10000000 karma :wink: :up: :up:

atambo 09-09-2005 13:25

lol nice sounds like the awesome cs plugin but better :P

Xanimos 09-09-2005 14:19

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.

atambo 09-09-2005 16:31

Quote:

As for it seeming like the Awesome cs plugin....It is a remake.
not that thats a bad thing... :P

bmann_420 09-09-2005 16:40

This is very nice Cheap, Good Job.

Sir Apocalypse 09-10-2005 02:04

"This is very cheap".
No it's just fine plugin, approve this or die.

bmann_420 09-10-2005 04:04

I dont think i have seen a bad plugin from Cheap Suit yet. :D


All times are GMT -4. The time now is 08:11.

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