Raised This Month: $12 Target: $400
 3% 

[L4D1 & L4D2] Votemute (no black screen)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
6630
Plugin Version:
2.6
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    33 
    Plugin Description:
    Vote for voice mute & chat block that keeps on re-join (with visualization)
    Old 07-05-2019 , 04:24   [L4D1 & L4D2] Votemute (no black screen)
    Reply With Quote #1

    Description:
    This plugin adds ability to vote for voice mute and gag (chat block).
    Features:
    - translucent vote menu.
    - mute for 1 hour (adjustable) even if player used trick to quit the game before vote ends.
    - vote announcement
    - flexible configuration of access rights
    - all actions are logged (who mute, whom mute, who tried to mute, ip/country/nick/SteamId, reason ...)
    - un-mute
    - gag
    - un-gag
    - auto-updated menu with "Microphone" icon (to see who is currently speaking) - SM v.1.11 is required.
    - "X" icon to see who is currently muted / gagged.
    - permanent mute/gag option (see Data Files)
    - individual vote block option (see Data Files)
    - auto-add to deny list the users from the "newnames.txt" file in Auto-Name-Changer by Exle plugin.
    Data Files:
    - "data/votemute_permanent_mute.txt" - permanent mute list
    - "data/votemute_permanent_gag.txt" - permanent gag list
    - "data/votemute_vote_block.txt" - deny list to forbid vote

    > you can use SteamId, nicknames and simple masks in names like Dan*
    Logfile location:
    - logs/vote_mute.log
    Permissions:
    - by default, vote can be started by everybody (adjustable) if immunity and player count checks passed.
    - by default, veto and votepass can be done by admin with "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.
    - 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).
    Settings (ConVars):

    - sm_votemute_delay - def.: 60 - Minimum delay (in sec.) allowed between votes
    - sm_votemute_timeout - def.: 10 - How long (in sec.) does the vote last
    - sm_votemute_announcedelay - def.: 2.0 - Delay (in sec.) between announce and vote menu appearing
    - sm_votemute_mutetime - def.: 3600 - How long player will be muteed (in sec.)
    - sm_votemute_gagtime - def.: 3600 - How long player will be gagged (in sec.).
    - sm_votemute_minplayers - def.: 1 - Minimum players present in game to allow starting vote for mute
    - sm_votemute_accessflag - def.: "" - Admin flag required to start the vote (leave empty to allow for everybody)
    - sm_votemute_vetoflag - def.: "d" (ban) - Admin flag required to veto/votepass the vote.
    - sm_votemute_handleadminmenu - def.: 1 - Should this plugin handle mute/gag made via admin menu? (1 - Yes / 0 - No)
    - sm_votemute_log - def.: 1 - Use logging? (1 - Yes / 0 - No)
    Commands:
    - sm_vm (or sm_votemute) - Try to start vote for mute
    - sm_vg (or sm_votegag) - Try to start vote for gag (chat block)
    - sm_veto - Allow admin to veto current vote (ADMFLAG_BAN is required)
    - sm_votepass - Allow admin to bypass current vote (ADMFLAG_BAN is required)
    Requirements:
    - GeoIP extension (included in SourceMod).
    - SourceMod Communication Plugin - Basecomm.smx (included in SourceMod).
    - (optionally) SM v.1.11 - to see "Microphone" icon.
    Languages:
    - Russian
    - English
    - Chinese
    Installation:
    - copy smx file to addons/sourcemod/plugins/
    - copy phrases.txt file to addons/sourcemod/translations/
    - copy data/ .txt files to addons/sourcemod/data/
    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 vm.zip (28.6 KB, 161 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; 04-01-2023 at 07:58.
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 09-08-2019 , 10:46   Re: [L4D] Votemute (no black screen)
    Reply With Quote #2

    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
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 06-16-2020 , 11:43   Re: [L4D] Votemute (no black screen)
    Reply With Quote #3

    Updated.

    Quote:
    1.9
    - Fixed "Invalid client index 0"
    - Added permanent mute list (see source code - line "OnClientPutInServer")
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    CosmicD
    Senior Member
    Join Date: Dec 2009
    Location: Hasselt, Belgium
    Old 07-09-2020 , 08:18   Re: [L4D] Votemute (no black screen)
    Reply With Quote #4

    Well the plugin doesn't compile, is there a prebaked one ?

    EDIT: i've been able to compile it with the site compiler. so it's solved.
    __________________

    Last edited by CosmicD; 07-09-2020 at 08:41.
    CosmicD is offline
    Darkwob
    BANNED
    Join Date: Oct 2018
    Old 03-19-2021 , 00:10   Re: [L4D] Votemute (no black screen)
    Reply With Quote #5

    Quote:
    Originally Posted by Dragokas View Post
    Updated.
    Dragokas, can you bring a menu to these voting systems? "!vk,!votekick,!votemute,!vm "players with the flag we set when they type, a translucent menu with player names from a pop-up window and the reasons for voting the player they chose. can you do it? Can you also write a plugin in Vote gag?
    Darkwob is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 03-19-2021 , 14:26   Re: [L4D] Votemute (no black screen)
    Reply With Quote #6

    What you mean, the plugin already has a menu.

    Do you need "reasons"? To be able to select and save in logfile?
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 03-19-2021 , 14:27   Re: [L4D] Votemute (no black screen)
    Reply With Quote #7

    Quote:
    Originally Posted by Darkwob View Post
    Vote gag?
    Maybe. Usually, I instantly give a ban to such players who require a gag.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 03-28-2021 , 08:53   Re: [L4D] Votemute (no black screen)
    Reply With Quote #8

    Updated.

    Quote:
    2.0 (23-Mar-2021)
    - Added ability to see in menu who is currently speaking (available in SM v.1.11 only).
    - Added ability to see in menu who was already muted / gagged.
    - Added ability to unmute. Use the same menu.
    - Added ability to gag/ungag (chat).
    - New commands: !vg and alias !votegag.
    - New ConVar "sm_votemute_gagtime" - How long player will be gagged (in sec.).

    2.1 (28-Mar-2021)
    - PRIVATE_STUFF is moved from source code to external files:
    * "data/votemute_permanent_mute.txt" - to specify permanent mute list (STEAM id and player nicknames are allowed).
    * "data/votemute_permanent_gag.txt" - to specify permanent list to block the chat (STEAM id and player nicknames are allowed).
    * "data/votemute_vote_block.txt" - for specific players you may want to block the vote ability (STEAM id and player nicknames are allowed).
    - Added ConVar "sm_votemute_vetoflag" - Admin flag required to veto/votepass the vote.
    PS. I must say it was a quite non-trivial task to make an auto-refresh menu with pagination support.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Darkwob
    BANNED
    Join Date: Oct 2018
    Old 04-01-2021 , 06:28   Re: [L4D1 & L4D2] Votemute (no black screen)
    Reply With Quote #9

    dragons, can you add a menu to this? from there we can pick the players and the reason.
    Darkwob is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 04-25-2021 , 15:33   Re: [L4D1 & L4D2] Votemute (no black screen)
    Reply With Quote #10

    Updated.

    Quote:
    2.2 (25-Apr-2021)
    - Improved menu items display when the player's nickname contains bad characters.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas 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 05:46.


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