Raised This Month: $105 Target: $400
 26% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
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:
    1318 
    Plugin Description:
    Vote for player kick with translucent menu
    Old 07-05-2019 , 05:20   [L4D1 & L4D2] Votekick - no black screen (Coop & Versus)
    Reply With Quote #1

    Quote:
    Plugin is outdated.

    The recommended replacement is this fork: https://forums.alliedmods.net/showthread.php?t=349341

    Thanks to alliedfront for maintaining.


    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, 141 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; 10-03-2024 at 12:06.
    Dragokas is offline
    KRUTIK
    Senior Member
    Join Date: Feb 2019
    Location: Мос
    Old 07-12-2019 , 08:53   Re: [L4D] Votekick (no black screen)
    Reply With Quote #2

    A great plugin, it works in L4D2 I checked it, before that, the plugin did not work for me on kick, thanks for the plugin.
    KRUTIK is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 07-12-2019 , 08:59   Re: [L4D] Votekick (no black screen)
    Reply With Quote #3

    Quote:
    Originally Posted by KRUTIK View Post
    the plugin did not work for me on kick
    Please, explain.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    KRUTIK
    Senior Member
    Join Date: Feb 2019
    Location: Мос
    Old 07-13-2019 , 01:49   Re: [L4D] Votekick (no black screen)
    Reply With Quote #4

    I wanted to write that your plugin works fine for me.
    KRUTIK is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 09-08-2019 , 11:43   Re: [L4D] Votekick (no black screen)
    Reply With Quote #5

    Updated
    Quote:
    1.7
    - Some security fixes

    1.8
    - Fixed infinite "Vote is in progress"
    - Fixed rare mem leak.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Dominatez
    Senior Member
    Join Date: Oct 2009
    Location: Birmingham, UK
    Old 02-16-2020 , 21:10   Re: [L4D] Votekick (no black screen)
    Reply With Quote #6

    Great plugin.

    Shame there is no way to unban a user.
    Dominatez is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 02-17-2020 , 01:46   Re: [L4D] Votekick (no black screen)
    Reply With Quote #7

    For what reason... kick by mistake?
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    toniex
    Junior Member
    Join Date: Feb 2020
    Old 02-25-2020 , 12:02   Re: [L4D] Votekick (no black screen)
    Reply With Quote #8

    the only mistake i found in versus, is names of the 8 players in the room appear, Shouldn't it appear only 4 of my team???????
    toniex is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 02-25-2020 , 13:18   Re: [L4D] Votekick (no black screen)
    Reply With Quote #9

    Dunno. I don't play versus. Perhaps, makes sense.

    So, is that also required don't allow to vote one team for kick player from another team?

    In that case I'll see what I can do some time later, since it required full reorganization of vote system code.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Profanuch
    Junior Member
    Join Date: Jun 2020
    Old 06-15-2020 , 12:49   Re: [L4D] Votekick (no black screen)
    Reply With Quote #10

    Просьба, добавить возможность не кикать игроков, если у них имеется флаг администратора.
    Profanuch is offline
    Reply


    Thread Tools
    Display Modes

    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 01:17.


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