Raised This Month: $276 Target: $400
 69% 

[L4D] Votemute (no black screen)


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

    Description:
    This plugin adds ability to vote for voice mute.
    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 ...)
    - permanent mute list - can be adjusted in source code (see OnClientPutInServer)
    Logfile location:
    - logs/vote_mute.log
    Permissions:
    - by default, vote can be started by everybody (adjustable) if immunity and player count checks passed.
    - 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.
    - set #PRIVATE_STUFF to 1 to unlock some additional options - forbid vote by name or SteamID
    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_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_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_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).
    Languages:
    - Russian
    - English
    Installation:
    - copy smx file to addons/sourcemod/plugins/
    - copy phrases.txt file to addons/sourcemod/translations/
    TODO:
    - unmute
    References
    - [L4D] Votekick (no black screen)
    - [L4D] Vote difficulty (no black screen)
    - [L4D] Votemute (no black screen)
    - [L4D] Map changer with rating system (no black screen)
    Attached Files
    File Type: txt l4d_votemute.phrases.txt (2.3 KB, 185 views)
    File Type: sp Get Plugin or Get Source (l4d_votemute.sp - 33 views - 19.6 KB)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
    [My plugins] [My tools] [GitHub] [Articles]

    Last edited by Dragokas; 09-21-2020 at 18:57.
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine
    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)
    [My plugins] [My tools] [GitHub] [Articles]
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine
    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)
    [My plugins] [My tools] [GitHub] [Articles]
    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
    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 21:13.


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