options: #Maxymalny tier do konfiguracji: #Standardowy to 5. Można go zmniejszyć. maxtier: 5 #Ile stone ma być aby ulepszyć do tier2? #Standardowe to 500 tier2: 500 #Ile stone ma być aby ulepszyć do tier3? #Standardowe to 1000 tier3: 1000 #Ile stone ma być aby ulepszyć do tier4? #Standardowe to 2000 tier4: 2000 #Ile stone ma być aby ulepszyć do tier5? #Standardowe to 4000 tier5: 4000 #Wiadomość włączenia wszystkich dropów onmsg: &6&lWłączyłeś wszystkie dropy! #Wiadomość wyłączenia wszystkich dropów offmsg: &6&lWyłączyłeś wszystkie dropy! variables: #NIE ZMIENIAJ {tier::%player%} = 1 {diamond::%player%} = true {emerald::%player%} = true {gold ingot::%player%} = true {iron ingot::%player%} = true {coal::%player%} = true {obsidian::%player%} = true {bookshelf::%player%} = true #NIE ZMIENIAJ on break stone: add 1 to {stone::%player%} if {tier::%player%} is 1: chance of 5%: if {diamond::%player%} is true: drop 1 diamond chance of 5%: if {emerald::%player%} is true: drop 1 emerald chance of 5%: if {gold ingot::%player%} is true: drop 1 gold ingot chance of 5%: if {iron ingot::%player%} is true: drop 1 iron ingot chance of 5%: if {coal::%player%} is true: drop 1 coal chance of 5%: if {obsidian::%player%} is true: drop 1 obsidian chance of 5%: if {bookshelf::%player%} is true: drop 1 bookshelf if {tier::%player%} is 2: chance of 10%: if {diamond::%player%} is true: drop 1 diamond chance of 10%: if {emerald::%player%} is true: drop 1 emerald chance of 10%: if {gold ingot::%player%} is true: drop 1 gold ingot chance of 10%: if {iron ingot::%player%} is true: drop 1 iron ingot chance of 10%: if {coal::%player%} is true: drop 1 coal chance of 10%: if {obsidian::%player%} is true: drop 1 obsidian chance of 10%: if {bookshelf::%player%} is true: drop 1 bookshelf if {tier::%player%} is 3: chance of 15%: if {diamond::%player%} is true: drop 1 diamond chance of 15%: if {emerald::%player%} is true: drop 1 emerald chance of 15%: if {gold ingot::%player%} is true: drop 1 gold ingot chance of 15%: if {iron ingot::%player%} is true: drop 1 iron ingot chance of 15%: if {coal::%player%} is true: drop 1 coal chance of 15%: if {obsidian::%player%} is true: drop 1 obsidian chance of 15%: if {bookshelf::%player%} is true: drop 1 bookshelf if {tier::%player%} is 4: chance of 20%: if {diamond::%player%} is true: drop 1 diamond chance of 20%: if {emerald::%player%} is true: drop 1 emerald chance of 20%: if {gold ingot::%player%} is true: drop 1 gold ingot chance of 20%: if {iron ingot::%player%} is true: drop 1 iron ingot chance of 20%: if {coal::%player%} is true: drop 1 coal chance of 20%: if {obsidian::%player%} is true: drop 1 obsidian chance of 20%: if {bookshelf::%player%} is true: drop 1 bookshelf if {tier::%player%} is 5: chance of 25%: if {diamond::%player%} is true: drop 1 diamond chance of 25%: if {emerald::%player%} is true: drop 1 emerald chance of 25%: if {gold ingot::%player%} is true: drop 1 gold ingot chance of 25%: if {iron ingot::%player%} is true: drop 1 iron ingot chance of 25%: if {coal::%player%} is true: drop 1 coal chance of 25%: if {obsidian::%player%} is true: drop 1 obsidian chance of 25%: if {bookshelf::%player%} is true: drop 1 bookshelf command /upgrade: aliases: ulepsztier, ulepsz, upgradetier description: Ulepsza twój tier. trigger: if {tier::%player%} is smaller than {@maxtier}: if {tier::%player%} is 1: if {stone::%player%} is greater than {@tier2}: add 1 to {tier::%player%} send "&aPomyślnie ulepszyłeś tier do TIER%{tier::%player%}%" else: send "&C&LMasz wykopanego %{stone::%player%}%/%{@tier2}%" if {tier::%player%} is 2: if {stone::%player%} is greater than {@tier3}: add 1 to {tier::%player%} send "&aPomyślnie ulepszyłeś tier do TIER%{tier::%player%}%" else: send "&C&LMasz wykopanego %{stone::%player%}%/%{@tier3}%" if {tier::%player%} is 3: if {stone::%player%} is greater than {@tier4}: add 1 to {tier::%player%} send "&aPomyślnie ulepszyłeś tier do TIER%{tier::%player%}%" else: send "&C&LMasz wykopanego %{stone::%player%}%/%{@tier4}%" if {tier::%player%} is 4: if {stone::%player%} is greater than {@tier5}: add 1 to {tier::%player%} send "&aPomyślnie ulepszyłeś tier do TIER%{tier::%player%}%" else: send "&C&LMasz wykopanego %{stone::%player%}%/%{@tier5}%" else: send "&cNajwiększy tier to TIER{@maxtier}!" command /drop: aliases: stone, stonedrop, kamien, kamień trigger: if player has permission "drop.zmien": set {_gui::%player%} to chest inventory with 4 rows named "&aDROP" set {_gui::status::%player%} to true open {_gui::%player%} to player wait 2 ticks set slot (integers between 0 and 55) of player's current inventory to gray stained glass pane named "&8DROP" if {diamond::%player%} is true: set slot 0 of {_gui::%player%} to diamond named "&6Diament" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {diamond::%player%} is false: set slot 0 of {_gui::%player%} to diamond of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {gold ingot::%player%} is true: set slot 1 of {_gui::%player%} to gold ingot named "&6Sztabka złota" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {gold ingot::%player%} is false: set slot 1 of {_gui::%player%} to gold ingot of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {iron ingot::%player%} is true: set slot 2 of {_gui::%player%} to iron ingot named "&6Sztabka żelaza" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {iron ingot::%player%} is false: set slot 2 of {_gui::%player%} to iron ingot of efficiency 10 named "&6Sztabka żelaza" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {coal::%player%} is true: set slot 3 of {_gui::%player%} to coal named "&6Węgiel" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {coal::%player%} is false: set slot 3 of {_gui::%player%} to coal of efficiency 10 named "&6Węgiel" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {obsidian::%player%} is true: set slot 4 of {_gui::%player%} to obsidian named "&6Obsydian" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {obsidian::%player%} is false: set slot 4 of {_gui::%player%} to obsidian of efficiency 10 named "&6Obsydian" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {bookshelf::%player%} is true: set slot 5 of {_gui::%player%} to bookshelf named "&6Biblioteczka" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {bookshelf::%player%} is false: set slot 5 of {_gui::%player%} to bookshelf of efficiency 10 named "&6Biblioteczka" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {emerald::%player%} is true: set slot 6 of {_gui::%player%} to emerald named "&6Szmaragd" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {emerald::%player%} is false: set slot 6 of {_gui::%player%} to emerald of efficiency 10 named "&6Szmaragd" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" set slot 27 of {_gui::%player%} to green wool named "&a&lWłącz wszystko" set slot 28 of {_gui::%player%} to red wool named "&c&lWyłącz wszystko" set slot 35 of {_gui::%player%} to barrier named "&4WYJDŹ" on inventory click: event-inventory is not player's inventory if name of event-inventory is "&aDROP": cancel event if clicked slot is 0: set {_gui::%player%} to chest inventory with 4 rows named "&aDROP" set {_gui::status::%player%} to true open {_gui::%player%} to player wait 2 ticks set slot 27 of {_gui::%player%} to green wool named "&a&lWłącz wszystko" set slot 28 of {_gui::%player%} to red wool named "&c&lWyłącz wszystko" set slot 35 of {_gui::%player%} to barrier named "&4WYJDŹ" if {diamond::%player%} is true: set {diamond::%player%} to false set slot 0 of {_gui::%player%} to diamond of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" else if {diamond::%player%} is false: set {diamond::%player%} to true set slot 0 of {_gui::%player%} to diamond named "&6Diament" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" if {gold ingot::%player%} is true: set slot 1 of {_gui::%player%} to gold ingot named "&6Złoto" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {gold ingot::%player%} is false: set slot 1 of {_gui::%player%} to gold ingot of efficiency 10 named "&6Złoto" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {iron ingot::%player%} is true: set slot 2 of {_gui::%player%} to iron ingot named "&6Sztabka żelaza" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {iron ingot::%player%} is false: set slot 2 of {_gui::%player%} to iron ingot of efficiency 10 named "&6Sztabka żelaza" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {coal::%player%} is true: set slot 3 of {_gui::%player%} to coal named "&6Węgiel" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {coal::%player%} is false: set slot 3 of {_gui::%player%} to coal of efficiency 10 named "&6Węgiel" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {obsidian::%player%} is true: set slot 4 of {_gui::%player%} to obsidian named "&6Obsydian" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {obsidian::%player%} is false: set slot 4 of {_gui::%player%} to obsidian of efficiency 10 named "&6Obsydian" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {bookshelf::%player%} is true: set slot 5 of {_gui::%player%} to bookshelf named "&6Biblioteczka" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {bookshelf::%player%} is false: set slot 5 of {_gui::%player%} to bookshelf of efficiency 10 named "&6Biblioteczka" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {emerald::%player%} is true: set slot 6 of {_gui::%player%} to emerald named "&6Szmaragd" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {emerald::%player%} is false: set slot 6 of {_gui::%player%} to emerald of efficiency 10 named "&6Szmaragd" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if clicked slot is 1: set {_gui::%player%} to chest inventory with 4 rows named "&aDROP" set {_gui::status::%player%} to true open {_gui::%player%} to player wait 2 ticks set slot 27 of {_gui::%player%} to green wool named "&a&lWłącz wszystko" set slot 28 of {_gui::%player%} to red wool named "&c&lWyłącz wszystko" set slot 35 of {_gui::%player%} to barrier named "&4WYJDŹ" if {diamond::%player%} is true: set slot 0 of {_gui::%player%} to diamond named "&6Diament" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {diamond::%player%} is false: set slot 0 of {_gui::%player%} to diamond of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {gold ingot::%player%} is true: set {gold ingot::%player%} to false set slot 1 of {_gui::%player%} to gold ingot of efficiency 10 named "&6Złoto" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" else if {gold ingot::%player%} is false: set {gold ingot::%player%} to true set slot 1 of {_gui::%player%} to gold ingot named "&6Złoto" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" if {iron ingot::%player%} is true: set slot 2 of {_gui::%player%} to iron ingot named "&6Sztabka żelaza" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {iron ingot::%player%} is false: set slot 2 of {_gui::%player%} to iron ingot of efficiency 10 named "&6Sztabka żelaza" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {coal::%player%} is true: set slot 3 of {_gui::%player%} to coal named "&6Węgiel" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {coal::%player%} is false: set slot 3 of {_gui::%player%} to coal of efficiency 10 named "&6Węgiel" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {obsidian::%player%} is true: set slot 4 of {_gui::%player%} to obsidian named "&6Obsydian" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {obsidian::%player%} is false: set slot 4 of {_gui::%player%} to obsidian of efficiency 10 named "&6Obsydian" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {bookshelf::%player%} is true: set slot 5 of {_gui::%player%} to bookshelf named "&6Biblioteczka" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {bookshelf::%player%} is false: set slot 5 of {_gui::%player%} to bookshelf of efficiency 10 named "&6Biblioteczka" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {emerald::%player%} is true: set slot 6 of {_gui::%player%} to emerald named "&6Szmaragd" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {emerald::%player%} is false: set slot 6 of {_gui::%player%} to emerald of efficiency 10 named "&6Szmaragd" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if clicked slot is 2: set {_gui::%player%} to chest inventory with 4 rows named "&aDROP" set {_gui::status::%player%} to true open {_gui::%player%} to player wait 2 ticks set slot 27 of {_gui::%player%} to green wool named "&a&lWłącz wszystko" set slot 28 of {_gui::%player%} to red wool named "&c&lWyłącz wszystko" set slot 35 of {_gui::%player%} to barrier named "&4WYJDŹ" if {diamond::%player%} is true: set slot 0 of {_gui::%player%} to diamond named "&6Diament" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {diamond::%player%} is false: set slot 0 of {_gui::%player%} to diamond of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {gold ingot::%player%} is true: set slot 1 of {_gui::%player%} to gold ingot named "&6Złoto" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {gold ingot::%player%} is false: set slot 1 of {_gui::%player%} to gold ingot of efficiency 10 named "&6Złoto" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {iron ingot::%player%} is true: set {iron ingot::%player%} to false set slot 2 of {_gui::%player%} to iron ingot of efficiency 10 named "&6Sztabka żelaza" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" else if {iron ingot::%player%} is false: set {iron ingot::%player%} to true set slot 2 of {_gui::%player%} to iron ingot named "&6Sztabka żelaza" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" if {coal::%player%} is true: set slot 3 of {_gui::%player%} to coal named "&6Węgiel" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {coal::%player%} is false: set slot 3 of {_gui::%player%} to coal of efficiency 10 named "&6Węgiel" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {obsidian::%player%} is true: set slot 4 of {_gui::%player%} to obsidian named "&6Obsydian" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {obsidian::%player%} is false: set slot 4 of {_gui::%player%} to obsidian of efficiency 10 named "&6Obsydian" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {bookshelf::%player%} is true: set slot 5 of {_gui::%player%} to bookshelf named "&6Biblioteczka" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {bookshelf::%player%} is false: set slot 5 of {_gui::%player%} to bookshelf of efficiency 10 named "&6Biblioteczka" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {emerald::%player%} is true: set slot 6 of {_gui::%player%} to emerald named "&6Szmaragd" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {emerald::%player%} is false: set slot 6 of {_gui::%player%} to emerald of efficiency 10 named "&6Szmaragd" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if clicked slot is 3: set {_gui::%player%} to chest inventory with 4 rows named "&aDROP" set {_gui::status::%player%} to true open {_gui::%player%} to player wait 2 ticks set slot 27 of {_gui::%player%} to green wool named "&a&lWłącz wszystko" set slot 28 of {_gui::%player%} to red wool named "&c&lWyłącz wszystko" set slot 35 of {_gui::%player%} to barrier named "&4WYJDŹ" if {diamond::%player%} is true: set slot 0 of {_gui::%player%} to diamond named "&6Diament" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {diamond::%player%} is false: set slot 0 of {_gui::%player%} to diamond of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {gold ingot::%player%} is true: set slot 1 of {_gui::%player%} to gold ingot named "&6Złoto" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {gold ingot::%player%} is false: set slot 1 of {_gui::%player%} to gold ingot of efficiency 10 named "&6Złoto" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {iron ingot::%player%} is true: set slot 2 of {_gui::%player%} to iron ingot named "&6Sztabka żelaza" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {iron ingot::%player%} is false: set slot 2 of {_gui::%player%} to iron ingot of efficiency 10 named "&6Sztabka żelaza" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {coal::%player%} is true: set {coal::%player%} to false set slot 3 of {_gui::%player%} to coal of efficiency 10 named "&6Węgiel" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" else if {coal::%player%} is false: set {coal::%player%} to true set slot 3 of {_gui::%player%} to coal named "&6Węgiel" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" if {obsidian::%player%} is true: set slot 4 of {_gui::%player%} to obsidian named "&6Obsydian" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {obsidian::%player%} is false: set slot 4 of {_gui::%player%} to obsidian of efficiency 10 named "&6Obsydian" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {bookshelf::%player%} is true: set slot 5 of {_gui::%player%} to bookshelf named "&6Biblioteczka" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {bookshelf::%player%} is false: set slot 5 of {_gui::%player%} to bookshelf of efficiency 10 named "&6Biblioteczka" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {emerald::%player%} is true: set slot 6 of {_gui::%player%} to emerald named "&6Szmaragd" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {emerald::%player%} is false: set slot 6 of {_gui::%player%} to emerald of efficiency 10 named "&6Szmaragd" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if clicked slot is 4: set {_gui::%player%} to chest inventory with 4 rows named "&aDROP" set {_gui::status::%player%} to true open {_gui::%player%} to player wait 2 ticks set slot 27 of {_gui::%player%} to green wool named "&a&lWłącz wszystko" set slot 28 of {_gui::%player%} to red wool named "&c&lWyłącz wszystko" set slot 35 of {_gui::%player%} to barrier named "&4WYJDŹ" if {diamond::%player%} is true: set slot 0 of {_gui::%player%} to diamond named "&6Diament" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {diamond::%player%} is false: set slot 0 of {_gui::%player%} to diamond of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {gold ingot::%player%} is true: set slot 1 of {_gui::%player%} to gold ingot named "&6Złoto" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {gold ingot::%player%} is false: set slot 1 of {_gui::%player%} to gold ingot of efficiency 10 named "&6Złoto" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {iron ingot::%player%} is true: set slot 2 of {_gui::%player%} to iron ingot named "&6Sztabka żelaza" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {iron ingot::%player%} is false: set slot 2 of {_gui::%player%} to iron ingot of efficiency 10 named "&6Sztabka żelaza" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {coal::%player%} is true: set slot 3 of {_gui::%player%} to coal named "&6Węgiel" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {coal::%player%} is false: set slot 3 of {_gui::%player%} to coal of efficiency 10 named "&6Węgiel" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {obsidian::%player%} is true: set {obsidian::%player%} to false set slot 4 of {_gui::%player%} to obsidian of efficiency 10 named "&6Obsydian" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" else if {obsidian::%player%} is false: set {obsidian::%player%} to true set slot 4 of {_gui::%player%} to obsidian named "&6Obsydian" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" if {bookshelf::%player%} is true: set slot 5 of {_gui::%player%} to bookshelf named "&6Biblioteczka" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {bookshelf::%player%} is false: set slot 5 of {_gui::%player%} to bookshelf of efficiency 10 named "&6Biblioteczka" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {emerald::%player%} is true: set slot 6 of {_gui::%player%} to emerald named "&6Szmaragd" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {emerald::%player%} is false: set slot 6 of {_gui::%player%} to emerald of efficiency 10 named "&6Szmaragd" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if clicked slot is 5: set {_gui::%player%} to chest inventory with 4 rows named "&aDROP" set {_gui::status::%player%} to true open {_gui::%player%} to player wait 2 ticks set slot 27 of {_gui::%player%} to green wool named "&a&lWłącz wszystko" set slot 28 of {_gui::%player%} to red wool named "&c&lWyłącz wszystko" set slot 35 of {_gui::%player%} to barrier named "&4WYJDŹ" if {diamond::%player%} is true: set slot 0 of {_gui::%player%} to diamond named "&6Diament" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {diamond::%player%} is false: set slot 0 of {_gui::%player%} to diamond of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {gold ingot::%player%} is true: set slot 1 of {_gui::%player%} to gold ingot named "&6Złoto" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {gold ingot::%player%} is false: set slot 1 of {_gui::%player%} to gold ingot of efficiency 10 named "&6Złoto" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {iron ingot::%player%} is true: set slot 2 of {_gui::%player%} to iron ingot named "&6Sztabka żelaza" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {iron ingot::%player%} is false: set slot 2 of {_gui::%player%} to iron ingot of efficiency 10 named "&6Sztabka żelaza" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {coal::%player%} is true: set slot 3 of {_gui::%player%} to coal named "&6Węgiel" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {coal::%player%} is false: set slot 3 of {_gui::%player%} to coal of efficiency 10 named "&6Węgiel" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {obsidian::%player%} is true: set slot 4 of {_gui::%player%} to obsidian named "&6Obsydian" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {obsidian::%player%} is false: set slot 4 of {_gui::%player%} to obsidian of efficiency 10 named "&6Obsydian" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {bookshelf::%player%} is true: set {bookshelf::%player%} to false set slot 5 of {_gui::%player%} to bookshelf of efficiency 10 named "&6Biblioteczka" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" else if {bookshelf::%player%} is false: set {bookshelf::%player%} to true set slot 5 of {_gui::%player%} to bookshelf named "&6Biblioteczka" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" if {emerald::%player%} is true: set slot 6 of {_gui::%player%} to emerald named "&6Szmaragd" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {emerald::%player%} is false: set slot 6 of {_gui::%player%} to emerald of efficiency 10 named "&6Szmaragd" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if clicked slot is 6: set {_gui::%player%} to chest inventory with 4 rows named "&aDROP" set {_gui::status::%player%} to true open {_gui::%player%} to player wait 2 ticks set slot 27 of {_gui::%player%} to green wool named "&a&lWłącz wszystko" set slot 28 of {_gui::%player%} to red wool named "&c&lWyłącz wszystko" set slot 35 of {_gui::%player%} to barrier named "&4WYJDŹ" if {diamond::%player%} is true: set slot 0 of {_gui::%player%} to diamond named "&6Diament" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {diamond::%player%} is false: set slot 0 of {_gui::%player%} to diamond of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {gold ingot::%player%} is true: set slot 1 of {_gui::%player%} to gold ingot named "&6Złoto" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {gold ingot::%player%} is false: set slot 1 of {_gui::%player%} to gold ingot of efficiency 10 named "&6Złoto" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {iron ingot::%player%} is true: set slot 2 of {_gui::%player%} to iron ingot named "&6Sztabka żelaza" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {iron ingot::%player%} is false: set slot 2 of {_gui::%player%} to iron ingot of efficiency 10 named "&6Sztabka żelaza" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {coal::%player%} is true: set slot 3 of {_gui::%player%} to coal named "&6Węgiel" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {coal::%player%} is false: set slot 3 of {_gui::%player%} to coal of efficiency 10 named "&6Węgiel" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {obsidian::%player%} is true: set slot 4 of {_gui::%player%} to obsidian named "&6Obsydian" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {obsidian::%player%} is false: set slot 4 of {_gui::%player%} to obsidian of efficiency 10 named "&6Obsydian" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {bookshelf::%player%} is true: set slot 5 of {_gui::%player%} to bookshelf named "&6Biblioteczka" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" else if {bookshelf::%player%} is false: set slot 5 of {_gui::%player%} to bookshelf of efficiency 10 named "&6Biblioteczka" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" if {emerald::%player%} is true: set {emerald::%player%} to false set slot 6 of {_gui::%player%} to emerald of efficiency 10 named "&6Szmaragd" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" else if {emerald::%player%} is false: set {emerald::%player%} to true set slot 6 of {_gui::%player%} to emerald named "&6Szmaragd" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" if clicked slot is 27: set {_gui::%player%} to chest inventory with 4 rows named "&aDROP" set {_gui::status::%player%} to true open {_gui::%player%} to player wait 2 ticks set {diamond::%player%} to true set slot 0 of {_gui::%player%} to diamond named "&6Diament" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" set {gold ingot::%player%} to true set slot 1 of {_gui::%player%} to gold ingot named "&6Sztabka złota" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" set {iron ingot::%player%} to true set slot 2 of {_gui::%player%} to iron ingot named "&6Sztabka żelaza" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" set {bookshelf::%player%} to true set slot 5 of {_gui::%player%} to bookshelf named "&6Biblioteczka" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" set {obsidian::%player%} to true set slot 4 of {_gui::%player%} to obsidian named "&6Obsydian" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" set {coal::%player%} to true set slot 3 of {_gui::%player%} to coal named "&6Węgiel" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" set {emerald::%player%} to true set slot 6 of {_gui::%player%} to emerald named "&6Szmaragd" with lore "&cKliknij aby wyłączyć %newline%&aWŁĄCZONE" set slot 27 of {_gui::%player%} to green wool named "&a&lWłącz wszystko" set slot 28 of {_gui::%player%} to red wool named "&c&lWyłącz wszystko" set slot 35 of {_gui::%player%} to barrier named "&4WYJDŹ" send "{@onmsg}" clicked slot is 28: set {_gui::%player%} to chest inventory with 4 rows named "&aDROP" set {_gui::status::%player%} to true open {_gui::%player%} to player wait 2 ticks set {diamond::%player%} to false set slot 0 of {_gui::%player%} to diamond of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" set {gold ingot::%player%} to false set slot 1 of {_gui::%player%} to gold ingot of efficiency 10 named "&6Diament" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" set {iron ingot::%player%} to false set slot 2 of {_gui::%player%} to iron ingot of efficiency 10 named "&6Sztabka żelaza" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" set {bookshelf::%player%} to false set slot 5 of {_gui::%player%} to bookshelf of efficiency 10 named "&6Biblioteczka" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" set {obsidian::%player%} to false set slot 4 of {_gui::%player%} to obsidian of efficiency 10 named "&6Obsydian" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" set {coal::%player%} to false set slot 3 of {_gui::%player%} to coal of efficiency 10 named "&6Węgiel" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" set {emerald::%player%} to false set slot 6 of {_gui::%player%} to emerald of efficiency 10 named "&6Szmaragd" with lore "&cKliknij aby włączyć %newline%&aWYŁĄCZONE" set slot 27 of {_gui::%player%} to green wool named "&a&lWłącz wszystko" set slot 28 of {_gui::%player%} to red wool named "&c&lWyłącz wszystko" set slot 35 of {_gui::%player%} to barrier named "&4WYJDŹ" send "{@offmsg}" if clicked slot is 35: close player's inventory set {_gui::status::%player%} to false on inventory close: event-inventory is not player's inventory if name of event-inventory is "&aDROP": set {_gui::status::%player%} to false