lNockl

Versão 0.7

Oct 6th, 2016
1,062
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. #rank_sistema      
  74. on join:
  75.     if player does not have permission "lobby.admin":
  76.         if player has permission "vip.tag":
  77.             set player's prefix to "&5[&bVIP&5]&f"
  78.             set player tab name to "&5[&bVIP&5]&f %player%"
  79.         else if player has permission "vip2.tag":
  80.             set player's prefix to "&b[&9VIP+&b]&f"
  81.             set player tab name to "&b[&9VIP+&b]&f %player%"          
  82.         else:
  83.             set player's prefix to "&0[&9Membro&0]&f"
  84.             set player tab name to "&0[&9Membro&0]&f %player%"
  85.     else:
  86.         set player's prefix to "&6[&eStaff&6]&f"
  87.         set player tab name to "&6[&eStaff&6]&f %player%"
  88.  
  89. #tag_sistema          
  90. command /tag [<text>]:
  91.    aliases: /tags
  92.    trigger:
  93.        if arg 1 is not set:
  94.            send "&5&e&lTags Liberadas&5"
  95.            send "&a &9Membro"
  96.            if player has permission "tag.admin":
  97.                send "&a &cAdmin"
  98.            if player has permission "tag.dono":
  99.                send "&a &bDono"
  100.            if player has permission "tag.vip":
  101.                send "&a &eVIP"
  102.            if player has permission "tag.builder":
  103.                send "&a &7Builder"
  104.          
  105.        if arg 1 is "admin":
  106.            if player has permission "tag.admin":
  107.                set player's prefix to "&4[&cAdmin&4]"
  108.                set player tab name to "&4[&cAdmin&4]&f %player%"
  109.            else:
  110.                send "&cVoce nao tem permissao para isso"
  111.              
  112.        if arg 1 is "dono":
  113.            if player has permission "tag.dono":
  114.                set player's prefix to "&5[&bDono&5]"
  115.                set player tab name to "&5[&bDono&5]&f %player%"
  116.            else:
  117.                send "&cVoce nao tem permissao para isso"
  118.              
  119.        if arg 1 is "membro":
  120.            set player's prefix to "&0[&9Membro&0]"
  121.            set player tab name to "&0[&9Membro&0]&f %player%"
  122.              
  123.        if arg 1 is "vip":
  124.            if player has permission "tag.vip":
  125.                set player's prefix to "&6[&eVIP&6]"
  126.                set player tab name to "&6[&eVIP&6]&f %player%"
  127.            else:
  128.                send "&cVoce nao tem permissao para isso"
  129.              
  130.        if arg 1 is "builder":
  131.            if player has permission "tag.builder":
  132.                set player's prefix to "&d[&7Builder&d]"
  133.                set player tab name to "&d[&7Builder&d]&f %player%"
  134.            else:
  135.                send "&cVoce nao tem permissao para isso"
  136.          
  137. #chat_sistema          
  138. on chat:
  139.     cancel event
  140.     if {fake.%player%} is true:
  141.         broadcast "&d %player's prefix% &f%{name.%player%}%: &7%message%" to the player's world
  142.     else:
  143.         broadcast "&d %player's prefix% &f%player's display name%: &7%message%" to the player's world
  144.  
  145.  
  146. #MenuSeletor
  147. on rightclick:
  148.    if player is holding a compass named "&bServidores":
  149.        open chest with 5 rows named "&d         &kiiiiiii&1&lServidores&d&kiiiii" to player
  150.        wait 1 tick
  151.        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}]
  152.        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}]
  153.  
  154. every 1 tick:
  155.    set {slot.mainlobby} to number of players in world "world"
  156.    if {slot.mainlobby} is more than 100:
  157.        set {state.mainlobby} to "&cFull"
  158.    else:
  159.        set {state.mainlobby} to "&a&lONLINE"
  160.    set {slot.skywars} to number of players in world "skywars"
  161.    if {slot.skywars} is more than 100:
  162.        set {state.skywars} to "&cFull"
  163.    else:
  164.        set {state.skywars} to "&a&lONLINE"
  165.  
  166. #NaoPodeQuebrarNoMundoLobby
  167. on break:
  168.    if player does not have permission "lobby.admin":
  169.        cancel event
  170.      
  171. on place:
  172.    if player does not have permission "lobby.admin":
  173.        cancel event
  174.  
  175. #NaoPodeDroparNoMundoLobby        
  176. on drop:
  177.    if player is in world "world":
  178.        if player does not have permission "lobby.admin":
  179.            cancel event
  180.  
  181. on inventory click:
  182.    if player does not have permission "lobby.admin":
  183.        cancel event
  184.      
  185. #setar//os//lobbys
  186. command /setar [<text>]:
  187.     trigger:
  188.         if player has permission "lobby.admin":
  189.             if arg 1 is not set:
  190.                 send "&cSelecione um dos Lobbys para setar (Skywars, MainLobby)"
  191.                 send "&cExemplo /setar MainLobby"
  192.             if arg 1 is "mainlobby":
  193.                 set {lobby.main} to location of player
  194.                 send "&eMainlobby setado para %location of player%"
  195.             if arg 1 is "skywars":
  196.                 set {lobby.skywars} to location of player
  197.                 send "&eSkywars setado para %location of player%"
  198.         else:
  199.             send "&cVoce nao tem permissao para isso"
  200.            
  201.            
  202.            
  203. command /fake [<text>]:
  204.     trigger:
  205.         if player has permission "lobby.admin":
  206.             if arg 1 is "remove":
  207.                 set player's display name to "%player%"
  208.                 set player tab name to "%player%"
  209.                 set {fake.%player%} to false
  210.                 execute console command "/sr set %player% %player%"
  211.                 send "&aVoce saiu do Modo fake"
  212.             else:
  213.                 set {player.%player%} to player
  214.                 wait a tick
  215.                 set {fake.%player%} to true
  216.                 set {name.%player%} to arg 1
  217.                 set player tab name to "&0[&9Membro&0]&f %arg-1%"
  218.                 execute console command "/sr set %player% %arg-1%"
  219.                 send "&aVoce esta no Modo fake com o nome %arg-1%"
  220.         else:
  221.             send "&cVoce nao tem permissao para isso!"
  222.            
  223.  
  224. variables:
  225.     {kills.%player%} = 0
  226.     {mortes.%player%} = 0
  227.     {colocados.%player%} = 0
  228.     {quebrados.%player%} = 0
  229.            
  230. on death of player:
  231.     if attacker is a player:
  232.         if victim is a player:
  233.             add 1 to {kills.%attacker%}
  234.             add 1 to {mortes.%victim%}
  235.            
  236. on place:
  237.     add 1 to {colocados.%player%}
  238.    
  239. on break:
  240.     add 1 to {quebrados.%player%}
  241.    
  242. command /stats [<text>] [<player>]:
  243.     trigger:
  244.         if arg 1 is "reset":
  245.             if player has permission "lobby.admin":
  246.                 if arg 2 is set:
  247.                     set {kills.%arg-2%} to 0
  248.                     set {mortes.%arg-2%} to 0
  249.                     set {colocados.%arg-2%} to 0
  250.                     set {quebrados.%arg-2%} to 0
  251.                     send "&eVoce resetou os Stats do Jogador &6%arg-2%"
  252.                 else:
  253.                     send "&cUse /stats reset <player>"
  254.             else:
  255.                 send "&cVoce nao tem permissao para isso"
  256.         if arg 1 is not set:
  257.             send "&6&m=============&e&lSTATS&6&m=============="
  258.             send "&eKills: &7%{kills.%player%}%"
  259.             send "&eMortes: &7%{mortes.%player%}%"
  260.             send "&eBlocos Colocados: &7%{colocados.%player%}%"
  261.             send "&eBlocos Quebrados: &7%{quebrados.%player%}%"
  262.             send "&6&m================================="
  263.            
  264.            
  265.            
  266. command /stats-menu:
  267.     trigger:
  268.         open chest with 4 rows named "&6Seu Perfil" to player
  269.         wait a tick
  270.         set {_n} to 0
  271.         loop 36 times:
  272.             format slot {_n} of player with blue stained glass pane named "&b" to be unstealable
  273.             add 1 to {_n}
  274.         format slot 4 of player with skull of player named "&bStats: &f%player%" to be unstealable
  275.         format slot 19 of player with diamond sword named "&eKills: &7%{kills.%player%}%" to be unstealable
  276.         format slot 21 of player with glass bottle named "&eMortes: &7%{mortes.%player%}%" to be unstealable
  277.         format slot 23 of player with cobblestone named "&eBlocos Colocados: &7%{colocados.%player%}%" to be unstealable
  278.         format slot 25 of player with cracked brick named "&eBlocos Quebrados: &7%{quebrados.%player%}%" to be unstealable
  279.  
  280. on rightclick:
  281.     if name of player's tool contains "Seu Perfil":
  282.         make player execute command "/stats-menu"
  283.        
  284. on join:
  285.     set slot 4 of player to skull of player named "&bSeu Perfil"
Advertisement
Add Comment
Please, Sign In to add comment