Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &7&l[&d&lStopChat&7&l]
- command /stopchat [<text>]:
- permission: sk.stopchat
- permission message: &4You don't have enough permissions!
- trigger:
- if arg-1 is "on":
- set {stopchat} to "1"
- broadcast "{@prefix} &7From now on, you can't send messages!"
- if arg-1 is "off":
- set {stopchat} to "0"
- broadcast "{@prefix} &7From now on, you can send messages!"
- on chat:
- if {stopchat} = "1":
- cancel event
- send "{@prefix} &7You can't send messages!" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement