Skocz do zawartości
  • 0

Pomoc przy komendzie "Pomoc"


SMOGEM
 Udostępnij

Pytanie

Witam, mam taką prośbe, otóż stworzyłem taką komende /pomoc, jednak chciałbym do niej dodać, że jeżeli sie kliknie na dany blok to przenosi mnie do tego czego chce. 

command /pomoc [<text>]:
    trigger:
        arg 1 is not set:
            open chest with 5 rows named "" to player
            format slot 11 of player with 1 of orange wool named "&bINFORMACJA O &6VIPIE" with lore "&eWpisz &c/vip&e, aby dowiedziec sie wiecej" to be unstealable
            format slot 13 of player with 1 of lime wool named "&aKOMENDY" with lore "&eWpisz &c/komendy&e, aby dowiedziec sie wiecej" to be unstealable
            format slot 15 of player with 1 of yellow wool named "&cZestawy" with lore "&eWpisz &c/kit&e, aby dowiedziec sie wiecej" to be unstealable
            format slot 29 of player with 1 of pink wool named "&cSamobojstwo" with lore "&eWpisz &c/samobojstwo&e, aby sie zabic" to be unstealable
            format slot 31 of player with 1 of red wool named "&6KLANY" with lore "&eWpisz &c/klany&e, aby dowiedziec sie wiecej" to be unstealable

czyli np jak kilkne w pomaranczowa welne to wyswietla mi sie kolejne okno  z zawartoscia co ma vip. okna sam bym uzupelnił, więc prosze tam nic nie dawać

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

7 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

na koncu zamiast: 

to be unstealable

daj:

to run [execute player command "komenda"]

przyklad:

command /vip:

    trigger:

        open chest with 3 rows named "&6Informacje o &2VIP'ie&6!" to the player

        format slot 14 of player with 1 of player head named "&2VIP" with lore "&6Koszt: &711.07||&6Czas: &730 dni" to be ustealable

        stop

 

command /pomoc:

    trigger:

        open chest with 3 rows named "&6POMOC!" to the player

        format slot 5 of player with 1 of player head named "&2VIP" with lore "&6Kliknij, aby przejsc!" to run [execute player command "vip"]

        stop

       

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

  • 0
Spoiler
# KOMENDY
command /samobojstwo:
    trigger:
        kill the player

command /pomoc [<text>]:
    trigger:
        arg 1 is not set:
            open chest with 5 rows named "" to player
            format slot 0 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 1 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 2 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 3 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 4 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 5 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 6 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 7 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 8 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 9 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 10 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 11 of player with 1 of enchanted golden apple named "&bINFORMACJA O &6VIPIE" with lore "&eKliknij w koxa, aby przejsc do vipa" to run [execute player command "vip"]
            format slot 12 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 13 of player with 1 of beacon named "&6KLANY" with lore "&eKliknij w beacon, aby przejsc do klanow" to run [execute player command "klany"]
            format slot 14 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 15 of player with 1 of wool named "&cZestawy" with lore "&eWpisz &c/zestaw&e, aby przejsc do kitow, mozesz tez wpisac wlasnorecznie /kit" to be unstealable
            format slot 16 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable			
            format slot 17 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 18 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 19 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 20 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 21 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 22 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 23 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 24 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 25 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 26 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 27 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 28 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 29 of player with 1 of mob head item named "&cZabij sie" with lore "&eKliknij aby sie zabic" to run [execute player command "samobojstwo"]
            format slot 30 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 31 of player with 1 of anvil named "&aKomendy" with lore "&eKomendy dostepne dla gracza." to run [execute player command "komendy"]
            format slot 32 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 33 of player with 1 of blue wool named "&eItem shop" with lore "..." to be unstealable
            format slot 34 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 35 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 36 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 37 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 38 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 39 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable 
            format slot 40 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 41 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 42 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 43 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 44 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            stop
			  
command /vip:
    trigger:
        send "&8=================="
        send "&eTermin: &cDo konca edycji"
        send "&eKoszt: &c6,15"
        send "&eLink do zakupu vipa: ..." 
        send "&aVip posiada:"
        send "&ePrefix przed nickiem &8[&eVIP&8] &2%name of player%"
        send "&eWiadomosci vipa sa bardziej widoczne"
        send "&c/hat &epozwala zalozyc blok na glowe"
        send "&c/enderchest &eprzenosny enderchest"
        send "&8=================="
		
command /komendy:
    trigger:
        send "&8=================="
        send "&c/Klany &e- Pozwala zalozyc swoj wlasny klan i dodawac do niego znajomych"
        send "&c/Kit &e- Zestawy"
        send "&c/Samobojstwo &e- Kocham Cię, jezeli tego chcesz"
        send "&c/Vip &e- Zobacz co posiada vip!"
        send "&c/Pomoc &e- Szybka pomoc..."
        send "&c/Itemshop &e- Link do sklepu internetowego"
        send "&8=================="
		
command /itemshop:
    trigger:
        send "&8=================="
        send "&9..."
        send "&8=================="

command /zestaw [<text>]:
    trigger:
        arg 1 is not set:
            open chest with 1 rows named "..." to player
            format slot 0 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 1 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 2 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 3 of player with 1 of wooden axe named "&eKit gracz" with lore "" to run [execute player command "kit gracz"]
            format slot 4 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 5 of player with 1 of iron pickaxe named "&eKit vip" with lore "" to run [execute player command "kit vip"]
            format slot 6 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 7 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            format slot 8 of player with 1 of yellow glass named "&eSZKLO" with lore "" to be unstealable
            stop

 

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Proszę. Przy okazji upiększyłem i skróciłem twój kod.

Spoiler
command /pomoc [<text>]:
	trigger:
		arg 1 is not set:
			open chest with 5 rows named "" to player
			wait 1 tick
			loop 5*9 times:
				format slot loop-number - 1 of player with 1 of yellow glass pane named "" to be unstealable
			format slot 11 of player with 1 of enchanted golden apple named "&bINFORMACJA O &6VIPIE" with lore "&eKliknij w koxa, aby przejsc do vipa" to run [execute player command "vip"]
			format slot 13 of player with 1 of beacon named "&6KLANY" with lore "&eKliknij w beacon, aby przejsc do klanow" to run [execute player command "klany"]
			format slot 15 of player with 1 of wool named "&cZESTAWY" with lore "&eWpisz &c/zestaw&e, aby przejsc do kitow,||&emozesz tez wpisac wlasnorecznie &c/kit" to run [execute player command "zestaw"]
			format slot 29 of player with 1 of mob head item named "&cZABIJ SIE" with lore "&eKliknij aby sie zabic" to run [kill player]
			format slot 31 of player with 1 of anvil named "&aKOMENDY" with lore "&eKomendy dostepne dla gracza." to run [execute player command "komendy"]
			format slot 33 of player with 1 of blue wool named "&eItem shop" with lore "..." to be unstealable
			stop
			  
command /vip:
	trigger:
		send "&8=================="
		send "&eTermin: &cDo konca edycji"
		send "&eKoszt: &c6,15"
		send "&eLink do zakupu vipa: ..." 
		send "&aVip posiada:"
		send "&ePrefix przed nickiem &8[&eVIP&8] &2%name of player%"
		send "&eWiadomosci vipa sa bardziej widoczne"
		send "&c/hat &epozwala zalozyc blok na glowe"
		send "&c/enderchest &eprzenosny enderchest"
		send "&8=================="
		
command /komendy:
	trigger:
		send "&8=================="
		send "&c/Klany &e- Pozwala zalozyc swoj wlasny klan i dodawac do niego znajomych"
		send "&c/Kit &e- Zestawy"
		send "&c/Samobojstwo &e- Kocham Cię, jezeli tego chcesz"
		send "&c/Vip &e- Zobacz co posiada vip!"
		send "&c/Pomoc &e- Szybka pomoc..."
		send "&c/Itemshop &e- Link do sklepu internetowego"
		send "&8=================="
		
command /itemshop:
	trigger:
		send "&8=================="
		send "&9..."
		send "&8=================="

command /zestaw [<text>]:
	trigger:
		arg 1 is not set:
			wait 1 tick
			open chest with 1 rows named "..." to player
			wait 1 tick
			loop 9 times:
				format slot loop-number - 1 of player with 1 of yellow glass pane named "" to be unstealable
			format slot 3 of player with 1 of wooden axe named "&eKit gracz" with lore "" to run [execute player command "kit gracz"]
			format slot 5 of player with 1 of iron pickaxe named "&eKit vip" with lore "" to run [execute player command "kit vip"]
			stop

 

 

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ę...