Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /joinvanish <text>:
- permission: calta.mod
- permission message: &4You do not have access to that command.
- trigger:
- if arg 1 is "toggle":
- if {joinvanish::%player's' uuid%} is set to true:
- clear {joinvanish::%player's' uuid%}
- send "&aYou will now be visible when logging on."
- else:
- set {joinvanish::%player's' uuid%} to true
- send "&aYou will no longer be visible when logging on."
- if arg 1 is "on":
- set {joinvanish::%player's' uuid%} to true
- send "&aYou will no longer be visible when logging on."
- if arg 1 is "off":
- clear {joinvanish::%player's' uuid%}
- send "&aYou will now be visible when logging on."
- else:
- send "&cInvalid arguments!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement