Raised This Month: $ Target: $400
 0% 

Vote Kick (With custom Reason) [Updated]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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, 678 views)
File Type: sma Get Plugin or Get Source (votekick.sma - 1986 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
 



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 14:13.


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