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/
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon (Paypal)
- BitCoin
- Ю.Money