variables: {czass.kit.gracz::%player%} = 5 {czas.kit.vip::%player%} = 720 {czas.kit.svip::%player%} = 720 command /kit []: trigger: if player has permission "kit.vip": set {VIP::%player%} to "&a&lTAK" else: set {VIP::%player%} to "&c&lNIE" if player has permission "kit.svip": set {SVIP::%player%} to "&a&lTAK" else: set {SPONSOR::%player%} to "&c&lNIE" if player has permission "kit.admin": set {czas.kit.gracz::%player%} to 0 set {czas.kit.vip::%player%} to 0 set {czas.kit.svip::%player%} to 0 set {czas.kit.sponsor::%player%} to 0 close player's inventory open chest with 1 rows named "&a&lZestawy" to player loop 9 times: set player's current inventory's slot loop-number -1 to 160:15 named "&c" with lore "&8|&f::&8| &eTo pole jest puste ||&8|&f::&8| &eAby odebrac kit wybierz inne pole!" if {czas.kit.gracz::%player%} is greater than 0: set player's current inventory's slot 1 to chainmail Helmet named "&8* &eKit Gracz &8*" with lore "||&8|&f::&8| &eTyp: &7Darmowe&e.||&8|&f::&8| &eDostęp do zestawu: &a&lTAK ||&8|&f::&8| &eCzas uzycia: &75min&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &6&l%{czas.kit.gracz::%player%}% &esekund. || ||&8| &e&nKliknij aby aktywowac." else: set player's current inventory's slot to chainmail Helmet named "&8* &eKit Gracz &8*" with lore "||&8|&f::&8| &eTyp: &7Darmowe&e.||&8|&f::&8| &eDostęp do zestawu: &a&lTAK ||&8|&f::&8| &eCzas uzycia: &75 min&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &a&lTeraz&e. || ||&8| &e&nKliknij aby aktywowac." if {czas.kit.vip::%player%} is greater than 0: set player's current inventory's slot 4 to iron Helmet named "&8* &6&lKit VIP &8*" with lore "||&8|&f::&8| &eTyp: &7DARMOWE&e.||&8|&f::&8| &eDostęp do zestawu: %{VIP::%player%}% ||&8|&f::&8| &eCzas uzycia: &74h&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &6&l%{czas.kit.vip::%player%}% &eminut. ||&8|&f::&8| &cRange zakupisz na ElzoHC.PL ||&8| &e&nKliknij aby aktywowac." else: set player's current inventory's slot 1 to iron Helmet named "&8* &6&lKit VIP &8*" with lore "||&8|&f::&8| &eTyp: &7PLATNE&e.||&8|&f::&8| &eDostęp do zestawu: %{VIP::%player%}% ||&8|&f::&8| &eCzas uzycia: &74h&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &a&lTERAZ&e. ||&8|&f::&8| &cRange zakupisz na ElzoHC.PL || ||&8| &e&nKliknij aby aktywowac." if {czas.kit.svip::%player%} is greater than 0: set player's current inventory's slot 8 to golden Helmet named "&8* &5&lKit SVIP &8*" with lore "||&8|&f::&8| &eTyp: &7PLATNE&e.||&8|&f::&8| &eDostęp do zestawu: %{SVIP::%player%}% ||&8|&f::&8| &eCzas uzycia: &76h&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &6&l%{czas.kit.svip::%player%}% &eminut. ||&8|&f::&8| &cRange zakupisz na ElzoHC.PL || ||&8| &e&nKliknij aby aktywowac." else: set player's current inventory's slot 8 to golden Helmet named "&8* &5&lKit SVIP &8*" with lore "||&8|&f::&8| &eTyp: &7PLATNE&e.||&8|&f::&8| &eDostęp do zestawu: %{SVIP::%player%}% ||&8|&f::&8| &eCzas uzycia: &76h&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &a&lTERAZ&e. ||&8|&f::&8| &cRange zakupisz na ElzoHC.PL || ||&8| &e&nKliknij aby aktywowac." on command: if command is "kits" or "zestawy" or "zestaw" or "kity": cancel event execute player command "kit" on inventory click: if "%inventory name of player's current inventory%" is "&a&lZestawy": cancel event if "%clicked slot%" is "0": open chest with 6 rows named "&e&lKit Start" to player set player's current inventory's slot 1 to iron pickaxe of efficiency 3 and unbreaking 2 and fortune 2 set player's current inventory's slot 2 to 3 diamond set player's current inventory's slot 3 to 64 cooked beef set player's current inventory's slot 52 to light green wool named "&a&lODBIERZ" with lore "&8|&f::&8| &eKliknij, aby odebrac kit" set player's current inventory's slot 53 to red wool named "&c&l&nWROC" with lore "&8|&f::&8| &eKliknij, aby wrocic do menu glownego" if "%clicked slot%" is "1": open chest with 6 rows named "&6&lKit VIP" to player set player's current inventory's slot 0 to diamond sword of sharpness 5 and fire aspect 2 set player's current inventory's slot 1 to diamond sword of knockback 1 set player's current inventory's slot 2 to diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 set player's current inventory's slot 3 to 2 golden apple:1 set player's current inventory's slot 4 to 6 golden apple:0 set player's current inventory's slot 5 to diamond helmet of protection 4 and unbreaking 3 set player's current inventory's slot 6 to diamond chestplate of protection 4 and unbreaking 3 set player's current inventory's slot 7 to diamond leggings of protection 4 and unbreaking 3 set player's current inventory's slot 8 to diamond boots of protection 4 and unbreaking 3 set player's current inventory's slot 52 to light green wool named "&a&lODBIERZ" with lore "&8|&f::&8| &eKliknij, aby odebrac kit" set player's current inventory's slot 53 to red wool named "&c&l&nWROC" with lore "&8|&f::&8| &eKliknij, aby wrocic do menu glownego" if "%clicked slot%" is "2": open chest with 6 rows named "&5&lKit SVIP" to player set player's current inventory's slot 0 to diamond sword of sharpness 5 and fire aspect 2 set player's current inventory's slot 1 to diamond sword of knockback 1 set player's current inventory's slot 2 to diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 set player's current inventory's slot 3 to 3 golden apple:1 set player's current inventory's slot 4 to 8 golden apple:0 set player's current inventory's slot 5 to diamond helmet of protection 4 and unbreaking 3 set player's current inventory's slot 6 to diamond chestplate of protection 4 and unbreaking 3 set player's current inventory's slot 7 to diamond leggings of protection 4 and unbreaking 3 set player's current inventory's slot 8 to diamond boots of protection 4 and unbreaking 3 set player's current inventory's slot 9 to diamond helmet of protection 4 and unbreaking 3 set player's current inventory's slot 10 to diamond chestplate of protection 4 and unbreaking 3 set player's current inventory's slot 11 to diamond leggings of protection 4 and unbreaking 3 set player's current inventory's slot 12 to diamond boots of protection 4 and unbreaking 3 set player's current inventory's slot 9 to bow of power 5 and flame 1 and infinity 1 set player's current inventory's slot 10 to arrow set player's current inventory's slot 52 to light green wool named "&a&lODBIERZ" with lore "&8|&f::&8| &eKliknij, aby odebrac kit" set player's current inventory's slot 53 to red wool named "&c&l&nWROC" with lore "&8|&f::&8| &eKliknij, aby wrocic do menu glownego" if "%clicked slot%" is "3": open chest with 6 rows named "&1&lKit SPONSOR" to player set player's current inventory's slot 0 to diamond sword of sharpness 6 and fire aspect 3 set player's current inventory's slot 1 to diamond sword of knockback 3 set player's current inventory's slot 2 to bow of power 5 and punch 3 and infinity 1 set player's current inventory's slot 52 to light green wool named "&a&lODBIERZ" with lore "&8|&f::&8| &eKliknij, aby odebrac kit" set player's current inventory's slot 53 to red wool named "&c&l&nWROC" with lore "&8|&f::&8| &eKliknij, aby wrocic do menu glownego" if "%inventory name of player's current inventory%" is "&e&lKit Start": cancel event if "%clicked slot%" is "52": if {czas.kit.gracz::%player%} is less than 1: add player to {gracz.lista::*} set {czas.kit.gracz::%player%} to 30 send player title "&a&nGratulacje" with subtitle "&7Odebrano kit &e&nGracz" give player 1 iron pickaxe of efficiency 5 and unbreaking 2 and fortune 2 named "&e&nKit Gracz" give player 1 diamond give player 1 steak close player's inventory else: close player's inventory send player title "&c&nBlad!" with subtitle "&7Ten kit mozesz odebrac dopiero za: &6&n%{czas.kit.gracz::%player%}% sekund" if "%clicked slot%" is "53": execute player command "/kit" if "%inventory name of player's current inventory%" is "&6&lKit VIP": cancel event if "%clicked slot%" is "52": if player has permission "kit.vip": if {czas.kit.vip::%player%} is less than 1: add player to {vip.lista::*} set {czas.kit.vip::%player%} to 240 send player title "&a&nGratulacje" with subtitle "&7Odebrano kit &6&nVIP" give player 1 diamond sword of sharpness 5 and fire aspect 2 give player 1 diamond sword of knockback 1 give player 1 diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 give player 2 golden apple:1 give player 6 golden apple:0 give player 1 diamond helmet of protection 4 and unbreaking 3 give player 1 diamond chestplate of protection 4 and unbreaking 3 give player 1 diamond leggings of protection 4 and unbreaking 3 give player 1 diamond boots of protection 4 and unbreaking 3 close player's inventory else: send player title "&c&nBlad!" with subtitle "&7Ten kit mozesz odebrac dopiero za: &6&n%{czas.kit.vip::%player%}% minut" close player's inventory else: send player title "&c&nBlad!" with subtitle "&7Nie masz permissi, aby odebrac ten kit!" send "" send " &7Range &6&l&nVIP &7 zakupisz na stronie: &e&nElzoHC.PL" send "" close player's inventory if "%clicked slot%" is "53": execute player command "/kit" if "%inventory name of player's current inventory%" is "&5&lKit SVIP": cancel event if "%clicked slot%" is "52": if player has permission "kit.svip": if {czas.kit.svip::%player%} is less than 1: add player to {svip.lista::*} set {czas.kit.svip::%player%} to 360 send player title "&a&nGratulacje" with subtitle "&7Odebrano kit &5&nSVIP" give player 1 diamond sword of sharpness 5 and fire aspect 2 give player 1 diamond sword of knockback 1 give player 1 diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 give player 3 golden apple:1 give player 8 golden apple:0 give player 1 diamond helmet of protection 4 and unbreaking 3 give player 1 diamond chestplate of protection 4 and unbreaking 3 give player 1 diamond leggings of protection 4 and unbreaking 3 give player 1 diamond boots of protection 4 and unbreaking 3 give player 1 diamond helmet of protection 4 and unbreaking 3 give player 1 diamond chestplate of protection 4 and unbreaking 3 give player 1 diamond leggings of protection 4 and unbreaking 3 give player 1 diamond boots of protection 4 and unbreaking 3 give player 1 bow of power 5 and flame 1 and infinity 1 give player 1 arrow close player's inventory else: send player title "&c&nBlad!" with subtitle "&7Ten kit mozesz odebrac dopiero za: &6&n%{czas.kit.svip::%player%}% minut" close player's inventory else: send player title "&c&nBlad!" with subtitle "&7Nie masz permissi, aby odebrac ten kit!" send "" send " &7Range &6&l&nSVIP &7 zakupisz na stronie: &e&nElzoHC.PL" send "" close player's inventory if "%clicked slot%" is "53": execute player command "/kit" if "%inventory name of player's current inventory%" is "&1&lKit SPONSOR": cancel event if "%clicked slot%" is "52": if player has permission "kit.sponsor": if {czas.kit.sponsor::%player%} is less than 1: set {czas.kit.sponsor::%player%} to 720 add player to {sponsor.lista::*} send player title "&a&nGratulacje" with subtitle "&7Odebrano kit &1&nSPONSOR" give player 1 diamond sword of sharpness 6 and fire aspect 3 give player 1 diamond sword of knockback 3 give player 1 bow of power 5 and punch 3 and infinity 1 close player's inventory else: send player title "&c&nBlad!" with subtitle "&7Ten kit mozesz odebrac dopiero za: &6&n%{czas.kit.sponsor::%player%}% minut" close player's inventory else: send player title "&c&nBlad!" with subtitle "&7Nie masz permissi, aby odebrac ten kit!" send "" send " &7Range &1&lSPONSOR &7 zakupisz na stronie: &e&nElzoHC.PL" send "" close player's inventory if "%clicked slot%" is "53": execute player command "/kit" every 1 seconds: loop {gracz.lista::*}: remove 1 from {czas.kit.gracz::%loop-value%} if {czas.kit.gracz::%loop-value%} is less than 1: remove loop-value from {gracz.lista::*} if "%inventory name of loop-value's current inventory%" is "&a&lZestawy": if {czas.kit.gracz::%loop-value%} is greater than 0: set loop-value's current inventory's slot 0 to chainmail Helmet named "&8* &eKit Start &8*" with lore "||&8|&f::&8| &eTyp: &7DARMOWE&e.||&8|&f::&8| &eDostęp do zestawu: &a&lTAK ||&8|&f::&8| &eCzas uzycia: &730 sek&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &6&l%{czas.kit.gracz::%loop-value%}%&e sekund. || ||&8| &e&nKliknij aby aktywowac." else: set loop-value's current inventory's slot 0 to chainmail Helmet named "&8* &eKit Start &8*" with lore "||&8|&f::&8| &eTyp: &7DARMOWE&e.||&8|&f::&8| &eDostęp do zestawu: &a&lTAK ||&8|&f::&8| &eCzas uzycia: &730 sek&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &a<ERAZ. || ||&8| &e&nKliknij aby aktywowac." every 1 minutes: loop {vip.lista::*}: remove 1 from {czas.kit.vip::%loop-value%} if {czas.kit.vip::%loop-value%} is less than 1: remove loop-value from {vip.lista::*} if "%inventory name of loop-value's current inventory%" is "&a&lZestawy": if {czas.kit.vip::%loop-value%} is greater than 0: set loop-value's current inventory's slot 1 to iron Helmet named "&8* &6&lKit VIP &8*" with lore "||&8|&f::&8| &eTyp: &7DARMOWE&e.||&8|&f::&8| &eDostęp do zestawu: %{VIP::%loop-value%}% ||&8|&f::&8| &eCzas uzycia: &74h&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &6&l%{czas.kit.vip::%loop-value%}%&e minut. ||&8|&f::&8| &cRange zakupisz na ElzoHC.PL || ||&8| &e&nKliknij aby aktywowac." else: set loop-value's current inventory's slot 1 to iron Helmet named "&8* &6&lKit VIP &8*" with lore "||&8|&f::&8| &eTyp: &7DARMOWE&e.||&8|&f::&8| &eDostęp do zestawu: %{VIP::%loop-value%}% ||&8|&f::&8| &eCzas uzycia: &74h&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &a&lTERAZ. ||&8|&f::&8| &cRange zakupisz na ElzoHC.PL || ||&8| &e&nKliknij aby aktywowac." loop {svip.lista::*}: remove 1 from {czas.kit.svip::%loop-value%} if {czas.kit.svip::%loop-value%} is less than 1: remove loop-value from {svip.lista::*} if "%inventory name of loop-value's current inventory%" is "&a&lZestawy": if {czas.kit.svip::%loop-value%} is greater than 0: set loop-value's current inventory's slot 2 to golden Helmet named "&8* &5&lKit SVIP &8*" with lore "||&8|&f::&8| &eTyp: &7PLATNE&e.||&8|&f::&8| &eDostęp do zestawu: %{SVIP::%loop-value%}% ||&8|&f::&8| &eCzas uzycia: &76h&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &6&l%{czas.kit.svip::%loop-value%}%&e minut. ||&8|&f::&8| &cRange zakupisz na ElzoHC.PL || ||&8| &e&nKliknij aby aktywowac." else: set loop-value's current inventory's slot 2 to golden Helmet named "&8* &5&lKit SVIP &8*" with lore "||&8|&f::&8| &eTyp: &7PLATNE&e.||&8|&f::&8| &eDostęp do zestawu: %{SVIP::%loop-value%}% ||&8|&f::&8| &eCzas uzycia: &76h&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &a&lTERAZ. ||&8|&f::&8| &cRange zakupisz na ElzoHC.PL || ||&8| &e&nKliknij aby aktywowac." loop {sponsor.lista::*}: remove 1 from {czas.kit.sponsor::%loop-value%} if {czas.kit.sponsor::%loop-value%} is less than 1: remove loop-value from {sponsor.lista::*} if "%inventory name of loop-value's current inventory%" is "&a&lZestawy": if {czas.kit.sponsor::%loop-value%} is greater than 0: set loop-value's current inventory's slot 3 to diamond Helmet named "&8* &1&lKit SPONSOR &8*" with lore "||&8|&f::&8| &eTyp: &7PLATNE&e.||&8|&f::&8| &eDostęp do zestawu: %{SPONSOR::%loop-value%}% ||&8|&f::&8| &eCzas uzycia: &712h&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &6&l%{czas.kit.sponsor::%loop-value%}%&e minut. ||&8|&f::&8| &cRange zakupisz na ElzoHC.PL || ||&8| &e&nKliknij aby aktywowac." else: set loop-value's current inventory's slot 3 to diamond Helmet named "&8* &1&lKit SPONSOR &8*" with lore "||&8|&f::&8| &eTyp: &7PLATNE&e.||&8|&f::&8| &eDostęp do zestawu: %{SPONSOR::%loop-value%}% ||&8|&f::&8| &eCzas uzycia: &712h&e.||&8|&f::&8| &eZestaw mozesz odebrac za: &a&lTERAZ. ||&8|&f::&8| &cRange zakupisz na ElzoHC.PL || ||&8| &e&nKliknij aby aktywowac."