Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. command /joinvanish <text>:
  2. permission: calta.mod
  3. permission message: &4You do not have access to that command.
  4. trigger:
  5.  
  6. if arg 1 is "toggle":
  7. if {joinvanish::%player's' uuid%} is set to true:
  8. clear {joinvanish::%player's' uuid%}
  9. send "&aYou will now be visible when logging on."
  10. else:
  11. set {joinvanish::%player's' uuid%} to true
  12. send "&aYou will no longer be visible when logging on."
  13.  
  14.  
  15. if arg 1 is "on":
  16. set {joinvanish::%player's' uuid%} to true
  17. send "&aYou will no longer be visible when logging on."
  18.  
  19. if arg 1 is "off":
  20. clear {joinvanish::%player's' uuid%}
  21. send "&aYou will now be visible when logging on."
  22.  
  23. else:
  24. send "&cInvalid arguments!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement