Raised This Month: $ Target: $400
 0% 

Vote Kick (With custom Reason) [Updated]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management       
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-26-2011 , 22:44   Vote Kick (With custom Reason) [Updated]
Reply With Quote #1

This a simple Vote Kick comand for a players, including a Custom Reason.

Wen a Player select another, just warns of risk a Vote Kick fail's, you get kicked yourself.

AND

If the vote has a greater number of yes will have success. Otherwise it will fail.
Voting can equalize, then no player will be punished..


--> Say .votekick <Reason> | to show a menu or
amx_vote_kick_menu <Reason>

The Custom Reason have a size:
- Min chars is 5.
- Max chars is 23.

-- Admins not appear in the Vote Kick Menu;
-- Its based on Custom reason;
-- Its being used with a percent system;
-- The players themselves do not appear on the menu;
-- The Unassigned dont allowed to use the Vote menu;
-- The time to end a Vote Kick is 15 seconds;
-- Multi language;
-- Cvars to Vote Kick or Vote Ban Player;
-- An command to Admin Stop the current vote session;
-- If any Admin with a ADMIN_VOTE Flag is online, the Vote Kick is disabled;
-- If a Vote Starter or target leave the server before end of vote, this will be banned;

More info see the

CVARs:
Code:
amx_vote_kick","1"              // Vote Kick Active?
amx_vote_kick_minplayers","5"         // Minimum users to start an Vote Kick
amx_vote_kick_maxvotes","1"         // Times a player can use Vote Kick
amx_vote_kick_admin","0"         // Start an Vote Kick with Admins Online?
amx_vote_kick_time","15.0"         // Delay between Vote Kick sessions
amx_vote_kick_bantime","30"         // Ban Time in Minutes (0 Will only Kick the player)
amx_vote_kick_percentage","80.0"     // Vote Kick Percent to success 
amx_vote_kick_banevasion","1440"     // If a player evading Vote Kick, banning same (0 Deactivate Function)


User Commands (Max Reason size is 23, minimum is 5):

Code:
amx_vote_kick_menu <Reason>
Code:
.votekick <Reason>


Admins Commands (Default Flag is ADMIN_VOTE)
Code:
amx_vote_kick_stop     // Stop the current Vote Kick
.stopvotekick         // Do same thing


TIPs:
Quote:
-- To Change the admin access from commands: Find, #define ADMIN_VOTEKICK_FLAG ADMIN_VOTE
Attached Files
File Type: txt votekick.txt (1.6 KB, 680 views)
File Type: sma Get Plugin or Get Source (votekick.sma - 1991 views - 12.6 KB)
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 07-15-2013 at 22:02. Reason: 0.0.2 + Modification ALL
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Shadymn
Senior Member
Join Date: Sep 2010
Old 07-28-2011 , 06:53   Re: Vote Kick Menu (With custom Reason)
Reply With Quote #2

sounds interesting i wanna test it right now
Shadymn is offline
towny
Junior Member
Join Date: Apr 2012
Location: Australia
Old 04-16-2012 , 10:36   Re: Vote Kick Menu (With custom Reason)
Reply With Quote #3

This is actually better than most vote kick mods out there
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yes I know i'm late, but i'm new to modding.
Also, Bacon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
towny is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 04-18-2012 , 21:41   Re: Vote Kick Menu (With custom Reason)
Reply With Quote #4

This its a old code, i will update soon.
__________________
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
SGT
Senior Member
Join Date: Sep 2011
Old 04-19-2012 , 09:01   Re: Vote Kick Menu (With custom Reason)
Reply With Quote #5

A few suggestions that would make this plugin one of the most useful plugins around.

-Voteban
-Ban players from using voteban and votekick. [Perhaps by adding their steam id in novoteban.cfg?]. Some hackers might hog the voteban system so that no one else is able to voteban them.
-Cvar for the percentage of votes needed for the voteban or votekick to take place.
-Cvar to turn off the "If a vote Kick fails, you get kicked yourself" feature.
-If an admin is online players can't use votekick or voteban
-Cvar for how often players can votekick or ban.
SGT is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 04-19-2012 , 22:46   Re: Vote Kick Menu (With custom Reason)
Reply With Quote #6

Oks bro
__________________
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
WhyThis
Senior Member
Join Date: May 2013
Old 06-01-2013 , 10:27   Re: Vote Kick Menu (With custom Reason)
Reply With Quote #7

Thansk a lot it's very helpful !
if you can add this:
-the pourcentgae when the palers are voting !
- The voted player can see the vote (with the pourcentage) and can't vote !

And made one for bannning (you have just to add the time of ban)

EDIT:
I f you make it PM me Please

Last edited by WhyThis; 06-01-2013 at 10:27.
WhyThis is offline
XControlX
Junior Member
Join Date: May 2013
Old 06-01-2013 , 14:40   Re: Vote Kick Menu (With custom Reason)
Reply With Quote #8

Nice plugin, thanks .
XControlX is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 06-02-2013 , 11:12   Re: Vote Kick Menu (With custom Reason)
Reply With Quote #9

I think it is a old plugin, i will update soon with a easy and new version
__________________
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
WhyThis
Senior Member
Join Date: May 2013
Old 06-02-2013 , 11:40   Re: Vote Kick Menu (With custom Reason)
Reply With Quote #10

ok thanks a lot
WhyThis 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 06:18.


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