SHARE
TWEET

Untitled

a guest Aug 24th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /vanish:
  2.     permission: sk.admin
  3.     trigger:
  4.         if {vanish.%player%} is not set:
  5.             hide player from all player
  6.             add 1 to {tablist.vanish}
  7.             set {vanish.%player%} to true
  8.             send "&e&lVanish is activate" to player
  9.             broadcast "&e%player% left the game"
  10.             execute player command "/tablist refresh"
  11.             stop
  12.  
  13.         else:
  14.             reveal player to all players
  15.             send "&e&lVanish is deactivate" to player
  16.             add -1 to {tablist.vanish}
  17.             delete {vanish.%player%}
  18.             broadcast "&7%player% &ehas joined the game!"
  19.             execute player command "/tablist refresh"
  20.             stop
  21. on join:
  22.     if {vanish.%player%} is true:
  23.         reveal player to all players
  24.         send "&eVanish is deactivate" to player
  25.         add -1 to {tablist.vanish}
  26.         delete {vanish.%player%}
  27.         execute player command "/tablist refresh"
  28.         stop
  29.  
  30. on damage:
  31.     if {vanish.%victim%} is true:
  32.         cancel event
  33.  
  34. on drop:
  35.     if {vanish.%player%} is true:
  36.         cancel event
  37.  
  38. options:
  39.     tabHeader: "&6tabHeader" #Tablist Texte Haut
  40.     tabFooter: "&ctabFooter: &e&l%amount of players%&f&l/&6&l%max player%" #TabList Texte Bas
  41.     prefixTabList: &f&l[&b&lTabList&f&l] #{@prefixTabList}
  42.  
  43. command /tablist refresh:
  44.     executable by:console and players
  45.     trigger:
  46.         loop all players:
  47.             set tab header to {@tabHeader} and footer to {@tabFooter} for loop-player
  48.             message "{@prefixTabList} &7Tablist Reloaded :" to the command sender
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top