Skocz do zawartości
  • 0

Drugie GUI


zerziG
 Udostępnij

Pytanie

Witam.

Mam pytanie jak zrobić GUI w którym mógłbym otworzyć drugą stronę?

Chodzi mi dokładnie o kod do tego.

Kod:

on script load:
    register new shaped recipe for golden carrot named "&c&lPiohrun" with lore "&aBogowie to jedza!" using iron ingot, iron ingot, iron ingot, iron ingot, 8 seeds, iron ingot, iron ingot, iron ingot, iron ingot
variables:
    {server.join::%player%} = 0
    {eat.kox::%player%} = 0
    {eat.zlot.march::%player%} = 0
    {mine.stone::%player%} = 0
on join:
    add 1 to {server.join::%player%}
on eat of enchanted golden apple:
    remove 1 enchanted golden apple from player's inventory
    add 1 to {eat.kox::%player%}
on eat of golden carrot:
    remove 1 golden carrot from player's inventory
    add 1 to {eat.zlot.march::%player%}
    apply speed tier 2 to the player for 30 seconds
on mine of stone:
    cancel event
    add 1 cobblestone to player's inventory
    add 1 to {mine.stone::%player%}
command /statystyki:
    trigger:
        open chest with 3 rows named "&a&lStatystyki" to player
        wait 1 tick
        format slot 10 of player with paper named "&eWbiles do nas" with lore "&6%{server.join::%player%}% raz/y" to be unstealable
        format slot 12 of player with enchanted golden apple named "&eZjadles" with lore "&6%{eat.kox::%player%}% kox/ow" to be unstealable
        format slot 14 of player with golden carrot named "&eZjadles" with lore "&6%{eat.zlot.march::%player%}% pioruny/ow " to be unstealable
        format slot 16 of player with stone named "&eWykopano" with lore "&6%{mine.stone::%player%}% kamien/ia/ie" to be unstealable

Jak zrobić aby w tym GUI otworzyła się druga strona?

 

Odnośnik do komentarza
Udostępnij na innych stronach

7 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 1

command /panel:
        permission: menu.admin
        permission message: &cBrak permisji
        trigger:
                open chest with 1 rows named "&cPanel Admina %player%" to player
                wait 2 tick
                format slot 0 of player with 1 of 347 named "&cUstaw pore dnia" to run [make player execute command "dni"]
command /dni:
        permission: menu.admin
        permission message: &cBrak permisji
        trigger:
                open chest with 1 rows named "&cWybierz pore Dnia" to player
                wait 2 tick
                format slot 0 of player with 1 of 339 named "&6&lDzien" to run "day"

Ja robiłem skrypt na panel administratora zainspiruj sie tym :D

PS: Robisz druga komende z gui

i tyle jezeli pomogłem :P

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
Teraz, Poter2003 napisał:

Jasne wyslij mi kod ja poprawie :D

PS: Jestem dobrym technikiem :P

Jak cos to moge na twoim serwerze byc technikiem

Dzięki ale jak chcesz to możesz pomagać wpisaniu itd. Zaczaiłem o co chodzi i piszę drugą stronę. Dzięki za pomoc :)

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
command /statystyki [<number="1">]
	trigger:
		argument isn't "1" or "2":
			player command "statystyki 1"
		number-argument is "1":
			open chest with 3 rows named "&a&lStatystyki" to player
			wait 5 ticks
			format slot 10 of player with paper named "&eWbiles do nas" with lore "&6%{server.join::%player%}% raz/y" to be unstealable
			format slot 12 of player with enchanted golden apple named "&eZjadles" with lore "&6%{eat.kox::%player%}% kox/ow" to be unstealable
			format slot 14 of player with golden carrot named "&eZjadles" with lore "&6%{eat.zlot.march::%player%}% pioruny/ow " to be unstealable
			format slot 16 of player with stone named "&eWykopano" with lore "&6%{mine.stone::%player%}% kamien/ia/ie" to be unstealable
			format slot 26 of player with ender egg named "druga strona" to close then run [player command "statystyki 2"]
		number-argument is "2":
			open chest with 3 rows named "druga strona" to player
			wait 5 ticks
			format slot 0 of player with paper named "DRUGA STRONA" to be unstealable
21 godzin temu, Poter2003 napisał:

PS: Jestem dobrym technikiem :P


Właśnie widzę , że chcesz , aby wysłał Tobie kod gdzie dał go w poście -.-

Edytowane przez esej
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...