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

Skrypt na gui w craftingu


McLader

Rekomendowane odpowiedzi

Opublikowano

Witam chciałbym zrobić skrypt, który jak otwieram crafting to wyświetla się mi gui z 6 pasków... Nie wiem jak to zrobić :( Czekam na wszystkie odpowiedzi!

Opublikowano

Tylko sobie zmień: 

command /craftingi:
trigger:
open chest with 6 rows named "Craftingi" to player
format slot 0 of player with obsidian named "&8Obsydian" to close
format slot 1 of player with obsidian named "&8Obsydian" to close
format slot 2 of player with obsidian named "&8Obsydian" to close
format slot 11 of player with obsidian named "&8Obsydian" to close
format slot 10 of player with lava bucket named "&cLava" to close
format slot 9 of player with obsidian named "&8Obsydian" to close
format slot 18 of player with obsidian named "&8Obsydian" to close
format slot 19 of player with obsidian named "&8Obsydian" to close
format slot 20 of player with obsidian named "&8Obsydian" to close
format slot 12 of player with 120 named "&8> &9BoyFarmer <&8" to close
format slot 5 of player with stone named "&7Stone" to close
format slot 6 of player with stone named "&7Stone" to close
format slot 7 of player with stone named "&7Stone" to close
format slot 14 of player with stone named "&7Stone" to close
format slot 15 of player with diamond named "&bDiament" to close
format slot 16 of player with stone named "&7Stone" to close
format slot 17 of player with end stone named "&a&lStoniarka" to close
format slot 23 of player with stone named "&7Stone" to close
format slot 24 of player with stone named "&7Stone" to close
format slot 25 of player with stone named "&7Stone" to close
format slot 27 of player with 57 named "&3Blok Diamentu" to close
format slot 28 of player with 57 named "&3Blok Diamentu" to close
format slot 29 of player with 57 named "&3Blok Diamentu" to close
format slot 36 of player with 57 named "&3Blok Diamentu" to close
format slot 37 of player with 57 named "&3Blok Diamentu" to close
format slot 38 of player with 57 named "&3Blok Diamentu" to close
format slot 39 of player with sponge named "&6&lLuckyBlock" to close
format slot 45 of player with 57 named "&3Blok Diamentu" to close
format slot 46 of player with 57 named "&3Blok Diamentu" to close
format slot 47 of player with 57 named "&3Blok Diamentu" to close
i trzeba wytabować 
Opublikowano

Pan wyżej dobrze prawi, ale trzeba dodać żeby czekało kilka ticków bo czasami są problemy z tym GUI.

command /craftingi:
trigger:
​wait 3 ticks
open chest with 6 rows named "Craftingi" to player
format slot 0 of player with obsidian named "&8Obsydian" to be unstealable
format slot 1 of player with obsidian named "&8Obsydian" to be unstealable
format slot 2 of player with obsidian named "&8Obsydian" to be unstealable
format slot 11 of player with obsidian named "&8Obsydian" to be unstealable
format slot 10 of player with lava bucket named "&cLava" to be unstealable
format slot 9 of player with obsidian named "&8Obsydian" to be unstealable
format slot 18 of player with obsidian named "&8Obsydian" to be unstealable
format slot 19 of player with obsidian named "&8Obsydian" to be unstealable
format slot 20 of player with obsidian named "&8Obsydian" to be unstealable
format slot 12 of player with 120 named "&8> &9BoyFarmer <&8" to be unstealable
format slot 5 of player with stone named "&7Stone" to be unstealable
format slot 6 of player with stone named "&7Stone" to be unstealable
format slot 7 of player with stone named "&7Stone" to be unstealable
format slot 14 of player with stone named "&7Stone" to be unstealable
format slot 15 of player with diamond named "&bDiament" to be unstealable
format slot 16 of player with stone named "&7Stone" to be unstealable
format slot 17 of player with end stone named "&a&lStoniarka" to be unstealable
format slot 23 of player with stone named "&7Stone" to be unstealable
format slot 24 of player with stone named "&7Stone" to be unstealable
format slot 25 of player with stone named "&7Stone" to be unstealable
format slot 27 of player with 57 named "&3Blok Diamentu" to be unstealable
format slot 28 of player with 57 named "&3Blok Diamentu" to be unstealable
format slot 29 of player with 57 named "&3Blok Diamentu" to be unstealable
format slot 36 of player with 57 named "&3Blok Diamentu" to be unstealable
format slot 37 of player with 57 named "&3Blok Diamentu" to be unstealable
format slot 38 of player with 57 named "&3Blok Diamentu" to be unstealable
format slot 39 of player with sponge named "&6&lLuckyBlock" to be unstealable
format slot 45 of player with 57 named "&3Blok Diamentu" to be unstealable
format slot 46 of player with 57 named "&3Blok Diamentu" to be unstealable
format slot 47 of player with 57 named "&3Blok Diamentu" to be unstealable

Od "wait 3 ticks" do końca trzeba dać dwa tabulatory.

Btw. kolega raczej woli, żeby kliknięcie byle czego nie zamykało mu GUI, więc lepsze jest "to be unstealable"

No i nie rozumiem co chcesz powiedzieć przez "Jak otwieram crafting"? Aktualnie ten skrypt odpala się po wpisaniu komendy po prostu /craftingi.

Warto wspomnieć, że oprócz sameg Skript (najlepiej w wersji 2.2) [potrzebujesz jeszcze WildSkript, SkQuery raczej nie jest tu wymagane, chociaż mogę się mylić.

Pozdrawiam IdkMan

Już jest! - iberioncraft.pl

banerMPC.png

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...