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

[Pytanie] Plugin/Skript na TP


Rekomendowane odpowiedzi

Opublikowano

Witam.

Chciałbym się dowiedzieć czy znacie może plugin lub macie skrypt do pluginu Skript, który po kliknięciu np. Łzy Ghasta lub Blaze Roda i odczekaniu np. 5 sekund teleportuje na spawn? Komenda /spawn i tak jest usunięta z PermissionsEX jak coś.

Daje LIKE za pomoc.

A może ktoś byłby tak miły i napisałby taki skrypt?


PS: Gdzieś na na tym forum znalazłem taki skrypt ale on nie działa prawidłowo (po wpisaniu /spawn jest info że mam kliknąć blaze rod ale jak już klikam to nic się nie dzieje). Jeśli ktoś się na tym zna i mógłby pomóc to niech to wrzuci na hamaka i zobaczy co jest nie tak ;/

 

 

command /spawn:
    trigger:
        cancel event
        send "&aUzyj blaze rod'a, aby sie teleportowac."
 
on right click with blaze rod:
    set {move.%player%} to true
    if {move.%player%} is true:
        send "&lTp za &3&l10"
        wait 2 second
        if {move.%player%} is true:
            send "&lTp za &3&l8"
            wait 2 second
            if {move.%player%} is true:
                send "&lTp za &3&l6
                wait 2 second
                if {move.%player%} is true:
                    send "&lTp za &3&l4"
                    wait 2 second
                    if {move.%player%} is true:
                        send "&lTp za &3&l2"
                        wait 2 second
                        if {move.%player%} is true:
                            send "&lTp na &6&lspawn"
                            teleport player to spawn
                            remove blaze rod from player
On step on grass, stone, dirt, brick, netherrack, netherbrick, soulsand, sand, sandstone or gravel:
    if {move.%player%} is true:command /spawn:
    trigger:
        cancel event
        send "&aUzyj blaze rod'a, aby sie teleportowac."
 
on right click with blaze rod:
    set {move.%player%} to true
    if {move.%player%} is true:
        send "&lTp za &3&l10"
        wait 2 second
        if {move.%player%} is true:
            send "&lTp za &3&l8"
            wait 2 second
            if {move.%player%} is true:
                send "&lTp za &3&l6
                wait 2 second
                if {move.%player%} is true:
                    send "&lTp za &3&l4"
                    wait 2 second
                    if {move.%player%} is true:
                        send "&lTp za &3&l2"
                        wait 2 second
                        if {move.%player%} is true:
                            send "&lTp na &6&lspawn"
                            teleport player to spawn
                            remove blaze rod from player
