Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /mutechat:
- aliases: /mc
- permission: mutechat
- permission message: &cYou don't have the correct permission to execute this command!
- trigger:
- set {mutechat} to "true"
- broadcast "(mutechat msg)"
- play sound "experience_orb.pickup" to all players
- on chat:
- if {mutechat} is "true":
- if player does not have permission "chatbypass":
- cancel event
- send "&7You cannot speak while chat is muted!"
- command /unmutechat:
- aliases: /umc
- permission: mutechat
- permission message: &cYou don't have the correct permission to execute this command!
- trigger:
- set {mutechat} to "false"
- broadcast "(unmutechat msg)"
- play sound "experience_orb.pickup" to all players
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement