Raised This Month: $ Target: $400
 0% 

[L4D1 & L4D2] Votekick - no black screen (Coop & Versus)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Dragokas
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:
    471 
    Plugin Description:
    Vote for player kick with translucent menu
    Old 07-05-2019 , 04:20   [L4D1 & L4D2] Votekick - no black screen (Coop & Versus)
    Reply With Quote #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)
    Donate
    Donates 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.
    Attached Files
    File Type: zip votekick_v3.zip (30.5 KB, 75 views)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 02-04-2024 at 06:10.
    Dragokas is offline
     



    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:26.


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