Changelog
Added
- /mute command to mute players for a specified duration. Duration formats include:
1s
for 1 second1m
for 1 minute1h
for 1 hour1d
for 1 day1w
for 1 week1mon
for 1 month1y
for 1 year
- /unmute command to remove the mute status from a player without requiring a duration.
Changed
MuteCommand
now handles both/mute
and/unmute
commands.- /mute command requires a duration parameter.
- /unmute command no longer requires a duration and unmutes the player immediately.
MuteCommand
class now initializes blacklisted commands fromconfig.yml
and checks for blacklisted commands in chat.
Configuration
- Added
mute.blacklisted-commands
list toconfig.yml
to specify which commands should be blocked while a player is muted.
Fixed
- Fixed issue where
MuteCommand
contained duplicate case label for time units. - Fixed handling of blacklisted commands to ensure proper blocking.
Other
- Enhanced tab completion for
/mute
command to include duration formats. - Improved error handling and user feedback for mute/unmute operations.
Files
proton v0.3.8.jar(59.49 KiB) Primary Download