Implemented the /mute and /unmute commands:
Ways to use the mute feature:
/mute <=============== This will mute for an unlimited time the server chat.
/mute <Player> <======== This will mute for an unlimited time a player.
/mute <Player> <Time in numbers><s/m/h/d> <========= This will mute a player for the time specified.
Using the Chat Manager/Mute Chat Manager/Mute Player Chat
Ways to use the unmute feature:
/unmute <=============== This will unmute the chat
/unmute <Player> <======== This will unmute a player
Sounds Effects:
I added sounds when a player make actions for example: Report, Delete a Report, Got Frozen, and so. I'm planning to implement more in the future, but for now here is the list of sounds added:
Code (YAML):
custom_sounds:
staff_items_drop
:
"ENTITY_SLIME_ATTACK"
staff_reports_alerts
:
"BLOCK_NOTE_BLOCK_PLING"
staff_mute_alerts
:
"BLOCK_NOTE_BLOCK_PLING"
muted_try_to_chat
:
"BLOCK_NOTE_BLOCK_PLING"
mute_alerts
:
"BLOCK_NOTE_BLOCK_PLING"
report
:
"BLOCK_NOTE_BLOCK_PLING"
open_report
:
"BLOCK_NOTE_BLOCK_PLING"
close_report
:
"BLOCK_NOTE_BLOCK_PLING"
delete_report
:
"ENTITY_WITHER_BREAK_BLOCK"
freeze
:
"BLOCK_BEACON_DEACTIVATE"
un_freeze
:
"BLOCK_BEACON_ACTIVATE"
vanished_join
:
"BLOCK_BUBBLE_COLUMN_BUBBLE_POP"
invsee
:
"BLOCK_CHEST_OPEN"
This can be disabled in the config file!