lNockl

FilipeNock//TeamSkyWars

Apr 7th, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on script load:
  2.     if existence of "plugins/TeamSkywars/Cages/Put-Your-Cages-Here" is false:
  3.         create file "plugins/TeamSkywars/Cages/Put-Your-Cages-Here"
  4.        
  5. on script load:
  6.     if existence of "plugins/TeamSkywars/Config.yml" is false:
  7.         delete {TeamSkywars::Config::*}
  8.         create file "plugins/TeamSkywars/Config.yml"
  9.         wait 5 seconds
  10.         #==============================Options=============================================================
  11.         if {TeamSkywars::Config::Options.WorldName} is not set:
  12.             set yaml value "Options.WorldName" from file "../../TeamSkywars/Config.yml" to "Teste"
  13.         if {TeamSkywars::Config::Options.MinPlayers} is not set:
  14.             set yaml value "Options.MinPlayers" from file "../../TeamSkywars/Config.yml" to "2"
  15.         #==============================Messages=============================================================
  16.         if {TeamSkywars::Config::Lang.NoPermission} is not set:
  17.             set yaml value "Lang.NoPermission" from file "../../TeamSkywars/Config.yml" to "&cVoce Nao tem Permissao para Isso!"
  18.         if {TeamSkywars::Config::Lang.JoinTeam} is not set:
  19.             set yaml value "Lang.JoinTeam" from file "../../TeamSkywars/Config.yml" to "&eVoce entrou no Time"
  20.         if {TeamSkywars::Config::Lang.Join} is not set:
  21.             set yaml value "Lang.Join" from file "../../TeamSkywars/Config.yml" to "Joined the Game"
  22.         if {TeamSkywars::Config::Lang.Leave} is not set:
  23.             set yaml value "Lang.Leave" from file "../../TeamSkywars/Config.yml" to "&cVoce saiu do Jogo"
  24.         if {TeamSkywars::Config::Lang.BlueTeam} is not set:
  25.             set yaml value "Lang.BlueTeam" from file "../../TeamSkywars/Config.yml" to "&9Azul"
  26.         if {TeamSkywars::Config::Lang.RedTeam} is not set:
  27.             set yaml value "Lang.RedTeam" from file "../../TeamSkywars/Config.yml" to "&4Vermelho"
  28.         if {TeamSkywars::Config::Lang.GreenTeam} is not set:
  29.             set yaml value "Lang.GreenTeam" from file "../../TeamSkywars/Config.yml" to "&2Verde"
  30.         if {TeamSkywars::Config::Lang.YellowTeam} is not set:
  31.             set yaml value "Lang.YellowTeam" from file "../../TeamSkywars/Config.yml" to "&eAmarelo"
  32.         if {TeamSkywars::Config::Lang.ArenaNotSet} is not set:
  33.             set yaml value "Lang.ArenaNotSet" from file "../../TeamSkywars/Config.yml" to "&cVerifique se a arena esta setada Corretamente!"
  34.         if {TeamSkywars::Config::Lang.StartingTitle} is not set:
  35.             set yaml value "Lang.StartingTitle" from file "../../TeamSkywars/Config.yml" to "&eIniciando em..."
  36.         if {TeamSkywars::Config::Lang.TitleSeconds} is not set:
  37.             set yaml value "Lang.TitleSeconds" from file "../../TeamSkywars/Config.yml" to "&fSegundos"
  38.         if {TeamSkywars::Config::Lang.GameStartTitle} is not set:
  39.             set yaml value "Lang.GameStartTitle" from file "../../TeamSkywars/Config.yml" to "&eSkyWars Started"
  40.         if {TeamSkywars::Config::Lang.GameStartSubTitle} is not set:
  41.             set yaml value "Lang.GameStartSubTitle" from file "../../TeamSkywars/Config.yml" to "&fMapa: FilipeNockSkript"
  42.         if {TeamSkywars::Config::Lang.GameStartMessage1} is not set:
  43.             set yaml value "Lang.GameStartMessage1" from file "../../TeamSkywars/Config.yml" to "&a-------------------------------------------------"
  44.         if {TeamSkywars::Config::Lang.GameStartMessage2} is not set:
  45.             set yaml value "Lang.GameStartMessage2" from file "../../TeamSkywars/Config.yml" to "&9TeamSkyWars Started! &6GoodLuck..!"
  46.         if {TeamSkywars::Config::Lang.GameStartMessage3} is not set:
  47.             set yaml value "Lang.GameStartMessage3" from file "../../TeamSkywars/Config.yml" to "&a-------------------------------------------------"
  48.         if {TeamSkywars::Config::Lang.StartingMessage20} is not set:
  49.             set yaml value "Lang.StartingMessage 20 Seconds" from file "../../TeamSkywars/Config.yml" to "&9TeamSkyWars Iniciando em &f&l20 &9Segundos!"
  50.         if {TeamSkywars::Config::Lang.StartingMessage15} is not set:
  51.             set yaml value "Lang.StartingMessage 15 Seconds" from file "../../TeamSkywars/Config.yml" to "&9TeamSkyWars Iniciando em &f&l15 &9Segundos!"
  52.         if {TeamSkywars::Config::Lang.StartingMessage10} is not set:
  53.             set yaml value "Lang.StartingMessage 10 Seconds" from file "../../TeamSkywars/Config.yml" to "&9TeamSkyWars Iniciando em &f&l10 &9Segundos!"
  54.         if {TeamSkywars::Config::Lang.StartingMessage5} is not set:
  55.             set yaml value "Lang.StartingMessage 5 Seconds" from file "../../TeamSkywars/Config.yml" to "&9TeamSkyWars Iniciando em &f&l5 &9Segundos!"
  56.         if {TeamSkywars::Config::Lang.StartingMessage4} is not set:
  57.             set yaml value "Lang.StartingMessage 4 Seconds" from file "../../TeamSkywars/Config.yml" to "&9TeamSkyWars Iniciando em &f&l4 &9Segundos!"
  58.         if {TeamSkywars::Config::Lang.StartingMessage3} is not set:
  59.             set yaml value "Lang.StartingMessage 3 Seconds" from file "../../TeamSkywars/Config.yml" to "&9TeamSkyWars Iniciando em &f&l3 &9Segundos!"
  60.         if {TeamSkywars::Config::Lang.StartingMessage2} is not set:
  61.             set yaml value "Lang.StartingMessage 2 Seconds" from file "../../TeamSkywars/Config.yml" to "&9TeamSkyWars Iniciando em &f&l2 &9Segundos!"
  62.         if {TeamSkywars::Config::Lang.StartingMessage1} is not set:
  63.             set yaml value "Lang.StartingMessage 1 Seconds" from file "../../TeamSkywars/Config.yml" to "&9TeamSkyWars Iniciando em &f&l1 &9Segundos!"
  64.         if {TeamSkywars::Config::Lang.JoinedElse} is not set:
  65.             set yaml value "Lang.JoinedElse" from file "../.. /TeamSkywars/Config.yml" to "&c"
  66.     #Options
  67.     set {TeamSkywars::Config::Options.WorldName} to yaml value "Options.WorldName" from file "../../TeamSkywars/Config.yml"
  68.     set {TeamSkywars::Config::Options.MinPlayers} to yaml value "Options.MinPlayers" from file "../../TeamSkywars/Config.yml"
  69.     #Messages
  70.     set {TeamSkywars::Config::Lang.JoinTeam} to yaml value "Lang.JoinTeam" from file "../../TeamSkywars/Config.yml"
  71.     set {TeamSkywars::Config::Lang.Leave} to yaml value "Lang.Leave" from file "../../TeamSkywars/Config.yml"
  72.     set {TeamSkywars::Config::Lang.Join} to yaml value "Lang.Join" from file "../../TeamSkywars/Config.yml"
  73.     set {TeamSkywars::Config::Lang.BlueTeam} to yaml value "Lang.BlueTeam" from file "../../TeamSkywars/Config.yml"
  74.     set {TeamSkywars::Config::Lang.RedTeam} to yaml value "Lang.RedTeam" from file "../../TeamSkywars/Config.yml"
  75.     set {TeamSkywars::Config::Lang.GreenTeam} to yaml value "Lang.GreenTeam" from file "../../TeamSkywars/Config.yml"
  76.     set {TeamSkywars::Config::Lang.YellowTeam} to yaml value "Lang.YellowTeam" from file "../../TeamSkywars/Config.yml"
  77.     set {TeamSkywars::Config::Lang.ArenaNotSet} to yaml value "Lang.ArenaNotSet" from file "../../TeamSkywars/Config.yml"
  78.     set {TeamSkywars::Config::Lang.NoPermission} to yaml value "Lang.NoPermission" from file "../../TeamSkywars/Config.yml"
  79.     set {TeamSkywars::Config::Lang.StartingTitle} to yaml value "Lang.StartingTitle" from file "../../TeamSkywars/Config.yml"
  80.     set {TeamSkywars::Config::Lang.TitleSeconds} to yaml value "Lang.TitleSeconds" from file "../../TeamSkywars/Config.yml"
  81.     set {TeamSkywars::Config::Lang.GameStartTitle} to yaml value "Lang.GameStartTitle" from file "../../TeamSkywars/Config.yml"
  82.     set {TeamSkywars::Config::Lang.GameStartSubTitle} to yaml value "Lang.GameStartSubTitle" from file "../../TeamSkywars/Config.yml"
  83.     set {TeamSkywars::Config::Lang.GameStartMessage1} to yaml value "Lang.GameStartMessage1" from file "../../TeamSkywars/Config.yml"
  84.     set {TeamSkywars::Config::Lang.GameStartMessage2} to yaml value "Lang.GameStartMessage2" from file "../../TeamSkywars/Config.yml"
  85.     set {TeamSkywars::Config::Lang.GameStartMessage3} to yaml value "Lang.GameStartMessage3" from file "../../TeamSkywars/Config.yml"
  86.     set {TeamSkywars::Config::Lang.StartingMessage20} to yaml value "Lang.StartingMessage 20 Seconds" from file "../../TeamSkywars/Config.yml"
  87.     set {TeamSkywars::Config::Lang.StartingMessage15} to yaml value "Lang.StartingMessage 15 Seconds" from file "../../TeamSkywars/Config.yml"
  88.     set {TeamSkywars::Config::Lang.StartingMessage10} to yaml value "Lang.StartingMessage 10 Seconds" from file "../../TeamSkywars/Config.yml"
  89.     set {TeamSkywars::Config::Lang.StartingMessage5} to yaml value "Lang.StartingMessage 5 Seconds" from file "../../TeamSkywars/Config.yml"
  90.     set {TeamSkywars::Config::Lang.StartingMessage4} to yaml value "Lang.StartingMessage 4 Seconds" from file "../../TeamSkywars/Config.yml"
  91.     set {TeamSkywars::Config::Lang.StartingMessage3} to yaml value "Lang.StartingMessage 3 Seconds" from file "../../TeamSkywars/Config.yml"
  92.     set {TeamSkywars::Config::Lang.StartingMessage2} to yaml value "Lang.StartingMessage 2 Seconds" from file "../../TeamSkywars/Config.yml"
  93.     set {TeamSkywars::Config::Lang.StartingMessage1} to yaml value "Lang.StartingMessage 1 Seconds" from file "../../TeamSkywars/Config.yml"
  94.     set {TeamSkywars::Config::Lang.JoinedElse} to yaml value "Lang.JoinedElse" from file "../../TeamSkywars/Config.yml"
  95.    
  96. Variables:
  97.     {player.count.teste} = 0
  98.     {team.green} = 0
  99.     {team.red} = 0
  100.     {team.blue} = 0
  101.     {team.yellow} = 0
  102.     {arena.%player%.kills} = 0
  103.    
  104. command /tsw-check:
  105.     trigger:
  106.         if {playing.%player%.arena} is true:
  107.             if {arena.alive} = 1:
  108.                 loop {alive::*}:
  109.                     send "%loop-index% win the game"
  110.                     teleport player to {tsw.spect}
  111.    
  112. command /leave:
  113.     trigger:
  114.         if {playing.%player%.lobby} or {playing.%player%.arena} is true:
  115.             remove 1 from {player.count.teste}
  116.             teleport player to {tsw.mainlobby}
  117.             set {playing.%player%.lobby} to false
  118.             send "%colored {TeamSkywars::Config::Lang.Leave}%"
  119.             display board named "" to player
  120.             set player's tab list name to "&f%player%"
  121.             set {playing.%player%.spec} to false
  122.             set player's gamemode to survival
  123.             heal the player
  124.             set hunger of player to 20
  125.             clear player's inventory
  126.             remove the player from {team.red.arena::*}
  127.             remove the player from {team.blue.arena::*}
  128.             remove the player from {team.yellow.arena::*}
  129.             remove the player from {team.green.arena::*}
  130.             if player is in {team.red.arena::*}:
  131.                 remove 1 from {team.red}
  132.                 if player is in {team.blue.arena::*}:
  133.                     remove 1 from {team.blue}
  134.                     if player is in {team.yellow.arena::*}:
  135.                         remove 1 from {team.yellow}
  136.                         if player is in {team.green.arena::*}:
  137.                             remove 1 from {team.green}
  138.         else:
  139.             send "%colored {TeamSkywars::Config::Lang.JoinedElse}%"
  140.  
  141. command /tsw [<text>]:
  142.     trigger:
  143.         if player has permission "tsw.use":
  144.             if arg 1 is "join":
  145.                 if {tsw.lobby} is set:
  146.                     add 1 to {player.count.teste}
  147.                     add 1 to {arena.alive}
  148.                     add player to {alive::*}
  149.                     set {playing.%player%.lobby} to true
  150.                     teleport player to {tsw.lobby}
  151.                     broadcast "&e%player% %colored {TeamSkywars::Config::Lang.Join}% &7(%{player.count.teste}%/12) "
  152.                     set name of sidebar of player to "&e&lTeamSkyWars"
  153.                     set score "&1" in sidebar of player to 8
  154.                     set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  155.                     set score "&2" in sidebar of player to 6
  156.                     set score "&fWaiting..." in sidebar of player to 5
  157.                     set score "&3" in sidebar of player to 4
  158.                     set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  159.                     set score "&4" in sidebar of player to 2
  160.                     set score "&ewww.youserver.net" in sidebar of player to 1
  161.                     clear player's inventory
  162.                     set player's gamemode to adventure
  163.                     heal the player
  164.                     set hunger of player to 20
  165.                     set slot 0 of player to bow named "&eKits"
  166.                     set slot 1 of player to paper named "&bTeams"
  167.                     set slot 8 of player to bed named "&cLeave"
  168.                     if {player.count.teste} is equal to 2:
  169.                         make all players execute command "/tsw ybaidmstau"
  170.                         if {team.red.arena::*} is equal to 3:
  171.                             make player execute command "/team blue"
  172.                             if {team.blue.arena::*} is equal to 3:
  173.                                 make player execute command "/team green"
  174.                                 if {team.green.arena::*} is equal to 3:
  175.                                     make player execute command "/team yellow"
  176.                 else:
  177.                     send "%colored {TeamSkywars::Config::Lang.JoinedElse}%"
  178.        
  179.             if arg 1 is not set:
  180.                 make player execute command "/tsw help"
  181.             if arg 1 is "help":
  182.                 send "&9===============&8[&bArenaCommands&8]&9==============="                 
  183.                 send "&e/tsw join "
  184.                 send "&e/team &9[Team] &7=>&9Blue, &4Red, &eYellow, &2Green"
  185.                 send "&e/leave"
  186.         if player has permission "tsw.use":
  187.             if arg 1 is "ybaidmstau":
  188.                 if {tsw.lobby} is set:
  189.                     if {playing.%player%.lobby} is true:
  190.                         set {team.blue} to 0
  191.                         set {team.red} to 0
  192.                         set {team.green} to 0
  193.                         set {team.yellow} to 0
  194.                         heal player
  195.                         set hunger of player to 20
  196.                         display board named "" to player
  197.                         send player title "%colored {TeamSkywars::Config::Lang.StartingTitle}%" with subtitle "&f20 %colored {TeamSkywars::Config::Lang.TitleSeconds}%" for 5 seconds
  198.                         send "%colored {TeamSkywars::Config::Lang.StartingMessage20}%"
  199.                         play raw sound "random.click" at player with pitch 1 volume 0.3
  200.                         set name of sidebar of player to "&e&lTeamSkyWars"
  201.                         set score "&1" in sidebar of player to 8
  202.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  203.                         set score "&2" in sidebar of player to 6
  204.                         set score "&fStarting in &a20s" in sidebar of player to 5
  205.                         set score "&3" in sidebar of player to 4
  206.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  207.                         set score "&4" in sidebar of player to 2
  208.                         set score "&ewww.youserver.net" in sidebar of player to 1
  209.                         wait 5 seconds
  210.                         display board named "" to player
  211.                         send player title "%colored {TeamSkywars::Config::Lang.StartingTitle}%" with subtitle "&f15 %colored {TeamSkywars::Config::Lang.TitleSeconds}%" for 5 seconds
  212.                         send "%colored {TeamSkywars::Config::Lang.StartingMessage15}%"
  213.                         play raw sound "random.click" at player with pitch 1 volume 0.3
  214.                         set name of sidebar of player to "&e&lTeamSkyWars"
  215.                         set score "&1" in sidebar of player to 8
  216.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  217.                         set score "&2" in sidebar of player to 6
  218.                         set score "&fStarting in &a15s" in sidebar of player to 5
  219.                         set score "&3" in sidebar of player to 4
  220.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  221.                         set score "&4" in sidebar of player to 2
  222.                         set score "&ewww.youserver.net" in sidebar of player to 1
  223.                         wait 5 seconds
  224.                         display board named "" to player
  225.                         send player title "%colored {TeamSkywars::Config::Lang.StartingTitle}%" with subtitle "&f10 %colored {TeamSkywars::Config::Lang.TitleSeconds}%" for 5 seconds
  226.                         send "%colored {TeamSkywars::Config::Lang.StartingMessage10}%"
  227.                         play raw sound "random.click" at player with pitch 1 volume 0.3
  228.                         set name of sidebar of player to "&e&lTeamSkyWars"
  229.                         set score "&1" in sidebar of player to 8
  230.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  231.                         set score "&2" in sidebar of player to 6
  232.                         set score "&fStarting in &a10s" in sidebar of player to 5
  233.                         set score "&3" in sidebar of player to 4
  234.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  235.                         set score "&4" in sidebar of player to 2
  236.                         set score "&ewww.youserver.net" in sidebar of player to 1
  237.                         wait 5 seconds
  238.                         display board named "" to player
  239.                         send player title "%colored {TeamSkywars::Config::Lang.StartingTitle}%" with subtitle "&f5 %colored {TeamSkywars::Config::Lang.TitleSeconds}%" for 1 seconds
  240.                         send "%colored {TeamSkywars::Config::Lang.StartingMessage5}%"
  241.                         play raw sound "random.click" at player with pitch 1 volume 0.3
  242.                         set name of sidebar of player to "&e&lTeamSkyWars"
  243.                         set score "&1" in sidebar of player to 8
  244.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  245.                         set score "&2" in sidebar of player to 6
  246.                         set score "&fStarting in &a5s" in sidebar of player to 5
  247.                         set score "&3" in sidebar of player to 4
  248.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  249.                         set score "&4" in sidebar of player to 2
  250.                         set score "&ewww.youserver.net" in sidebar of player to 1
  251.                         wait 1 second
  252.                         display board named "" to player
  253.                         send player title "%colored {TeamSkywars::Config::Lang.StartingTitle}%" with subtitle "&f4 %colored {TeamSkywars::Config::Lang.TitleSeconds}%" for 1 seconds
  254.                         send "%colored {TeamSkywars::Config::Lang.StartingMessage4}%"
  255.                         play raw sound "random.click" at player with pitch 1 volume 0.3
  256.                         set name of sidebar of player to "&e&lTeamSkyWars"
  257.                         set score "&1" in sidebar of player to 8
  258.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  259.                         set score "&2" in sidebar of player to 6
  260.                         set score "&fStarting in &a4s" in sidebar of player to 5
  261.                         set score "&3" in sidebar of player to 4
  262.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  263.                         set score "&4" in sidebar of player to 2
  264.                         set score "&ewww.youserver.net" in sidebar of player to 1
  265.                         wait 1 second
  266.                         display board named "" to player
  267.                         send player title "%colored {TeamSkywars::Config::Lang.StartingTitle}%" with subtitle "&f3 %colored {TeamSkywars::Config::Lang.TitleSeconds}%" for 1 seconds
  268.                         send "%colored {TeamSkywars::Config::Lang.StartingMessage3}%"
  269.                         play raw sound "random.click" at player with pitch 1 volume 0.3
  270.                         set name of sidebar of player to "&e&lTeamSkyWars"
  271.                         set score "&1" in sidebar of player to 8
  272.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  273.                         set score "&2" in sidebar of player to 6
  274.                         set score "&fStarting in &a3s" in sidebar of player to 5
  275.                         set score "&3" in sidebar of player to 4
  276.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  277.                         set score "&4" in sidebar of player to 2
  278.                         set score "&ewww.youserver.net" in sidebar of player to 1
  279.                         wait 1 second
  280.                         display board named "" to player
  281.                         send player title "%colored {TeamSkywars::Config::Lang.StartingTitle}%" with subtitle "&f2 %colored {TeamSkywars::Config::Lang.TitleSeconds}%" for 1 seconds
  282.                         send "%colored {TeamSkywars::Config::Lang.StartingMessage2}%"
  283.                         play raw sound "random.click" at player with pitch 1 volume 0.3
  284.                         set name of sidebar of player to "&e&lTeamSkyWars"
  285.                         set score "&1" in sidebar of player to 8
  286.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  287.                         set score "&2" in sidebar of player to 6
  288.                         set score "&fStarting in &a2s" in sidebar of player to 5
  289.                         set score "&3" in sidebar of player to 4
  290.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  291.                         set score "&4" in sidebar of player to 2
  292.                         set score "&ewww.youserver.net" in sidebar of player to 1
  293.                         wait 1 second
  294.                         display board named "" to player
  295.                         send player title "%colored {TeamSkywars::Config::Lang.StartingTitle}%" with subtitle "&f1 %colored {TeamSkywars::Config::Lang.TitleSeconds}%" for 1 seconds
  296.                         send "%colored {TeamSkywars::Config::Lang.StartingMessage1}%"
  297.                         play raw sound "random.click" at player with pitch 1 volume 0.3    
  298.                         set name of sidebar of player to "&e&lTeamSkyWars"
  299.                         set score "&1" in sidebar of player to 8
  300.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  301.                         set score "&2" in sidebar of player to 6
  302.                         set score "&fStarting in &a1s" in sidebar of player to 5
  303.                         set score "&3" in sidebar of player to 4
  304.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  305.                         set score "&4" in sidebar of player to 2
  306.                         set score "&ewww.youserver.net" in sidebar of player to 1
  307.                         wait 1 second
  308.                         set {_session} to new edit session in player's world with limit -1
  309.                         paste schem "plugins/TeamSkyWars/Cages/cage-red" at {loc.red} using {_session} ignoring air
  310.                         paste schem "plugins/TeamSkyWars/Cages/cage-blue" at {loc.blue} using {_session} ignoring air
  311.                         paste schem "plugins/TeamSkyWars/Cages/cage-yellow" at {loc.yellow} using {_session} ignoring air
  312.                         paste schem "plugins/TeamSkyWars/Cages/cage-green" at {loc.green} using {_session} ignoring air
  313.                         teleport {team.red.arena::*} to {tsw.red.spawn}
  314.                         teleport {team.blue.arena::*} to {tsw.blue.spawn}
  315.                         teleport {team.yellow.arena::*} to {tsw.yellow.spawn}
  316.                         teleport {tteam.green.arena::*} to {tsw.green.spawn}
  317.                         set player's gamemode to adventure
  318.                         set slot 1 of player to air
  319.                         send "&cAguardando...15"
  320.                         display board named "" to player
  321.                         set name of sidebar of player to "&e&lTeamSkyWars"
  322.                         set score "&1" in sidebar of player to 8
  323.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  324.                         set score "&2" in sidebar of player to 6
  325.                         set score "&cPre-Game &a15s" in sidebar of player to 5
  326.                         set score "&3" in sidebar of player to 4
  327.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  328.                         set score "&4" in sidebar of player to 2
  329.                         set score "&ewww.youserver.net" in sidebar of player to 1
  330.                         wait 5 seconds
  331.                         send "&cAguardando...10"
  332.                         display board named "" to player
  333.                         set name of sidebar of player to "&e&lTeamSkyWars"
  334.                         set score "&1" in sidebar of player to 8
  335.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  336.                         set score "&2" in sidebar of player to 6
  337.                         set score "&cPre-Game &a10s" in sidebar of player to 5
  338.                         set score "&3" in sidebar of player to 4
  339.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  340.                         set score "&4" in sidebar of player to 2
  341.                         set score "&ewww.youserver.net" in sidebar of player to 1
  342.                         wait 5 seconds
  343.                         send "&cAguardando...5"
  344.                         display board named "" to player
  345.                         set name of sidebar of player to "&e&lTeamSkyWars"
  346.                         set score "&1" in sidebar of player to 8
  347.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  348.                         set score "&2" in sidebar of player to 6
  349.                         set score "&cPre-Game &a5s" in sidebar of player to 5
  350.                         set score "&3" in sidebar of player to 4
  351.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  352.                         set score "&4" in sidebar of player to 2
  353.                         set score "&ewww.youserver.net" in sidebar of player to 1
  354.                         wait 1 seconds
  355.                         display board named "" to player
  356.                         send "&cAguardando...4"
  357.                         set name of sidebar of player to "&e&lTeamSkyWars"
  358.                         set score "&1" in sidebar of player to 8
  359.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  360.                         set score "&2" in sidebar of player to 6
  361.                         set score "&cPre-Game &a4s" in sidebar of player to 5
  362.                         set score "&3" in sidebar of player to 4
  363.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  364.                         set score "&4" in sidebar of player to 2
  365.                         set score "&ewww.youserver.net" in sidebar of player to 1
  366.                         wait 1 seconds
  367.                         send "&cAguardando...3"
  368.                         display board named "" to player
  369.                         set name of sidebar of player to "&e&lTeamSkyWars"
  370.                         set score "&1" in sidebar of player to 8
  371.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  372.                         set score "&2" in sidebar of player to 6
  373.                         set score "&cPre-Game &a3s" in sidebar of player to 5
  374.                         set score "&3" in sidebar of player to 4
  375.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  376.                         set score "&4" in sidebar of player to 2
  377.                         set score "&ewww.youserver.net" in sidebar of player to 1
  378.                         wait 1 seconds
  379.                         send "&cAguardando...2"
  380.                         display board named "" to player
  381.                         set name of sidebar of player to "&e&lTeamSkyWars"
  382.                         set score "&1" in sidebar of player to 8
  383.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  384.                         set score "&2" in sidebar of player to 6
  385.                         set score "&cPre-Game &a2s" in sidebar of player to 5
  386.                         set score "&3" in sidebar of player to 4
  387.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  388.                         set score "&4" in sidebar of player to 2
  389.                         set score "&ewww.youserver.net" in sidebar of player to 1
  390.                         wait 1 seconds
  391.                         display board named "" to player
  392.                         set name of sidebar of player to "&e&lTeamSkyWars"
  393.                         set score "&1" in sidebar of player to 8
  394.                         set score "&fPlayers: &a%{player.count.teste}%/12" in sidebar of player to 7
  395.                         set score "&2" in sidebar of player to 6
  396.                         set score "&cPre-Game &a1s" in sidebar of player to 5
  397.                         set score "&3" in sidebar of player to 4
  398.                         set score "&fMap: &a%colored {TeamSkywars::Config::Options.WorldName}%" in sidebar of player to 3
  399.                         set score "&4" in sidebar of player to 2
  400.                         set score "&ewww.youserver.net" in sidebar of player to 1
  401.                         send "&cAguardando...1"
  402.                         undo changes of {_session}
  403.                         clear player's inventory
  404.                         set {playing.%player%.arena} to true
  405.                         set {playing.%player%.lobby} to false
  406.                         execute console command "/chestrefill"
  407.                         display board named "" to player
  408.                         play raw sound "random.levelup" at player with pitch 1 volume 0.3      
  409.                         send player title "%colored {TeamSkywars::Config::Lang.GameStartTitle}%" with subtitle "%colored {TeamSkywars::Config::Lang.GameStartSubTitle}%" for 2 seconds
  410.                         display board named "" to player
  411.                         send "%colored {TeamSkywars::Config::Lang.GameStartMessage1}%"
  412.                         send ""
  413.                         send "%colored {TeamSkywars::Config::Lang.GameStartMessage2}%"
  414.                         send ""
  415.                         send "%colored {TeamSkywars::Config::Lang.GameStartMessage3}%"
  416.                         wait 2 ticks
  417.                         make player execute command "/timerstart 1"
  418.                         wait 20 ticks
  419.                         heal player
  420.                         set hunger of player to 20
  421.                         set player's gamemode to survival
  422.                         wait 1 minutes
  423.                         make player execute command "/timerstop"
  424.                         execute console command "/chestrefill"
  425.                         play raw sound "random.chestopen" at player with pitch 1 volume 0.3
  426.                         send player title "" with subtitle "&eAll Chests has been Refilled" for 3 seconds
  427.                         play raw sound "random.chestopen" at player with pitch 1 volume 0.3
  428.                         send player title "" with subtitle "&eAll Chests has been Refilled" for 3 seconds
  429.                         wait 3 ticks
  430.                         make player execute command "/timerstart 2"
  431.                         wait 2 minutes
  432.                         make player execute command "/timerstop"
  433.                         execute console command "/chestrefill"
  434.                         play raw sound "random.chestopen" at player with pitch 1 volume 0.3
  435.                         send player title "" with subtitle "&eAll Chests has been Refilled" for 3 seconds
  436.                         play raw sound "random.chestopen" at player with pitch 1 volume 0.3
  437.                         send player title "" with subtitle "&eAll Chests has been Refilled" for 3 seconds
  438.                         if {playing.%player%.arena} is true:
  439.                             if {player.count.teste} = 0:
  440.                                 wait 1 second
  441.                                 set {playing.%player%.arena} to false
  442.                        
  443.                     else:
  444.                         send "%colored {TeamSkywars::Config::Lang.JoinedElse}%"
  445.                 else:
  446.                     send "%colored {TeamSkywars::Config::Lang.ArenaNotSet}%"
  447.                        
  448. command /tswsetup [<text>] [<text>]:
  449.     trigger:
  450.         if player has permission "tsw.admin":
  451.             if arg 1 is not set:
  452.                 send "&e/tswsetup create"
  453.                 send "&e/tswsetup setmainlobby"
  454.                 send "&e/tswsetup setspawn &4(blue)&c(red)&2(green)&6(yellow)"
  455.                 send "&e/tswsetup setlobby"
  456.                 send "&e/tswsetup setspec"
  457.                 send "&e/tswsetup delarena"
  458.             if arg 1 is "create":
  459.                 set slot 0 of player to stick named "&c&L>>&e&lArenaCreator&c&l<<"
  460.                 set slot 2 of player to REDSTONE named "&c&L>>&e&lFinishCreation&c&l<<"
  461.                 set {wand.chest} to true
  462.             if arg 1 is "setmainlobby":
  463.                 set {tsw.mainlobby} to location of player
  464.                 send "&8[&bTeamSkyWars&8] &9MainLobby &eSuccesFull Set."
  465.             if arg 1 is "setspawn":
  466.                 if arg 2 is "blue":
  467.                     set {tsw.blue.spawn} to location of player
  468.                     set {loc.blue} to location of player
  469.                     send "&8[&bTeamSkyWars&8] &eSpawn &9%arg 2% &eSet to Arena."
  470.                 if arg 2 is "red":
  471.                     set {tsw.red.spawn} to location of player
  472.                     set {loc.red} to location of player
  473.                     send "&8[&bTeamSkyWars&8] &eSpawn &4%arg 2% &eSet to Arena."
  474.                 if arg 2 is "yellow":
  475.                     set {tsw.yellow.spawn} to location of player
  476.                     set {loc.yellow} to location of player
  477.                     send "&8[&bTeamSkyWars&8] &eSpawn &6%arg 2% &eSet to Arena."
  478.                 if arg 2 is "green":
  479.                     set {tsw.green.spawn} to location of player
  480.                     set {loc.green} to location of player
  481.                     send "&8[&bTeamSkyWars&8] &eSpawn &2%arg 2% &eSet to Arena."
  482.             if arg 1 is "setlobby":
  483.                 set {tsw.lobby} to location of player
  484.                 send "&8[&bTeamSkyWars&8] &eLobby SuccesFull Set to Arena"
  485.             if arg 1 is "setspec":
  486.                 set {tsw.spect} to location of player
  487.                 send "&8[&bTeamSkyWars&8] &eSpectator SuccesFull Set to Arena"
  488.             if arg 1 is "delarena":
  489.                 delete {tsw.lobby}
  490.                 delete {tsw.spect}
  491.                 delete {tsw.mainlobby}
  492.                 delete {tsw.yellow.spawn}
  493.                 delete {tsw.red.spawn}
  494.                 delete {tsw.green.spawn}
  495.                 delete {tsw.blue.spawn}
  496.                 delete {loc.green}
  497.                 delete {loc.red}
  498.                 delete {loc.blue}
  499.                 delete {loc.yellow}
  500.                 send "&eRemoving Spawns.."
  501.                 wait 1 second
  502.                 send "&eRemoving Variables.."
  503.                 wait 1 second
  504.                 send "&eAll Locations and Spawns loaded and removed successful"
  505.         else:
  506.             send "%colored {TeamSkywars::Config::Lang.NoPermission}%"
  507.            
  508.            
  509. command /forcestart:
  510.     trigger:
  511.         if {playing.%player%.lobby} is true:
  512.             make all players execute command "/tsw ybaidmstau"
  513.         else:
  514.             send "%colored {TeamSkywars::Config::Lang.JoinedElse}%"        
  515.        
  516.            
  517. #Teams===================================================================
  518. command /team [<text>]:
  519.     trigger:
  520.         if {playing.%player%.lobby} is true:
  521.             if argument 1 is "blue":
  522.                 send "%colored {TeamSkywars::Config::Lang.JoinTeam}% %colored {TeamSkywars::Config::Lang.BlueTeam}%"
  523.                 set {team1.%player%} to 1
  524.                 add player to {team.blue.arena::*}
  525.                 add 1 to {team.blue}
  526.                 set player's tab list name to "&9%player%"
  527.                 set display name of player to "&9%player%"
  528.             if argument 1 is "red":
  529.                 send "%colored {TeamSkywars::Config::Lang.JoinTeam}% %colored {TeamSkywars::Config::Lang.RedTeam}%"
  530.                 set {team2.%player%} to 2
  531.                 add 1 to {team.red}
  532.                 add player to {team.red.arena::*}
  533.                 set player's tab list name to "&4%player%"
  534.                 set display name of player to "&4%player%"
  535.             if argument 1 is "yellow":
  536.                 send "%colored {TeamSkywars::Config::Lang.JoinTeam}% %colored {TeamSkywars::Config::Lang.YellowTeam}%"
  537.                 set {team3.%player%} to 3
  538.                 add 1 to {team.yellow}
  539.                 add player to {team.yellow.arena::*}
  540.                 set player's tab list name to "&e%player%"
  541.                 set display name of player to "&6%player%"
  542.             if argument 1 is "green":
  543.                 send "%colored {TeamSkywars::Config::Lang.JoinTeam}% %colored {TeamSkywars::Config::Lang.GreenTeam}%"
  544.                 set {team4.%player%} to 4
  545.                 add 1 to {team.green}
  546.                 add player to {team.green.arena::*}
  547.                 set player's tab list name to "&2%player%"
  548.                 set display name of player to "&2%player%"
  549.             if arg 1 is not set:
  550.                 open chest with 1 rows named "&bTeams" to player
  551.                 wait 2 ticks
  552.                 format slot 0 of player with wool:11 named "&eTeam &9Blue" with lore "&7Click to select Team" to close then run [make player execute command "/team blue"]
  553.                 format slot 1 of player with wool:14 named "&eTeam &4Red" with lore "&7Click to select Team" to close then run [make player execute command "/team red"]
  554.                 format slot 2 of player with wool:4 named "&eTeam &6Yellow" with lore "&7Click to select Team" to close then run [make player execute command "/team yellow"]
  555.                 format slot 3 of player with wool:5 named "&eTeam &2Green" with lore "&7Click to select Team" to close then run [make player execute command "/team green"]
  556.         else:  
  557.             send "%colored {TeamSkywars::Config::Lang.JoinedElse}%"
  558.             set player's tab list name to "&f%player%"
  559.            
  560. command /swkit:
  561.     trigger:
  562.         open chest with 5 rows named "&eKits" to player
  563.    
  564. on rightclick with bed:
  565.     if {playing.%player%.lobby} is true:
  566.         make player execute "/leave"
  567.     else:
  568.         cancel event
  569.    
  570. on rightclick with paper:
  571.     if {playing.%player%.lobby} is true:
  572.         make player execute "/team"
  573.     else:
  574.         cancel event
  575.        
  576. on rightclick with bow:
  577.     if {playing.%player%.lobby} is true:
  578.         make player execute "/swkit"
  579.     else:
  580.         cancel event
  581.        
  582. on break:
  583.     if {playing.%player%.lobby} is true:
  584.         cancel event
  585.        
  586. on place:
  587.     if {playing.%player%.lobby} is true:
  588.         cancel event
  589.        
  590. on break:
  591.     if {playing.%player%.spec} is true:
  592.         cancel event
  593.        
  594. on place:
  595.     if {playing.%player%.spec} is true:
  596.         cancel event
  597.        
  598. on drop:       
  599.     if {playing.%player%.spec} is true:
  600.         cancel event       
  601.        
  602. on inventory click:    
  603.     if {playing.%player%.spec} is true:
  604.         cancel event
  605.  
  606. on drop:       
  607.     if {playing.%player%.lobby} is true:
  608.         cancel event       
  609.        
  610. on damage:
  611.     damage cause is void:
  612.         if {playing.%victim%.arena} is true:
  613.             teleport victim to {tsw.spect}
  614.             clear victim's inventory
  615.             set {playing.%victim%.spec} to true
  616.             set gamemode of victim to spectator
  617.             add 100 to victim's balance
  618.             send "&6+100 Coins for participation" to victim
  619.             send "&cYou Died!" to victim
  620.             send victim title "&cYou Died" with subtitle "&fYou are Curently Spectator" for 4 seconds
  621.             broadcast "&7%victim% &ehas killed by void!"
  622.             set slot 4 of victim to bed named "&eLeave"
  623.             remove 1 from {arena.alive}
  624.             remove player from {arena.player.alive::*}
  625.             if victim is in {team.blue.arena::*}:
  626.                 remove 1 from {team.blue}
  627.                 if victim is in {team.red.arena::*}:
  628.                     remove 1 from {team.red}
  629.                     if victim is in {team.yellow.arena::*}:
  630.                         remove 1 from {team.yellow}
  631.                         if victim is in {team.green.arena::*}:
  632.                             remove 1 from {team.green}
  633.         else:
  634.             send ""
  635.        
  636. on damage of player:
  637.     if {playing.%victim%.arena} is true:
  638.         damage is more than victim's health
  639.         cancel event
  640.         heal victim
  641.         teleport victim to {tsw.spect}
  642.         add 1 to attacker's balance
  643.         send "&6+1 Coins" to attacker
  644.         send "&cYou Died!" to victim
  645.         send victim title "&cYou Died" with subtitle "&fYou are Curently Spectator" for 4 seconds
  646.         add 1 to {arena.%attacker%.kills}
  647.         remove 1 from {arena.alive}
  648.         remove victim from {arena.player.alive::*}
  649.         broadcast "&7%victim% &ehas killed by &7%attacker%!"
  650.     else:
  651.         send ""
  652.  
  653. on damage:     
  654.     damage cause is fall:  
  655.         if {playing.%victim%.lobby} is true:
  656.             cancel event
  657.            
  658. on damage:
  659.     if {team1.%attacker%} is 1:
  660.         if {team.%victim%} is 1:
  661.             cancel event
  662.     if {team2.%attacker%} is 2:
  663.         if {team.%victim%} is 2:
  664.             cancel event           
  665.     if {team3.%attacker%} is 3:
  666.         if {team.%victim%} is 3:
  667.             cancel event
  668.     if {team4.%attacker%} is 3:
  669.         if {team.%victim%} is 2:
  670.             cancel event   
  671.            
  672. on break:
  673.     if "%World of player%" is "%{TeamSkywars::Config::Options.WorldName}%":
  674.         {playing.%player%.arena} is true:
  675.             {tsw.game.ignore.locations::%location of event-block%} is not set
  676.             add location of block to {tsw.game.broken.blocks::*}
  677.             add type of block to {tsw.game.broken.type::*}
  678.             set {tsw.game.ignore.locations::%location of event-block%} to true
  679.        
  680. on place:
  681.     if "%World of player%" is "%{TeamSkywars::Config::Options.WorldName}%":
  682.         {playing.%player%.arena} is true:
  683.             {tsw.games.ignore.locations:%location of event-block%} is not set
  684.             add location of block to {tsw.games.place.blocks::*}
  685.             add type of block to {tsw.games.place.type::*}
  686.             set {tsw.games.ignore.locations::%location of event-block%} to true
  687.            
  688. on chat:
  689.     cancel event
  690.     loop all players:
  691.         if player is {team.blue.arena::*}:
  692.             send "&9[Azul] &7%player%&7: &e%message%" to loop-player
  693.         else:
  694.             cancel event
  695.            
  696. on chat:
  697.     cancel event
  698.     loop all players:
  699.         if player is {team.red.arena::*}:
  700.             send "&c[Red] &7%player%&7: &e%message%" to loop-player
  701.         else:
  702.             cancel event
  703.            
  704. on chat:
  705.     cancel event
  706.     loop all players:
  707.         if player is {team.yellow.arena::*}:
  708.             send "&e[Yellow] &7%player%&7: &e%message%" to loop-player
  709.         else:
  710.             cancel event
  711.  
  712. on chat:
  713.     cancel event
  714.     loop all players:
  715.         if player is {team.green.arena::*}:
  716.             send "&2[Green] &7%player%&7: &e%message%" to loop-player
  717.         else:
  718.             cancel event
  719.    
  720. command /tswregen:
  721.     executable by: console
  722.     trigger:
  723.         loop {tsw.game.broken.blocks::*}:
  724.             set {_loc} to loop-value
  725.             set block at {_loc} to {tsw.game.broken.type::%loop-index%}
  726.         delete {tsw.game.broken.blocks::*}
  727.         delete {tsw.game.broken.type::*}
  728.         delete {tsw.game.ignore.locations::*}
  729.  
  730. command /tswregen1:
  731.     executable by: console
  732.     trigger:
  733.         loop {tsw.games.place.blocks::*}:
  734.             set {_loc} to loop-value
  735.             set block at {_loc} to air
  736.         delete {tsw.games.place.blocks::*}
  737.         delete {tsw.games.place.type::*}
  738.         delete {tsw.games.ignore.locations::*}
  739.            
  740. command /chest wand:
  741.     trigger:
  742.         set slot 0 of player to blaze rod named "&c&L>>&e&lAdd Chest&c&l<<"
  743.         set {wand.chest} to true
  744.  
  745. command /tswwand:
  746.     trigger:
  747.         set slot 0 of player to iron axe named "&bTeamSkyWars &eWand"      
  748.    
  749. on leftclick:
  750.     if tool of player is blaze rod named "&c&L>>&e&lAdd Chest&c&l<<":
  751.         if {wand.chest} is true:
  752.             add target block to {tsw.refill.chests::*}
  753.             send "&c>>>>>>>>>>>>>>>>>>&e&LChestAdded&c<<<<<<<<<<<<<<<<<<<<"
  754.        
  755. on rightclick with blaze rod:
  756.     if {wand.chest} is true:
  757.         send "&6Stopped ChestAdd type /chest wand for add more Chests!"
  758.         set {wand.chest} to false
  759.         set slot 0 of player to air
  760.        
  761. on rightclick:
  762.     if tool of player is iron axe named "&bTeamSkyWars &eWand":
  763.         set {tsw.loc1} to location of player
  764.         send "&eLoc 1 SuccesFull set to %location of player%"
  765.        
  766. on click:
  767.     if tool of player is iron axe named "&bTeamSkyWars &eWand":
  768.         set {tsw.loc2} to location of player
  769.         send "&eLoc 2 SuccesFull set to %location of player%"
  770.    
  771. on break:
  772.     if {wand.chest} is true:
  773.         cancel event
  774.         send "          &7RightClick for Finish Chest Add"
  775.        
  776. on script load:
  777.     send "&8[&bTeamSkyWars&8] &ePlugin Developeed by FilipeNock!" to console
  778.     send "&8[&bTeamSkyWars&8] &8www.youtube.com/filipenock!" to console
  779.     send "&8[&bTeamSkyWars&8] &eStarting Plugin....." to console
  780.     send "&8[&bTeamSkyWars&8] &eFiles has been Created!" to console
  781.    
  782. #=============================EnderPearlCountdowns================================
  783.    
  784. on rightclick with ender pearl:
  785.     if {ec.%player%} is true:
  786.         send "&cwait %{ec.time.%player%}% seconds for use enderpearl"
  787.         set name of tool to "&c%{ec.time.%player%}% restantes"
  788.         cancel event
  789.         stop
  790.     else:
  791.         set {ec.time.%player%} to 59 seconds
  792.         set {ec.%player%} to true
  793.         wait 16 seconds
  794.         set {ec.%player%} to false
  795.         send "&eVoce Ja pode usar enderpearl Novamente."
  796.        
  797. every 1 second:
  798.     loop all players:
  799.         if {ec.%loop-player%} is true:
  800.             subtract 1 second from {ec.time.%loop-player%}
  801.        
  802. #====================================ChestReffil=========================================
  803.            
  804. command /chestrefill:
  805.     executable by: console
  806.     trigger:
  807.         loop {tsw.refill.chests::*}:    
  808.             if block at loop-value is not a chest:
  809.                 remove loop-value from {tsw.refill.chests::*}
  810.             else:
  811.                 set block at loop-value to air
  812.                 clear all entities
  813.                 set block at loop-value to chest
  814.                 chance of 80%:
  815.                     chance of 20%:
  816.                         add 1 diamond sword to slot 25 of block at loop-value
  817.                     chance of 50%:
  818.                         add 1 leather helmet to slot 25 of block at loop-value
  819.                     chance of 5%:
  820.                         add 1 diamond helmet to slot 25 of block at loop-value
  821.                     chance of 25%:
  822.                         add 1 gold helmet to slot 25 of block at loop-value
  823.                 chance of 80%:
  824.                     chance of 20%:
  825.                         add 1 iron boots to slot 12 of block at loop-value
  826.                     chance of 50%:
  827.                         add 1 leather boots to slot 12 of block at loop-value
  828.                     chance of 5%:
  829.                         add 1 diamond boots to slot 12 of block at loop-value
  830.                     chance of 25%:
  831.                         add 1 gold boots to slot 12 of block at loop-value
  832.                 chance of 80%:
  833.                     chance of 20%:
  834.                         add 1 iron chestplate to slot 13 of block at loop-value
  835.                     chance of 25%:
  836.                         add 1 gold chestplate to slot 13 of block at loop-value
  837.                     chance of 50%:
  838.                         add 1 leather chestplate to slot 13 of block at loop-value
  839.                     chance of 5%:
  840.                         add 1 diamond chestplate to slot 13 of block at loop-value
  841.                 chance of 80%:
  842.                     chance of 40%:
  843.                         add 1 wood sword to slot 11 of block at loop-value
  844.                     chance of 20%:
  845.                         add 1 gold sword to slot 11 of block at loop-value
  846.                     chance of 5%:
  847.                         add 1 diamond sword to slot 11 of block at loop-value
  848.                     chance of 20%:
  849.                         add 1 stone sword to slot 11 of block at loop-value
  850.                     chance of 15%:
  851.                         add 1 iron sword to slot 11 of block at loop-value
  852.                 chance of 90%:
  853.                     chance of 10%:
  854.                         add 42 oak wood to slot 7 of block at loop-value
  855.                     chance of 10%:
  856.                         add 36 oak wood to slot 7 of block at loop-value
  857.                     chance of 10%:
  858.                         add 31 oak wood to slot 7 of block at loop-value
  859.                     chance of 10%:
  860.                         add 46 oak wood to slot 7 of block at loop-value
  861.                     chance of 10%:
  862.                         add 61 oak wood to slot 7 of block at loop-value
  863.                     chance of 10%:
  864.                         add 30 oak wood to slot 7 of block at loop-value
  865.                     chance of 10%:
  866.                         add 37 oak wood to slot 7 of block at loop-value
  867.                     chance of 10%:
  868.                         add 43 oak wood to slot 7 of block at loop-value
  869.                     chance of 10%:
  870.                         add 32 oak wood to slot 7 of block at loop-value
  871.                     chance of 10%:
  872.                         add 29 oak wood to slot 7 of block at loop-value
  873.                 chance of 80%:
  874.                     chance of 20%:
  875.                         add 1 iron leggings to slot 9 of block at loop-value
  876.                     chance of 50%:
  877.                         add 1 leather leggings to slot 9 of block at loop-value
  878.                     chance of 5%:
  879.                         add 1 diamond leggings to slot 9 of block at loop-value
  880.                     chance of 25%:
  881.                         add 1 gold leggings to slot 9 of block at loop-value
  882.                 chance of 80%:
  883.                     chance of 10%:
  884.                         add 23 steak to slot 16 of block at loop-value
  885.                     chance of 10%:
  886.                         add 12 steak to slot 16 of block at loop-value
  887.                     chance of 10%:
  888.                         add 5 steak to slot 16 of block at loop-value
  889.                     chance of 10%:
  890.                         add 8 steak to slot 16 of block at loop-value
  891.                     chance of 10%:
  892.                         add 43 steak to slot 16 of block at loop-value
  893.                     chance of 10%:
  894.                         add 45 steak to slot 16 of block at loop-value
  895.                     chance of 10%:
  896.                         add 21 steak to slot 16 of block at loop-value
  897.                     chance of 10%:
  898.                         add 62 steak to slot 16 of block at loop-value
  899.                     chance of 10%:
  900.                         add 13 steak to slot 16 of block at loop-value
  901.                     chance of 10%:
  902.                         add 41 steak to slot 16 of block at loop-value
  903.                 chance of 70%:
  904.                     chance of 10%:
  905.                         add 3 snowball to slot 5 of block at loop-value
  906.                     chance of 10%:
  907.                         add 5 snowball to slot 5 of block at loop-value
  908.                     chance of 10%:
  909.                         add 12 snowball to slot 5 of block at loop-value
  910.                     chance of 10%:
  911.                         add 16 snowball to slot 5 of block at loop-value
  912.                     chance of 10%:
  913.                         add 8 snowball to slot 5 of block at loop-value
  914.                     chance of 10%:
  915.                         add 6 snowball to slot 5 of block at loop-value
  916.                     chance of 10%:
  917.                         add 4 snowball to slot 5 of block at loop-value
  918.                     chance of 10%:
  919.                         add 14 snowball to slot 5 of block at loop-value
  920.                     chance of 10%:
  921.                         add 15 snowball to slot 5 of block at loop-value
  922.                     chance of 10%:
  923.                         add 26 snowball to slot 5 of block at loop-value
  924.                 chance of 50%:
  925.                     chance of 10%:
  926.                         add 3 egg to slot 5 of block at loop-value
  927.                     chance of 10%:
  928.                         add 5 egg to slot 5 of block at loop-value
  929.                     chance of 10%:
  930.                         add 12 egg to slot 5 of block at loop-value
  931.                     chance of 10%:
  932.                         add 16 egg to slot 5 of block at loop-value
  933.                     chance of 10%:
  934.                         add 8 egg to slot 5 of block at loop-value
  935.                     chance of 10%:
  936.                         add 6 egg to slot 5 of block at loop-value
  937.                     chance of 10%:
  938.                         add 4 egg to slot 5 of block at loop-value
  939.                     chance of 10%:
  940.                         add 14 egg to slot 5 of block at loop-value
  941.                     chance of 10%:
  942.                         add 15 egg to slot 5 of block at loop-value
  943.                     chance of 10%:
  944.                         add 26 egg to slot 5 of block at loop-value
  945.                 chance of 35%:
  946.                     add 1 golden apple to slot 2 of block at loop-value
  947.                 chance of 80%:
  948.                     chance of 10%:
  949.                         add 26 arrow to slot 5 of block at loop-value
  950.                     chance of 10%:
  951.                         add 7 arrow to slot 5 of block at loop-value
  952.                     chance of 10%:
  953.                         add 18 arrow to slot 5 of block at loop-value
  954.                     chance of 10%:
  955.                         add 43 arrow to slot 5 of block at loop-value
  956.                     chance of 10%:
  957.                         add 63 arrow to slot 5 of block at loop-value
  958.                     chance of 10%:
  959.                         add 4 arrow to slot 5 of block at loop-value
  960.                     chance of 10%:
  961.                         add 1 arrow to slot 5 of block at loop-value
  962.                     chance of 10%:
  963.                         add 24 arrow to slot 5 of block at loop-value
  964.                     chance of 10%:
  965.                         add 46 arrow to slot 5 of block at loop-value
  966.                     chance of 10%:
  967.                         add 36 arrow to slot 5 of block at loop-value
Advertisement
Add Comment
Please, Sign In to add comment