options: #MENU WIADOMOSCI: kit_gracz: &8* &eKit Gracz &8* kit_vip: &8* &eKit VIP &8* kit_svip: &8* &eKit SVIP &8* kit_drewno: &8* &eKit DREWNO &8* kit_pcase: &8* &eKit &9&lPremiumCase &8* kit_admin: &8* &eKit ADMIN &8* kit_ec: &8* &eKit EnderChest &8* kit_pandorka: &8* &eKit Pandora &8* type_free: &8╏&f::&8╏ &eTyp: &7DARMOWE&e type_buy: &8╏&f::&8╏ &eTyp: &7PLATNE type_admin: &8╏&f::&8╏ &eTyp: &7Administracyjny click: &8╏ &e&nKliknij aby aktywowac. gracz_time_usage: &8╏&f::&8╏ &eCzas użycia: &71h vip_time_usage: &8╏&f::&8╏ &eCzas uzycia: &76h svip_time_usage: &8╏&f::&8╏ &eCzas uzycia: &76h drewno_time_usage: &8╏&f::&8╏ &eCzas użycia: &71h pcase_time_usage: &8╏&f::&8╏ &eCzas uzycia: &76h admin_time_usage: &8╏&f::&8╏ &eCzas uzycia: &79h ec_time_usage: &8╏&f::&8╏ &eCzas uzycia: &71h pandorka_time_usage: &8╏&f::&8╏ &eCzas uzycia: &71h #ITEMY: gracz_itemy: wood sword, stone pickaxe of unbreaking 2 and efficiency 2, leather cap, leather tunic, leather boots, leather pants, 10 of bread vip_itemy1: iron sword of sharpness 5, unbreaking 3, fire aspect 2, iron sword of knockback 1, iron pickaxe of efficiency 5, unbreaking 3, fortune 3, vip_itemy2: iron armor of protection 4, unbreaking 3, iron cap of protection 4, unbreaking 3, iron boots of protection 4, unbreaking 3, iron pants of protection 4, unbreaking 3, 6 of apple, vip_itemy3: 24 of Cooked Porkchop, 6 of stick, 5 of Ender Chest, diamond sword of flame 1, power 5, infinity 1 svip_itemy1: diamond sword of sharpness 5, unbreaking 3, fire aspect 2, diamond sword of knockback 1, diamond pickaxe of efficiency 5, unbreaking 3, fortune 3, diamond cap of protection 4, unbreaking 3 svip_itemy2: diamond armor of protection 4, unbreaking 3, diamond boots of protection 4, unbreaking 3, diamond pants of protection 4, unbreaking 3, iron cap of protection 4, unbreaking 3 svip_itemy3: iron armor of protection 4, unbreaking 3, iron boots of protection 4, unbreaking 3, iron pants of protection 4, unbreaking 3, iron pants of protection 4, unbreaking 3 svip_itemy4: iron pants of protection 4, unbreaking 3, iron pants of protection 4, unbreaking 3, 32 of bread, 12 of apple, diamond sword of flame 1, power 5, infinity 1, 10 of Cooked Porkchop command /zestawy: trigger: set {_gui} to chest inventory with 1 rows named "&a&lWybierz zestaw:" set slot 0 of {_gui} to chainmail cap named "{@kit_gracz}" with lore "" and "{@type_free}" and "{@gracz_time_usage}" and "" and "{@click}" set slot 1 of {_gui} to iron cap named "{@kit_vip}" with lore "" and "{@type_buy}" and "{@vip_time_usage}" and "" and "{@click}" set slot 2 of {_gui} to gold cap named "{@kit_svip}" with lore "" and "{@type_buy}" and "{@svip_time_usage}" and "" and "{@click}" set slot 3 of {_gui} to spruce log named "{@kit_drewno}" with lore "" and "{@type_free}" and "{@drewno_time_usage}" and "" and "{@click}" set slot 4 of {_gui} to chest named "{@kit_pcase}" with lore "" and "{@type_buy}" and "{@pcase_time_usage}" and "" and "{@click}" set slot 5 of {_gui} to diamond cap named "{@kit_admin}" with lore "" and "{@type_admin}" and "{@admin_time_usage}" and "" and "{@click}" set slot 6 of {_gui} to ender chest named "{@kit_ec}" with lore "" and "{@type_free}" and "{@ec_time_usage}" and "" and "{@click}" set slot 7 of {_gui} to dragon egg named "{@kit_pandorka}" with lore "" and "{@type_free}" and "{@pandorka_time_usage}" and "" and "{@click}" open {_gui} to player on inventory click: if name of event-inventory is "&a&lWybierz zestaw:": cancel event if clicked slot is 0: execute player command "axc gracz" if clicked slot is 1: execute player command "axc vip" if clicked slot is 2: execute player command "axc svip" if clicked slot is 3: execute player command "axc drewno" if clicked slot is 4: execute player command "axc premcase" if clicked slot is 5: execute player command "axc admin" if clicked slot is 6: execute player command "axc ec" if clicked slot is 7: execute player command "axc pandora" command /axc []: trigger: if arg 1 is "gracz": set {_waited} to difference between {gracz.%player%.lastused} and now if {_waited} is less than 1 hours: message "&cKit możesz odebrać za &e%difference between 1 hours and {_waited}%" stop give {@gracz_itemy} to the player wait 5 ticks send title "&8[&6&lKIT GRACZ&8]" with subtitle " &aPomyslnie odebrano kit" set {gracz.%player%.lastused} to now if arg 1 is "vip": if player has permission "zestaw.vip": set {_waited} to difference between {vip.%player%.lastused} and now if {_waited} is less than 6 hours: message "&cKit możesz odebrać za &e%difference between 6 hours and {_waited}%" stop give {@vip_itemy1} and {@vip_itemy2} and {@vip_itemy3} to the player wait 5 ticks send title "&8[&6&lKIT VIP&8]" with subtitle " &aPomyslnie, odebrano kit" set {vip.%player%.lastused} to now else: send "&cNie masz permisji &8( &6zestaw.vip &8)" if arg 1 is "svip": if player has permission "zestaw.svip": set {_waited} to difference between {svip.%player%.lastused} and now if {_waited} is less than 6 hours: message "&cKit możesz odebrać za &e%difference between 6 hours and {_waited}%" stop give {@svip_itemy1} and {@svip_itemy2} and {@svip_itemy3} and {@svip_itemy4} to the player give 10 of ender chest named "&7PremiumCase" to the player wait 5 ticks send title "&8[&6&lKIT SVIP&8]" with subtitle " &aPomyslnie, odebrano kit" set {svip.%player%.lastused} to now else: send "&cNie masz permisji &8( &6zestaw.svip &8)" if arg 1 is "drewno": set {_waited} to difference between {drewno.%player%.lastused} and now if {_waited} is less than 1 hours: message "&cKit możesz odebrać za &e%difference between 1 hours and {_waited}%" stop give 64 spruce log to the player wait 5 ticks send title "&8[&6&lKIT DREWNO&8]" with subtitle " &aPomyslnie, odebrano kit" set {drewno.%player%.lastused} to now if arg 1 is "premcase": if player has permission "zestaw.premcase": set {_waited} to difference between {premcase.%player%.lastused} and now if {_waited} is less than 6 hours: message "&cKit możesz odebrać za &e%difference between 6 hours and {_waited}%" stop execute console command "say ustaw komende na PremiumCase (linia 210)" wait 5 ticks send title "&8[&6&lKIT PREMIUMCASE&8]" with subtitle " &aPomyslnie, odebrano kit" set {premcase.%player%.lastused} to now else: send "&cNie masz permisji &8( &6zestaw.premcase &8)" if arg 1 is "admin": if player has permission "zestaw.admin": set {_waited} to difference between {admin.%player%.lastused} and now if {_waited} is less than 9 hours: message "&cKit możesz odebrać za &e%difference between 9 hours and {_waited}%" stop give diamond sword of knockback 2 to the player give diamond sword of unbreaking 3 to the player wait 5 ticks send title "&8[&6&lKIT ADMIN&8]" with subtitle " &aPomyslnie, odebrano kit" set {admin.%player%.lastused} to now else: send "&cNie masz permisji &8( &6zestaw.admin &8)" if arg 1 is "ec": set {_waited} to difference between {ec.%player%.lastused} and now if {_waited} is less than 1 hours: message "&cKit możesz odebrać za &e%difference between 1 hours and {_waited}%" stop give 10 of ender chest named "&7PremiumCase" to the player wait 5 ticks send title "&8[&6&lKIT ENDERCHEST&8]" with subtitle " &aPomyslnie, odebrano kit" set {ec.%player%.lastused} to now if arg 1 is "pandora": set {_waited} to difference between {pandora.%player%.lastused} and now if {_waited} is less than 1 hours: message "&cKit możesz odebrać za &e%difference between 1 hours and {_waited}%" stop execute console command "say ustaw komende na Pandorki (linia 210)" wait 5 ticks send title "&8[&6&lKIT PANDORKI&8]" with subtitle " &aPomyslnie, odebrano kit" set {pandora.%player%.lastused} to now