lNockl

Versão 0.6

Sep 10th, 2016
1,255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Join/leave/
  2. on join:
  3.     set join message to "&7[&a+&7]&e %player% &9entrou no Servidor"
  4.     send player title "&e&lTHEHIGHCRAFT" with subtitle "&aNetWork" for 4 seconds
  5.     teleport player to {lobby.main}
  6.    
  7. on quit:
  8.     set quit message to "&7[&c-&7]&e %player% &9Saiu do Servidor"
  9.    
  10. on join:
  11.     set slot 0 of player to compass named "&bServidores"
  12.    
  13. on teleport:
  14.     wait 2 ticks
  15.     send player title "&e&lTHEHIGHCRAFT" with subtitle "&fServidor: &a%world of player%" for 3 seconds
  16.    
  17.    
  18. #/youtuber
  19. command /youtuber:
  20.     aliases: /yt
  21.     trigger:
  22.         send "&7- &ePara Ser Youtuber voce precisa de 1000+"
  23.         send "&7- &ee se inscrever no canal Abaixo"
  24.         send "&ewww.youtube.com/filipenock"
  25.  
  26. #/lobby    
  27. command /setlobby:
  28.     trigger:
  29.         if player has permission "lobby.admin":
  30.             set {lobby.loc} to location of player
  31.             send "&bLobby setado para %location of player%"
  32.         else:
  33.             send "&cVoce nao tem permissao para este comando"
  34.            
  35. command /lobby:
  36.     trigger:
  37.         if {lobby.loc} is set:
  38.             send "&c&lTELEPORTANDO EM 3 SEGUNDOS"
  39.             wait 1 second
  40.             send "&c&lTELEPORTANDO EM 2 SEGUNDOS"
  41.             wait 1 second
  42.             send "&c&lTELEPORTANDO EM 1 SEGUNDOS"
  43.             wait 1 second
  44.             teleport player to {lobby.loc}
  45.             send "&eVoce voltou para o Lobby"
  46.         else:
  47.             send "&cLobby nao setado por favor set Imediatamente"
  48.  
  49. #ScoreBoard        
  50. every 1 second:
  51.     loop all players in world "world":
  52.         wipe loop-player's sidebar
  53.         set {_rank} to placeholder parse "%%vault_rank%%" as loop-player
  54.         set {_vida} to placeholder parse "%%player_health%%" as loop-player
  55.         set name of sidebar of loop-player to "&e&lTheHighCraft"
  56.         set score "&7   %now%" in sidebar of loop-player to 13
  57.         set score "&1" in sidebar of loop-player to 12
  58.         set score "&fCoins: &a%loop-player's balance%" in sidebar of loop-player to 11
  59.         set score "&2" in sidebar of loop-player to 10
  60.         set score "&fOnline: &a%number of all players%" in sidebar of loop-player to 9
  61.         set score "&3" in sidebar of loop-player to 8
  62.         set score "&fRank: &a%{_rank}%" in sidebar of loop-player to 7
  63.         set score "&4" in sidebar of loop-player to 6
  64.         set score "&fKills: &a%{kills::%loop-player%}%" in sidebar of loop-player to 5
  65.         set score "&5" in sidebar of loop-player to 4
  66.         set score "&fVida: &a%{_vida}%" in sidebar of loop-player to 3
  67.         set score "&6" in sidebar of loop-player to 2
  68.         set score "&ewww.youtube.com" in sidebar of loop-player to 1
  69.  
  70. on teleport:
  71.     wipe player's sidebar
  72.      
  73. variables:
  74.     {kills::%player%} = 0
  75.    
  76. on death of player:
  77.     add 1 to {kills::%attacker%}
  78. #rank_sistema      
  79. on join:
  80.     if player does not have permission "lobby.admin":
  81.         if player has permission "vip.tag":
  82.             set player's prefix to "&5[&bVIP&5]&f"
  83.             set player tab name to "&5[&bVIP&5]&f %player%"
  84.         else if player has permission "vip2.tag":
  85.             set player's prefix to "&b[&9VIP+&b]&f"
  86.             set player tab name to "&b[&9VIP+&b]&f %player%"          
  87.         else:
  88.             set player's prefix to "&0[&9Membro&0]&f"
  89.             set player tab name to "&0[&9Membro&0]&f %player%"
  90.     else:
  91.         set player's prefix to "&6[&eStaff&6]&f"
  92.         set player tab name to "&6[&eStaff&6]&f %player%"
  93.  
  94. #tag_sistema          
  95. command /tag [<text>]:
  96.    aliases: /tags
  97.    trigger:
  98.        if arg 1 is not set:
  99.            send "&5&e&lTags Liberadas&5"
  100.            send "&a &9Membro"
  101.            if player has permission "tag.admin":
  102.                send "&a &cAdmin"
  103.            if player has permission "tag.dono":
  104.                send "&a &bDono"
  105.            if player has permission "tag.vip":
  106.                send "&a &eVIP"
  107.            if player has permission "tag.builder":
  108.                send "&a &7Builder"
  109.          
  110.        if arg 1 is "admin":
  111.            if player has permission "tag.admin":
  112.                set player's prefix to "&4[&cAdmin&4]"
  113.                set player tab name to "&4[&cAdmin&4]&f %player%"
  114.            else:
  115.                send "&cVoce nao tem permissao para isso"
  116.              
  117.        if arg 1 is "dono":
  118.            if player has permission "tag.dono":
  119.                set player's prefix to "&5[&bDono&5]"
  120.                set player tab name to "&5[&bDono&5]&f %player%"
  121.            else:
  122.                send "&cVoce nao tem permissao para isso"
  123.              
  124.        if arg 1 is "membro":
  125.            set player's prefix to "&0[&9Membro&0]"
  126.            set player tab name to "&0[&9Membro&0]&f %player%"
  127.              
  128.        if arg 1 is "vip":
  129.            if player has permission "tag.vip":
  130.                set player's prefix to "&6[&eVIP&6]"
  131.                set player tab name to "&6[&eVIP&6]&f %player%"
  132.            else:
  133.                send "&cVoce nao tem permissao para isso"
  134.              
  135.        if arg 1 is "builder":
  136.            if player has permission "tag.builder":
  137.                set player's prefix to "&d[&7Builder&d]"
  138.                set player tab name to "&d[&7Builder&d]&f %player%"
  139.            else:
  140.                send "&cVoce nao tem permissao para isso"
  141.          
  142. #chat_sistema          
  143. on chat:
  144.     cancel event
  145.     if {fake.%player%} is true:
  146.         broadcast "&d %player's prefix% &f%{name.%player%}%: &7%message%" to the player's world
  147.     else:
  148.         broadcast "&d %player's prefix% &f%player's display name%: &7%message%" to the player's world
  149.  
  150.  
  151. #MenuSeletor
  152. on rightclick:
  153.    if player is holding a compass named "&bServidores":
  154.        open chest with 5 rows named "&d         &kiiiiiii&1&lServidores&d&kiiiii" to player
  155.        wait 1 tick
  156.        format slot 18 of player with bookshelf named "&bMainLobby" with lore "&7Click to Teleport||&fPlayers &a%{slot.mainlobby}%/100||%{state.mainlobby}%" to close then run [teleport player to {lobby.main}]
  157.        format slot 20 of player with bow named "&bSkyWars" with lore "&7Click to Teleport||&fPlayers &a%{slot.skywars}%/100||%{state.skywars}%" to close then run [teleport player to {lobby.skywars}]
  158.  
  159. every 1 tick:
  160.    set {slot.mainlobby} to number of players in world "world"
  161.    if {slot.mainlobby} is more than 100:
  162.        set {state.mainlobby} to "&cFull"
  163.    else:
  164.        set {state.mainlobby} to "&a&lONLINE"
  165.    set {slot.skywars} to number of players in world "skywars"
  166.    if {slot.skywars} is more than 100:
  167.        set {state.skywars} to "&cFull"
  168.    else:
  169.        set {state.skywars} to "&a&lONLINE"
  170.  
  171. #NaoPodeQuebrarNoMundoLobby
  172. on break:
  173.    if player does not have permission "lobby.admin":
  174.        cancel event
  175.      
  176. on place:
  177.    if player does not have permission "lobby.admin":
  178.        cancel event
  179.  
  180. #NaoPodeDroparNoMundoLobby        
  181. on drop:
  182.    if player is in world "world":
  183.        if player does not have permission "lobby.admin":
  184.            cancel event
  185.  
  186. on inventory click:
  187.    if player does not have permission "lobby.admin":
  188.        cancel event
  189.      
  190. #setar//os//lobbys
  191. command /setar [<text>]:
  192.     trigger:
  193.         if player has permission "lobby.admin":
  194.             if arg 1 is not set:
  195.                 send "&cSelecione um dos Lobbys para setar (Skywars, MainLobby)"
  196.                 send "&cExemplo /setar MainLobby"
  197.             if arg 1 is "mainlobby":
  198.                 set {lobby.main} to location of player
  199.                 send "&eMainlobby setado para %location of player%"
  200.             if arg 1 is "skywars":
  201.                 set {lobby.skywars} to location of player
  202.                 send "&eSkywars setado para %location of player%"
  203.         else:
  204.             send "&cVoce nao tem permissao para isso"
  205.            
  206.            
  207.            
  208. command /fake [<text>]:
  209.     trigger:
  210.         if player has permission "lobby.admin":
  211.             if arg 1 is "remove":
  212.                 set player's display name to "%player%"
  213.                 set player tab name to "%player%"
  214.                 set {fake.%player%} to false
  215.                 execute console command "/sr set %player% %player%"
  216.                 send "&aVoce saiu do Modo fake"
  217.             else:
  218.                 set {player.%player%} to player
  219.                 wait a tick
  220.                 set {fake.%player%} to true
  221.                 set {name.%player%} to arg 1
  222.                 set player tab name to "&0[&9Membro&0]&f %arg-1%"
  223.                 execute console command "/sr set %player% %arg-1%"
  224.                 send "&aVoce esta no Modo fake com o nome %arg-1%"
  225.         else:
  226.             send "&cVoce nao tem permissao para isso!"
Advertisement
Add Comment
Please, Sign In to add comment