Here is a Basic Mutechat Skript! I will be post more skripts soon!
Skript Made By: TankSniperD
Do not take credit for this skript and say it is yours! Thanks
command /mutechat:
permission: staff.mute
permission message: &c You don't have the required permission to perform that command.
trigger:
if {Globalchat} is not set:
set {Globalchat} to true
broadcast "&c&lServer-name &c| &cChat has been muted by &r&c%player%"
stop trigger
if {Globalchat} is set:
clear {Globalchat}
broadcast "&c&lServer-name &c| &aChat unmuted by &r&a%player%"
on chat:
if {Globalchat} is true:
if player has permission "chat.mute.bypass":
stop trigger
else:
cancel event
send "&cChat is currently muted."