On step on grass, stone, dirt, brick, netherrack, netherbrick, soulsand, sand, sandstone or gravel:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On rightclick on chest, enderchest, furnance, dispenser, enchantment table, trapped chest, dropper:
    if {mpve.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On drop blaze rod:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On damage:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."  
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On rightclick on chest, enderchest, furnance, dispenser, enchantment table, trapped chest, dropper:
    if {mpve.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On drop blaze rod:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On damage:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."   

 

 

 

Opublikowano
command /spawn:
    trigger:
        cancel event
        send "&aUzyj blaze rod'a, aby sie teleportowac."
  
on right click with blaze rod:
    set {move.%player%} to true
    if {move.%player%} is true:
        send "&lTp za &3&l10"
        wait 2 second
        if {move.%player%} is true:
            send "&lTp za &3&l8"
            wait 2 second
            if {move.%player%} is true:
                send "&lTp za &3&l6
                wait 2 second
                if {move.%player%} is true:
                    send "&lTp za &3&l4"
                    wait 2 second
                    if {move.%player%} is true:
                        send "&lTp za &3&l2"
                        wait 2 second
                        if {move.%player%} is true:
                            send "&lTp na &6&lspawn"
                            teleport player to spawn
                            remove blaze rod from player
On step on grass, stone, dirt, brick, netherrack, netherbrick, soulsand, sand, sandstone or gravel:
    if {move.%player%} is true:command /spawn:
    trigger:
        cancel event
        send "&aUzyj blaze rod'a, aby sie teleportowac."
  
on right click with blaze rod:
    set {move.%player%} to true
    if {move.%player%} is true:
        send "&lTp za &3&l10"
        wait 2 second
        if {move.%player%} is true:
            send "&lTp za &3&l8"
            wait 2 second
            if {move.%player%} is true:
                send "&lTp za &3&l6
                wait 2 second
                if {move.%player%} is true:
                    send "&lTp za &3&l4"
                    wait 2 second
                    if {move.%player%} is true:
                        send "&lTp za &3&l2"
                        wait 2 second
                        if {move.%player%} is true:
                            send "&lTp na &6&lspawn"
                            teleport player to spawn
                            remove blaze rod from player
On step on grass, stone, dirt, brick, netherrack, netherbrick, soulsand, sand, sandstone or gravel:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On rightclick on chest, enderchest, furnance, dispenser, enchantment table, trapped chest, dropper:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On drop blaze rod:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On damage:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana." 
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On rightclick on chest, enderchest, furnance, dispenser, enchantment table, trapped chest, dropper:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On drop blaze rod:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On damage:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."   

Teraz powinno działać

ein8.png

1378238828-U336505.png

Opublikowano

 

 

 

command /spawn:
    trigger:
        cancel event
        send "&aUzyj blaze rod'a, aby sie teleportowac."
  
on right click with blaze rod:
    set {move.%player%} to true
    if {move.%player%} is true:
        send "&lTp za &3&l10"
        wait 2 second
        if {move.%player%} is true:
            send "&lTp za &3&l8"
            wait 2 second
            if {move.%player%} is true:
                send "&lTp za &3&l6
                wait 2 second
                if {move.%player%} is true:
                    send "&lTp za &3&l4"
                    wait 2 second
                    if {move.%player%} is true:
                        send "&lTp za &3&l2"
                        wait 2 second
                        if {move.%player%} is true:
                            send "&lTp na &6&lspawn"
                            teleport player to spawn
                            remove blaze rod from player
On step on grass, stone, dirt, brick, netherrack, netherbrick, soulsand, sand, sandstone or gravel:
    if {move.%player%} is true:command /spawn:
    trigger:
        cancel event
        send "&aUzyj blaze rod'a, aby sie teleportowac."
  
on right click with blaze rod:
    set {move.%player%} to true
    if {move.%player%} is true:
        send "&lTp za &3&l10"
        wait 2 second
        if {move.%player%} is true:
            send "&lTp za &3&l8"
            wait 2 second
            if {move.%player%} is true:
                send "&lTp za &3&l6
                wait 2 second
                if {move.%player%} is true:
                    send "&lTp za &3&l4"
                    wait 2 second
                    if {move.%player%} is true:
                        send "&lTp za &3&l2"
                        wait 2 second
                        if {move.%player%} is true:
                            send "&lTp na &6&lspawn"
                            teleport player to spawn
                            remove blaze rod from player
On step on grass, stone, dirt, brick, netherrack, netherbrick, soulsand, sand, sandstone or gravel:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On rightclick on chest, enderchest, furnance, dispenser, enchantment table, trapped chest, dropper:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On drop blaze rod:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On damage:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana." 
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On rightclick on chest, enderchest, furnance, dispenser, enchantment table, trapped chest, dropper:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On drop blaze rod:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."
On damage:
    if {move.%player%} is true:
        set {move.%player%} to false
        send "&lTp zostala anulowana."   

Teraz powinno działać

 

 

Nie działa to też ;/

Oto błędy jakie są po wpisaniu /skript reload (nazwa pliku) :

post-755019-0-67583100-1377087376_thumb.png

post-755019-0-70621000-1377087379_thumb.png

post-755019-0-40067900-1377087382_thumb.png

Opublikowano

@up

Nie o to chodzi.. Bo to z TelePads musi robić admin a mi chodzi o to żeby gracz mógł się tp na spawn jak użyje np. blaze rod (w dowolnym miejscu na mapie)

Opublikowano

Sprawdź ten skrypt. Nie wiem czy bd działać nie jestem w stanie teraz tego sprawdzić

on rightclick with blaze rod:
	set {move.%player%} to true
	if {move.%player%} is true:
		send "&lTp za &3&l5"
		wait 1 second
		if {move.%player%} is true:
			send "&lTp za &3&l4"
			wait 1 second
			if {move.%player%} is true:
				send "&lTp za &3&l3
				wait 1 second
				if {move.%player%} is true:
					send "&lTp za &3&l2"
					wait 1 second
					if {move.%player%} is true:
						send "&lTp za &3&l1"
						wait 1 second
						if {move.%player%} is true:
							send "&lTp na &6&lspawn"
							execute player command  "/spawn"
							remove blaze rod from player

On step on grass or stone or dirt or brick or netherrack or netherbrick or soulsand or sand or sandstone or gravel:
	if {move.%player%} is true:
		set {move.%%player} to false
		send "&aTp zostala anulowana."

On rightclick on chest or enderchest or furnance or dispenser or enchantment table or trapped chest or dropper:
	if {move.%player%} is true:
		set {move.%player%} to false
		send "&lTp zostala anulowana."
On drop blaze rod:
	if {move.%player%} is true:
		set {move.%player%} to false
		send "&lTp zostala anulowana."

On damage:
	if {move.%victim%} is true:
		set {move.%victim%} to false
		send "&lTp zostala anulowana." to victim
	if {move.%attacker%} is true:
		set {move.%attacker%} to false
		send "&lTp zostala anulowana."to attacker

Daj +


Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...