Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- p: &8&l[&c&lSC&8&l] # prefix
- no-perm: &cSorry! You do not have permission for that command! # no permissions message
- command /staffchat [<text>]:
- aliases: sc
- permission: staffchat.use
- permission message: {@no-perm}
- trigger:
- if arg-1 is set:
- send "{@p} &8&l• %player's prefix%&7%player% &8&l» &a%arg-1%" to players where [input has permission "staffchat.use"]
- if arg-1 is not set:
- if {staffchat::%player's uuid%} is not set:
- set {staffchat::%player's uuid%} to true
- send "&8&l[&c&l!&8&l] &aYou have enabled staffchat."
- else:
- delete {staffchat::%player's uuid%}
- send "&8&l[&c&l!&8&l] &cYou have disabled staffchat."
- on chat:
- if {staffchat::%player's uuid%} is set:
- cancel event
- send "{@p} &8&l• %player's prefix%&7%player% &8&l» &a%message%" to players where [input has permission "staffchat.use"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement