About VoteMute
A player voting system for temporary chat mutes.
Supports both default chat and BetterChat, with persistent mute storage and Discord webhook integration.
Permissions
votemute.startvote - Allows initiating vote mutes
votemute.vote - Allows participating in votes
votemute.unmute - Allows manual unmuting (admin)
Configuration
{
"Required percentage (0-100)": 60.0, // Percentage of yes votes needed
"Vote duration (seconds)": 120, // How long voting period lasts
"Cooldown between votes (minutes)": 10, // Time between vote initiations
"Mute duration (minutes)": 60, // How long mutes last
"Discord Webhook URL": "", // Optional Discord logging
"Log to console": false, // Enable console logging
"Minimum players required for voting": 4, // Server population requirement
"Allow voting to mute self": false, // Self-mute prevention
"Allow voting to mute admins": false, // Admin mute prevention
"Reminder interval (seconds)": 30 // Interval of vote reminder message
}
Commands
/votemute playername/steamid - Start vote to mute
/yes - Vote in favor
/no - Vote against
/unmute playername/steamid - Admin unmute command
Notes
Mute data persists through server restarts via data file
Integrates with BetterChat if present
Supports team chat muting
Automatic mute expiration system
Vote session management with concurrent vote prevention
Discord webhook sends detailed embeds with vote results
Supports localization through language files
Thread-safe mute operations
Handles player disconnections during votes