command /sklep: trigger: open chest with 1 row named "sklep" to player wait 1 tick set slot 1 of player's current inventory to sword named "Uzbrojenie" close then run "/sklepuzbrojenie %player%" to be unstealable //Tutaj ustawiasz itemy w sklepie pierwszy argument to liczba monet(100) drugi to item(1 276) command /sklepuzbrojenie : trigger: executable by console: open chest with 1 row named "Uzbrojenie" to player-arg wait 1 tick set slot 1 of player's current inventory to sword named "Miecz" close then run "/sklepa 100 1 276 %player% to be unstealable set slot 2 of player's current inventory to sword named "Miecz" close then run "/sklepa 100 1 276 %player% to be unstealable set slot 3 of player's current inventory to sword named "Miecz" close then run "/sklepa 100 1 276 %player% to be unstealable set slot 4 of player's current inventory to sword named "Miecz" close then run "/sklepa 100 1 276 %player% to be unstealable set slot 5 of player's current inventory to sword named "Miecz" close then run "/sklepa 100 1 276 %player% to be unstealable //tutaj wykonywana jest cała operacja która sprawdza czy gracz ma wystarczającą liczbe monet command /sklepa trigger: executable by console: if {money.%player-arg%} is more than arg 1 give %player-arg% arg 2 set {money.%player-arg%} to {money.%player-arg%}-arg 1 else: send "Nie masz odpowiedzniej liczby monet" stop trigger //tutaj można wymienić itemy na monety command /wymiana: trigger: open chest with 1 row named "Wymiana" to player wait 1 tick set slot 1 of player's current inventory to diamond named "DIAMENTx32" with lore "Wymień 32 diamety na 2500 monet" to run "/wymianaa 32 diamond 2500 %player% diamentów" to be unstealable set slot 2 of player's current inventory to diamond named "DIAMENTx64" with lore "Wymień 64 diamety na 5000 monet" to run "/wymianaa 64 diamond 5000 %player% diamentów" to be unstealable set slot 3 of player's current inventory to emerald named "EMERALDDx32" with lore "Wymień 32 emeraldy na 2500 monet" run "/wymianaa 32 emerald 5000 %player% emeraldów" to be unstealable set slot 4 of player's current inventory to emerald named "EMERALDx32" with lore "Wymień 64 emeraldy na 2500 monet" run "/wymianaa 64 emerald 5000 %player% emeraldów" to be unstealable //tutaj dostajemy itemy z wymiany i sprawdamy czy gracz ma te itemy w eq command /wymianaa : trigger: if player-arg has arg 1 remove arg 1 from player set {money.%player%} to {money.%player%}+arg 2 else: send "Nie masz odpowiedzniej liczby %arg 3%" stop trigger //tutaj zaczątki jakiegoś dropu if level of Fortune of player's tool is equal to 1: set {Fortune.%player%} to 1 if level of Fortune of player's tool is equal to 2: set {Fortune.%player%} to 2 if level of Fortune of player's tool is equal to 3: set {Fortune.%player%} to 3 on mine of stone: if {Fortune.%player%} equal to 1: chance of 2%: set {money.%player%} to {money.%player%}+1 send "Do Twojego konta zostały dodane monety, twój aktualny stan konta to %{money.%player%}%" chance of 1%: give 1 iron_ingot to the player send "Gratulacje. Znalazles rude zelaza" chance of 0.8%: give 1 gold_ingot to the player send "Gratulacje. Znalazles rude zlota" chance of 0.2%: give 1 diamond to the player send "Gratulacje. Znalazles diament" chance of 0.08%: give 1 emerald to the player send "Gratulacje. Znalazles szmaragd" if {Fortune.%player%} equal to 2: chance of 4%: set {money.%player%} to {money.%player%}+2 send "Do Twojego konta zostały dodane monety, twój aktualny stan konta to %{money.%player%}%" chance of 2%: give 1 iron_ingot to the player send "Gratulacje. Znalazles rude zelaza" chance of 1.6%: give 1 gold_ingot to the player send "Gratulacje. Znalazles rude zlota" chance of 0.4%: give 1 diamond to the player send "Gratulacje. Znalazles diament" chance of 0.16%: give 1 emerald to the player send "Gratulacje. Znalazles szmaragd" if {Fortune.%player%} equal to 3: chance of 6%: set {money.%player%} to {money.%player%}+3 send "Do Twojego konta zostały dodane monety, twój aktualny stan konta to %{money.%player%}%" chance of 3%: give 1 iron_ingot to the player send "Gratulacje. Znalazles rude zelaza" chance of 2.4%: give 1 gold_ingot to the player send "Gratulacje. Znalazles rude zlota" chance of 0.8%: give 1 diamond to the player send "Gratulacje. Znalazles diament" chance of 0.34%: give 1 emerald to the player send "Gratulacje. Znalazles szmaragd" command /kit : trigger: if arg 1 is "vip": if player has permission "permisja.Vip": give 276 to player else: send "nie masz wystarczających permisji" if arg 1 is "gracz": give 272 to player //puszka pandory na razie nie mam pomysłu. Jak możecie to powiedzcie mi jak można zrobić żeby komendą wyrzućić itemy na ziemie a nie do eq gracza command /pandora: trigger: if player has 576 4 remove 576 4 from player chance of 20%: