The Mute system restricts a player's ability to chat and use specific commands (like private messaging) while allowing them to continue playing.
How it Works
Crown intercepts chat events and command preprocessing events. If a player is muted, their chat is cancelled and an error message is sent.
Usage
Command
Permission
Description
/mute <player> [-ip|-local] [time] [reason]
crown.punish.mute
Mutes a player.
/unmute <player>
crown.unpunish.mute
Unmutes a player.
Configuration (mute.yml)
You can define which commands are blocked while muted to prevent bypassing chat restrictions via commands like /tell.
# Commands to block while muted (no slash needed)blocked_commands:-msg-tell-r-say-me
Tip: Staff members with the crown.mod permission can see messages sent by muted players if configured in listeners, though usually, the chat is simply cancelled.