Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Command /mutechat:
- permission: mod.sk
- trigger:
- if {mutechat} is false:
- set {mutechat} to true
- play sound "entity.player.levelup" with volume 10 and pitch 1 at all players for all players
- broadcast "&3&lSavour &3▪ &7The chat has been &cmuted&7!"
- stop
- if {mutechat} is true:
- set {mutechat} to false
- play sound "entity.player.levelup" with volume 10 and pitch 1 at all players for all players
- broadcast "&3&lSavour &3▪ &7The chat has been &aunmuted&7!"
- on chat:
- if {mutechat} is true:
- cancel event if player does not have permission "mutechat.bypass"
- send "&3&lSavour &3▪ &7The chat is &cmuted&7!" if player does not have permission "mutechat.bypass"
- play sound "entity.villager.no" with volume 10 and pitch 1 at player for player if player does not have permission "mutechat.bypass"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement