#KOD: #Tutaj sobie ustaw itemy na gildie options: item1: diamond item2: emerald item3: gold ingot item4: iron ingot item5: coal item6: book item7: ender pearl item8: obsidian item9: tnt item1ilosc: 64 item2ilosc: 64 item3ilosc: 64 item4ilosc: 64 item5ilosc: 64 item6ilosc: 64 item7ilosc: 64 item8ilosc: 64 item9ilosc: 64 item1iloscvip: 32 item2iloscvip: 32 item3iloscvip: 32 item4iloscvip: 32 item5iloscvip: 32 item6iloscvip: 32 item7iloscvip: 32 item8iloscvip: 32 item9iloscvip: 32 item1nazwa: &2Diament item2nazwa: &2Szmaragd item3nazwa: &2Zloto item4nazwa: &2Zelazo item5nazwa: &2Wegiel item6nazwa: &2Ksiazka item7nazwa: &2Perla item8nazwa: &2Obsydian item9nazwa: &2Tnt guiname: &8[&2Itemy na gildie&8] permisjagracz: itemy.gracz permisjavip: itemy.vip command /itemy: trigger: if player has permission "{@permisjagracz}": open chest with 3 rows named "{@guiname} &eGracz" to player wait 2 tick format slot 0 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 1 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 2 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 3 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 4 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 5 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 6 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 7 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 8 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 18 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 19 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 20 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 21 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 22 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 23 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 24 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 25 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 26 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 9 of player with {@item1} named "{@item1nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item1} in player's enderchest%/64 &7Inventory: &e%amount of {@item1} in player's inventory%/64" to run [execute player command "itemy"] format slot 10 of player with {@item2} named "{@item2nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item2} in player's enderchest%/64 &7Inventory: &e%amount of {@item2} in player's inventory%/64" to run [execute player command "itemy"] format slot 11 of player with {@item3} named "{@item3nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item3} in player's enderchest%/64 &7Inventory: &e%amount of {@item3} in player's inventory%/64" to run [execute player command "itemy"] format slot 12 of player with {@item4} named "{@item4nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item4} in player's enderchest%/64 &7Inventory: &e%amount of {@item4} in player's inventory%/64" to run [execute player command "itemy"] format slot 13 of player with {@item5} named "{@item5nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item5} in player's enderchest%/64 &7Inventory: &e%amount of {@item5} in player's inventory%/64" to run [execute player command "itemy"] format slot 14 of player with {@item6} named "{@item6nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item6} in player's enderchest%/64 &7Inventory: &e%amount of {@item6} in player's inventory%/64" to run [execute player command "itemy"] format slot 15 of player with {@item7} named "{@item7nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item7} in player's enderchest%/64 &7Inventory: &e%amount of {@item7} in player's inventory%/64" to run [execute player command "itemy"] format slot 16 of player with {@item8} named "{@item8nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item8} in player's enderchest%/64 &7Inventory: &e%amount of {@item8} in player's inventory%/64" to run [execute player command "itemy"] format slot 17 of player with {@item9} named "{@item9nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item9} in player's enderchest%/64 &7Inventory: &e%amount of {@item9} in player's inventory%/64" to run [execute player command "itemy"] if player has {@item1ilosc} {@item1}: format slot 0 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 18 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item2ilosc} {@item2}: format slot 1 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 19 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item3ilosc} {@item3}: format slot 2 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 20 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item4ilosc} {@item4}: format slot 3 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 21 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item5ilosc} {@item5}: format slot 4 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 22 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item6ilosc} {@item6}: format slot 5 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 23 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item7ilosc} {@item7}: format slot 6 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 24 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item8ilosc} {@item8}: format slot 7 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 25 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item9ilosc} {@item9}: format slot 8 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 26 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has permission "{@permisjavip}": open chest with 3 rows named "{@guiname} &eGracz" to player wait 2 tick format slot 0 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 1 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 2 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 3 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 4 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 5 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 6 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 7 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 8 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 18 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 19 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 20 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 21 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 22 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 23 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 24 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 25 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 26 of player with RED GLASS named "&CNIE POSIADASZ TEGO ITEMU" to run [execute player command "itemy"] format slot 9 of player with {@item1} named "{@item1nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item1} in player's enderchest%/32 &7Inventory: &e%amount of {@item1} in player's inventory%/32" to run [execute player command "itemy"] format slot 10 of player with {@item2} named "{@item2nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item2} in player's enderchest%/32 &7Inventory: &e%amount of {@item2} in player's inventory%/32" to run [execute player command "itemy"] format slot 11 of player with {@item3} named "{@item3nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item3} in player's enderchest%/32 &7Inventory: &e%amount of {@item3} in player's inventory%/32" to run [execute player command "itemy"] format slot 12 of player with {@item4} named "{@item4nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item4} in player's enderchest%/32 &7Inventory: &e%amount of {@item4} in player's inventory%/32" to run [execute player command "itemy"] format slot 13 of player with {@item5} named "{@item5nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item5} in player's enderchest%/32 &7Inventory: &e%amount of {@item5} in player's inventory%/32" to run [execute player command "itemy"] format slot 14 of player with {@item6} named "{@item6nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item6} in player's enderchest%/32 &7Inventory: &e%amount of {@item6} in player's inventory%/32" to run [execute player command "itemy"] format slot 15 of player with {@item7} named "{@item7nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item7} in player's enderchest%/32 &7Inventory: &e%amount of {@item7} in player's inventory%/32" to run [execute player command "itemy"] format slot 16 of player with {@item8} named "{@item8nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item8} in player's enderchest%/32 &7Inventory: &e%amount of {@item8} in player's inventory%/32" to run [execute player command "itemy"] format slot 17 of player with {@item9} named "{@item9nazwa}" with lore "&8» &7Posiadasz: &7Enderchest: &e%amount of {@item9} in player's enderchest%/32 &7Inventory: &e%amount of {@item9} in player's inventory%/32" to run [execute player command "itemy"] if player has {@item1iloscvip} {@item1}: format slot 0 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 18 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item2iloscvip} {@item2}: format slot 1 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 19 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item3iloscvip} {@item3}: format slot 2 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 20 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item4iloscvip} {@item4}: format slot 3 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 21 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item5iloscvip} {@item5}: format slot 4 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 22 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item6iloscvip} {@item6}: format slot 5 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 23 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item7iloscvip} {@item7}: format slot 6 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 24 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item8iloscvip} {@item8}: format slot 7 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 25 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] if player has {@item9iloscvip} {@item9}: format slot 8 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"] format slot 26 of player with light green glass named "&aPOSIADASZ PELNA ILOSC TEGO ITEMU W EQ" to run [execute player command "itemy"]