Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. command /vanish:
  2. permission: vanish.sk
  3. trigger:
  4. if {vanish.%player%} is not set:
  5. hide player to all players
  6. add "%player%" to {vanish::*}
  7. add 1 to {tablist.vanish}
  8. set {vanish.%player%} to true
  9. send "&e&lVanish is activate" to player
  10. broadcast "&e%player% left the game
  11. execute player command "/tablist refresh"
  12. stop
  13.  
  14. else:
  15. reveal player to all players
  16. send "&e&lVanish is deactivate" to player
  17. remove "%player% from {vanish::*}
  18. add -1 to {tablist.vanish}
  19. delete {vanish.%player%}
  20. broadcast "&7%player% &ehas joined the game!"
  21. execute player command "/tablist refresh"
  22. stop
  23. on join:
  24. if {vanish.%player%} is true:
  25. reveal player to all players
  26. send "&eVanish is deactivate" to player
  27. remove "%player%" from {vanish::*}
  28. add -1 to {tablist.vanish}
  29. delete {vanish.%player%}
  30. execute player command "/tablist refresh"
  31. stop
  32.  
  33. on damage:
  34. if {vanish.%victim%} is true:
  35. cancel event
  36.  
  37. on drop:
  38. if {vanish.%player%} is true:
  39. cancel event
  40.  
  41. options:
  42. tabHeader: "&6tabHeader" #Tablist Texte Haut
  43. tabFooter: "&ctabFooter: &e&l%amount of players%&f&l/&6&l%max player%" #TabList Texte Bas
  44.  
  45.  
  46.  
  47. command /tablist refresh:
  48. executable by:console and players
  49. trigger:
  50. loop all players:
  51. set tab header to {@tabHeader} and footer to {@tabFooter} for loop-player
  52. message "{@prefixTabList} &7Tablist Reloaded :" to the command sender
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement