Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /staffchat:
- aliases: sc
- trigger:
- if player has permission "server.staff":
- if {staffchat.%player's uuid%} is set:
- delete {staffchat.%player's uuid%}
- message "&4Disabled&7 Staff Chat mode!."
- else:
- set {staffchat.%player's uuid%} to true
- message "&aEnabled &7Staff Chat mode!"
- on chat:
- if {staffchat.%player's uuid%} is set:
- loop all players:
- if loop-player has permission "server.staff":
- message "&8(&4Staff Chat&8) &c%player%&8: &7&o%message%" to loop-player
- cancel event
- else:
- stop trigger
Add Comment
Please, Sign In to add comment