options: prefix : &8[&bSerwer&8] command /auto-przepalanie [] []: aliases: autop trigger: if arg 1 and arg 2 is set: if executor is console: if arg 2 is "on": set {przepalanie::%arg 1%} to true send "{@prefix} &aWłączono Automatyczne Przepalanie!" to arg 1 if arg 2 is "off": set {przepalanie::%arg 1%} to false send "{@prefix} &cWyłączono Automatyczne Przepalanie!" to arg 1 else: send "{@prefix} &cNie masz permisji by wykonać te polecenie!" else if player has permission "autoprzepalanie.gui": set {_x} to chest with 3 rows named "&aAutomatyczne Przepalanie" set slot 0 of {_x} to skull of "vvvvvvvvvvvv" parsed as offline player named "&aCo to?" with lore "&bAutomatyczne Przepalanie to funkcja," and "&bdzięki której po wykopaniu rud, które" and "&bnormalnie wyrzucają graczowi rudę do" and "&bprzepalenia, gracz otrzymuje gotowy surowiec." set slot 11 of {_x} to lime concrete named "&aWłącz" set slot 15 of {_x} to red concrete named "&cWyłącz" set slot (integers between 1 and 10) and (integers between 12 and 14) and (integers between 16 and 26) of {_x} to black stained glass pane named "&a" wait 1 tick open {_x} to player on inventory click: if inventory name of current inventory of player is "&aAutomatyczne Przepalanie": cancel event if clicked slot is 11: execute console command "auto-przepalanie %player% on" if clicked slot is 15: execute console command "auto-przepalanie %player% off" on mine: if {przepalanie::%player%} is true: if event-block is gold ore: cancel drops of items drop 1 gold ingot else if event-block is iron ore: cancel drops of items drop 1 iron ingot else if event-block is ancient debris: cancel drops of items drop 1 netherite scrap