Author
|
|
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
|
Plugin ID:
|
6629
|
Plugin Version:
|
3.5
|
Plugin Category:
|
General Purpose
|
Plugin Game:
|
Left 4 Dead
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
Vote for player kick with translucent menu
|
|
|
![Old](images/statusicon/post_old.svg)
07-05-2019
, 04:20
[L4D1 & L4D2] Votekick - no black screen (Coop & Versus)
|
#1
|
Description: This plugin replaces annoying black screen vote for kick by translucent menu.
Features: - translucent menu
- full versus support (thanks to @alliedfront)
- kick for 1 hour (adjustable) even if the player used a trick to quit from the game before the vote ends.
- prevents votekick exploit
- un-kick (from the same menu)
- vote announcement
- no black screen
- flexible configuration of access rights
- kick reasons (with translation): * See the file: data/votekick_reason.txt - all actions are logged (who kick, whom kick, who tried to kick, ip/country/nick/SteamId, reason ...)
- ability to use deny list (by SteamId or nickname) to prevent specific users from starting the vote: * See the file: data/votekick_vote_block.txt - auto-add to deny list the users from the "newnames.txt" file in Auto-Name-Changer by Exle plugin.
Logfile location: - logs/vote_kick.log
Data file: - data/votekick_vote_block.txt - deny list of user you may want to disable ability to start the voting * (SteamId and nicknames with simple mask * are allowed). - data/votekick_reason.txt - list of kick reasons (optionally, must be supplied with appropriate translation in file: l4d_votekick.phrases.txt).
Guide to add more kick reasons: - Add new line in data/votekick_reason.txt
- Edit translation file to add new entry similar to "Rusher" in file: translations/l4d_votekick.phrases.txt
Permissions: - by default, vote can be started by player with "k" (StartVote) flag (adjustable).
- by default, vote can be vetoed or force passed by player with "d" (Ban) flag (adjustable).
- ability to set minimum time to allow repeat the vote.
- ability to set minimum players count to allow starting the vote.
- admins cannot target root admin.
- non-admins cannot target admins.
- users with lower immunity level cannot target users with higher level.
- everybody able to start vote kick against users from deny list (regardless of sm_votekick_accessflag ConVar settings).
- (in versus) users can't target users from opposite team
Settings (ConVars): - sm_votekick_delay - def.: 60 - Minimum delay (in sec.) allowed between votes
- sm_votekick_timeout - def.: 10 - How long (in sec.) does the vote last
- sm_votekick_announcedelay - def.: 2.0 - Delay (in sec.) between announce and vote menu appearing
- sm_votekick_kicktime - def.: 3600 - How long player will be kicked (in sec.)
- sm_votekick_minplayers - def.: 4 - Minimum players present in game to allow starting vote for kick
- sm_votekick_minplayers_versus - def.: 4 - Minimum players present in team to allow starting vote for kick (Versus gamemode)
- sm_votekick_accessflag - def.: "k" (StartVote) - Admin flag required to start the vote (leave empty to allow for everybody)
- sm_votekick_vetoflag - def.: "d" (Ban) - Admin flag required to veto/votepass the vote
- sm_votekick_log - def.: 1 - Use logging? (1 - Yes / 0 - No)
- sm_votekick_show_kick_reason - def: 0 - Allow to select kick reason? (1 - Yes / 0 - No)
- sm_votekick_show_bots - def.: 0 - Allow to vote kick survivor bots? (1 - Yes / 0 - No)
- sm_votekick_show_self - def.: 0 - Allow to self-kick (for debug purposes)? (1 - Yes / 0 - No)
- sm_votekick_show_vote_details - def.: 0 - Allow to show number of yesVotes - noVotes? (1 - Yes / 0 - No)
Commands: - sm_vk - Show menu to select player to vote for kick/unkick
- sm_votekick - same as sm_vk
- sm_veto - Allow admin to veto current vote
- sm_votepass - Allow admin to bypass current vote
- sm_pass - same as sm_votepass
Requirements: - GeoIP extension (included in SourceMod).
- SourceMod v.1.10+
Languages: - Russian
- English
Installation: - copy smx file to addons/sourcemod/plugins/
- copy phrases.txt file to addons/sourcemod/translations/
- copy data/ .txt file to addons/sourcemod/data/
Credits: - D1maxa - for the initial plugin
- MasterMind420 & Powerlord - for suggestions on fixing exploit
- SilverShot - for ConVar solution on votekick exploit
- toniex - for new update suggestions
- Profanuch - for new update suggestions
- GoGetSomeSleep - for donation
- alliedfront - much thanks for adding full versus support, fixing bot kick exploit and several bugs.
References- [L4D1 & L4D2] Votekick (no black screen)
- [L4D1 & L4D2] Vote difficulty (no black screen)
- [L4D1 & L4D2] Votemute (no black screen)
- [L4D1 & L4D2] Map changer with rating system (no black screen)
DonateDonates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon (Paypal)
- BitCoin
- Ю.Money
P.S.: - Project and updates discontinued. Don't ask.
__________________
Last edited by Dragokas; 02-04-2024 at 06:10.
|
|
|
|