Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /mutechat:
- trigger:
- player has permission "chat.mute":
- if {chat.muted} is true:
- broadcast "&f[&7&lRoad&f&lPvP]&f=====&f&lChat Unmuted By %player%&f=====[&7&lRoadPvP&f]"
- set {chat.muted} to false
- else if {chat.muted} is false:
- set {chat.muted} to true
- broadcast "&f[&7&lRoad&f&lPvP]&f=====&f&lChat Muted By %player%&f=====[&7&lRoadPvP&f]"
- command /clearchat:
- trigger:
- player has permission "chat.clear":
- loop 300 times:
- broadcast " "
- broadcast "&f[&7&lRoad&f&lPvP]&f=====&f&lChat Cleared By %player%&f=====[&7&lRoadPvP&f]"
- on chat:
- if player has permission "chat.mutebypass":
- else:
- cancel event
- message "&cChat is muted right now!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement