Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Crafting w GUI


DJxsebol

Rekomendowane odpowiedzi

Opublikowano

Mam taki skript 
 

command /craft [<text>]:
trigger:
if arg 1 is not set:
open chest with 1 rows named "&8** &cCRAFTINGI: &8**" to player
wait 1 tick
format slot 0 of player with 1 of 160 to close
format slot 2 of player with 1 of end stone named "&2&lCrafting Stoniarki (KLIK)" to run "run %player% /craft stoniarka"
format slot 3 of player with 1 of 120 named "&2&lCrafting Boy Farmera (KLIK)" to run "run %player% /craft boyFarmer"
format slot 4 of player with 1 of 25 named "&2&lCrafting SandFarmer (KLIK)" to run "run %player% /craft Boysand"
format slot 5 of player with 1 of 130 named "&2&lCrafting EnderChest (KLIK)" to run "run %player% /craft enderchest"
format slot 6 of player with 1 of 19 named "&2&lCrafting AutoFosy (KLIK)" to run "run %player% /craft AutoFosy"
format slot 1 of player with 1 of 160 to close
format slot 7 of player with 1 of 160 to close
format slot 8 of player with 1 of 160 to close
if arg 1 is "stoniarka":
open chest with 3 rows named "&8** &cSTONIARKA: &8**" to player
wait 2 tick
format slot 3 of player with 1 of stone to close
format slot 4 of player with 1 of stone to close
format slot 5 of player with 1 of stone to close
format slot 12 of player with 1 of stone to close
format slot 13 of player with 1 of piston base to close
format slot 14 of player with 1 of stone to close
format slot 21 of player with 1 of stone to close
format slot 22 of player with 1 of stone to close
format slot 23 of player with 1 of stone to close
format slot 15 of player with 1 of end stone named "&6Stoniarka" to close
if arg 1 is "enderchest":
open chest with 3 rows named "&8** &cEnderChesta: &8**" to player
wait 2 tick
format slot 3 of player with 1 of 49 to close
format slot 4 of player with 1 of 49 to close
format slot 5 of player with 1 of 49 to close
format slot 12 of player with 1 of 49 to close
format slot 13 of player with 1 of 368 to close
format slot 14 of player with 1 of 49 to close
format slot 21 of player with 1 of 49 to close
format slot 22 of player with 1 of 49 to close
format slot 23 of player with 1 of 49 to close
format slot 15 of player with 1 of 130 named "&6EnderChest" to close
if arg 1 is "boyFarmer":
open chest with 3 rows named "&8** &cBOY FARMER: &8**" to player
format slot 3 of player with 1 of obsidian to close
format slot 4 of player with 1 of obsidian to close
format slot 5 of player with 1 of obsidian to close
format slot 12 of player with 1 of obsidian to close
format slot 13 of player with 1 of golden apple:1 to close
format slot 14 of player with 1 of obsidian to close
format slot 21 of player with 1 of obsidian to close
format slot 22 of player with 1 of obsidian to close
format slot 23 of player with 1 of obsidian to close
format slot 15 of player with 1 of 122 named "&cBoy Farmer" to close
if arg 1 is "Boysand":
open chest with 3 rows named "&8** &cBoySand: &8**" to player
wait 2 tick
format slot 3 of player with 1 of sand to close
format slot 4 of player with 1 of sand to close
format slot 5 of player with 1 of sand to close
format slot 12 of player with 1 of sand to close
format slot 13 of player with 1 of golden apple to close
format slot 14 of player with 1 of sand to close
format slot 21 of player with 1 of sand to close
format slot 22 of player with 1 of sand to close
format slot 23 of player with 1 of sand to close
format slot 15 of player with 1 of 25 named "&cBoySand" to close
if arg 1 is "AutoFosy":
open chest with 3 rows named "&8** &cAutoFosy: &8**" to player
wait 2 tick
format slot 3 of player with 1 of iron ingot to close
format slot 4 of player with 1 of iron ingot to close
format slot 5 of player with 1 of iron ingot to close
format slot 12 of player with 1 of iron ingot to close
format slot 13 of player with 1 of 57 to close
format slot 14 of player with 1 of iron ingot to close
format slot 21 of player with 1 of iron ingot to close
format slot 22 of player with 1 of iron ingot to close
format slot 23 of player with 1 of iron ingot to close
format slot 15 of player with 1 of 19 named "&8** &cAutoFosy: &8**" to close

I gdy wpisze komende /craft to wyskakuje lista itemów ale jak w nie kliknę to nie przekierowuje mnie do strony z craftingiem 
Opublikowano

Lekka edycja ;p :

 

 

 

command /craft [<text>]:
    trigger:
        if arg 1 is not set:
            open chest with 1 rows named "&8** &cCRAFTINGI: &8**" to player
            wait 1 tick
            format slot 0 of player with 1 of 160 to close
            format slot 2 of player with 1 of end stone named "&2&lCrafting Stoniarki (KLIK)" to run [make player execute command "/craft stoniarka"]
            format slot 3 of player with 1 of 120 named "&2&lCrafting Boy Farmera (KLIK)" to run [make player execute command "/craft boyfarmer"]
            format slot 4 of player with 1 of 25 named "&2&lCrafting SandFarmer (KLIK)" to run [make player execute command "/craft sandfarmer"]
            format slot 5 of player with 1 of 130 named "&2&lCrafting EnderChest (KLIK)" to run [make player execute command "/craft enderchest"]
            format slot 6 of player with 1 of 19 named "&2&lCrafting AutoFosy (KLIK)" to run [make player execute command "/craft autofosy"]
            format slot 1 of player with 1 of 160 to close
            format slot 7 of player with 1 of 160 to close
            format slot 8 of player with 1 of 160 to close
            stop
        if arg 1 is "stoniarka":
            open chest with 3 rows named "&8** &cSTONIARKA: &8**" to player
            wait 2 tick
            format slot 3 of player with 1 of stone to close
            format slot 4 of player with 1 of stone to close
            format slot 5 of player with 1 of stone to close
            format slot 12 of player with 1 of stone to close
            format slot 13 of player with 1 of piston base to close
            format slot 14 of player with 1 of stone to close
            format slot 21 of player with 1 of stone to close
            format slot 22 of player with 1 of stone to close
            format slot 23 of player with 1 of stone to close
            format slot 15 of player with 1 of end stone named "&6Stoniarka" to close
        if arg 1 is "enderchest":
            open chest with 3 rows named "&8** &cEnderChesta: &8**" to player
            wait 2 tick
            format slot 3 of player with 1 of 49 to close
            format slot 4 of player with 1 of 49 to close
            format slot 5 of player with 1 of 49 to close
            format slot 12 of player with 1 of 49 to close
            format slot 13 of player with 1 of 368 to close
            format slot 14 of player with 1 of 49 to close
            format slot 21 of player with 1 of 49 to close
            format slot 22 of player with 1 of 49 to close
            format slot 23 of player with 1 of 49 to close
            format slot 15 of player with 1 of 130 named "&6EnderChest" to close
        if arg 1 is "boyfarmer":
            open chest with 3 rows named "&8** &cBOY FARMER: &8**" to player
            format slot 3 of player with 1 of obsidian to close
            format slot 4 of player with 1 of obsidian to close
            format slot 5 of player with 1 of obsidian to close
            format slot 12 of player with 1 of obsidian to close
            format slot 13 of player with 1 of golden apple:1 to close
            format slot 14 of player with 1 of obsidian to close
            format slot 21 of player with 1 of obsidian to close
            format slot 22 of player with 1 of obsidian to close
            format slot 23 of player with 1 of obsidian to close
            format slot 15 of player with 1 of 122 named "&cBoy Farmer" to close
        if arg 1 is "sandfarmer":
            open chest with 3 rows named "&8** &cBoySand: &8**" to player
            wait 2 tick
            format slot 3 of player with 1 of sand to close
            format slot 4 of player with 1 of sand to close
            format slot 5 of player with 1 of sand to close
            format slot 12 of player with 1 of sand to close
            format slot 13 of player with 1 of golden apple to close
            format slot 14 of player with 1 of sand to close
            format slot 21 of player with 1 of sand to close
            format slot 22 of player with 1 of sand to close
            format slot 23 of player with 1 of sand to close
            format slot 15 of player with 1 of 25 named "&cBoySand" to close
        if arg 1 is "Autofosy":
            open chest with 3 rows named "&8** &cAutoFosy: &8**" to player
            wait 2 tick
            format slot 3 of player with 1 of iron ingot to close
            format slot 4 of player with 1 of iron ingot to close
            format slot 5 of player with 1 of iron ingot to close
            format slot 12 of player with 1 of iron ingot to close
            format slot 13 of player with 1 of 57 to close
            format slot 14 of player with 1 of iron ingot to close
            format slot 21 of player with 1 of iron ingot to close
            format slot 22 of player with 1 of iron ingot to close
            format slot 23 of player with 1 of iron ingot to close
            format slot 15 of player with 1 of 19 named "&8** &cAutoFosy: &8**" to close

 

 

bjk8v7f.png

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...