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 Crafting komendą - problem!


CevaBikaGaming

Rekomendowane odpowiedzi

Opublikowano

Siema, mam taki skrypt

 

 

command /amulet:

    trigger:
        send "&aAmulet Potegi daje wszystkie efekty amuletow,"
        send "7ausuwa wrogie efekty oraz leczy glod"
        send "&aAby stworzyc amulet potegi musisz miec"
        send "&aw ekwipunku nastepujace przedmioty:"
        send "&cAmulet Sily IV &ax1"
        send "&cAmulet Szybkosci IV &ax1"
        send "&cAmulet Regeneracji IV &ax1"
        send "&cAmulet Odpornosci IV &ax1"
        send "&cVortex &ax1"
        send "&cButy Apollo &ax1"
        send "&cKrysztal Endermite &a10x 64"
        send "&cMagiczna Moneta &a10x 64"
        send "&cMityczna Skala &a5x64"
        send "Sztabka Wzmocnionej Energii &ax64"
        send "&aJesli masz wszystkie te przedmioty, wpisz"
        send "&a/craftujamulet. Szansa na zrobienie wynosi 100%%"
 
command /craftujamulet:
    trigger:
        if player has 1 blaze rod of unbreaking 10 named "&6Amulet Sily IV" and 1 blaze powder of unbreaking 10 named  "&1Amulet Szybkosci IV" and 1 magma cream of unbreaking 10 named "&aAmulet Regeneracji IV" and 1 iron ingot of unbreaking 10 named "&9&lTarcza IV" and 1 diamond hoe of unbreaking 10 named "&6VorteX" and 1 golden boots of unbreaking 10 named "&6Buty Apollo" and 160 enderpearl of unbreaking 10 named "&b&lKrysztal Endermite" and 640 175 named "&5&lMagiczna Moneta" and 320 lapis lazuli named "&dMityczna Skala" and 64 nether brick named "&4&lSztabka Wzmocnionej Energii":
            remove 1 blaze rod of unbreaking 10 named "&6Amulet Sily IV" and 1 blaze powder of unbreaking 10 named  "&1Amulet Szybkosci IV" and 1 magma cream of unbreaking 10 named "&aAmulet Regeneracji IV" and 1 iron ingot of unbreaking 10 named "&9&lTarcza IV" and 1 diamond hoe of unbreaking 10 named "&6VorteX" and 1 golden boots of unbreaking 10 named "&6Buty Apollo" and 160 enderpearl of unbreaking 10 named "&b&lKrysztal Endermite" and 640 175 named "&5&lMagiczna Moneta" and 320 lapis lazuli named "&dMityczna Skala" and 64 nether brick named "&4&lSztabka Wzmocnionej Energii" from player
            add 1 nether star of unbreaking 10 named "&d&lAmulet Potegi" to player
            send "&4&lGRACZ %PLAYER% UTWORZYL AMULET POTEGI! GRATULACJE!" to all players
            loop 10 times:
                execute console command "thor %player%"

 
Gdy pisze /sk reload amulet serwer dostaje wielkiego laga i trzeba wyłączać go przez konsolę.
Dlaczego tak się dzieje? jeśli ktoś ma czas i ochotę może napisać taki sam skrypt tylko w gui.
 
 
 
Opublikowano
command /amulet:
	trigger:
		send "&aAmulet Potegi daje wszystkie efekty amuletow,"
		send "&ausuwa wrogie efekty oraz leczy glod"
		send "&aAby stworzyc amulet potegi musisz miec"
		send "&aw ekwipunku nastepujace przedmioty:"
		send "&cAmulet Sily IV &ax1"
		send "&cAmulet Szybkosci IV &ax1"
		send "&cAmulet Regeneracji IV &ax1"
		send "&cAmulet Odpornosci IV &ax1"
		send "&cVortex &ax1"
		send "&cButy Apollo &ax1"
		send "&cKrysztal Endermite &a10x 64"
		send "&cMagiczna Moneta &a10x 64"
		send "&cMityczna Skala &a5x64"
		send "&cSztabka Wzmocnionej Energii &ax64"
		send "&aJesli masz wszystkie te przedmioty, wpisz"
		send "&a/craftujamulet. Szansa na zrobienie wynosi 100%%"



command /craftujamulet:
	trigger:
		if player has 1 blaze rod of unbreaking 10 named "&6Amulet Sily IV":
			if player has 1 blaze powder of unbreaking 10 named  "&1Amulet Szybkosci IV":
				if player has 1 magma cream of unbreaking 10 named "&aAmulet Regeneracji IV":
					if player has 1 iron ingot of unbreaking 10 named "&9&lTarcza IV":
						if player has 1 diamond hoe of unbreaking 10 named "&6VorteX":
							if player has 1 golden boots of unbreaking 10 named "&6Buty Apollo":
								if player has 160 ender pearl of unbreaking 10 named "&b&lKrysztal Endermite":
									if player has 640 sunflower named "&5&lMagiczna Moneta":
										if player has 320 lapis lazuli named "&dMityczna Skala":
											if player has 64 nether brick named "&4&lSztabka Wzmocnionej Energii":
												remove 1 blaze rod of unbreaking 10 named "&6Amulet Sily IV" from player's inventory
												remove 1 blaze powder of unbreaking 10 named  "&1Amulet Szybkosci IV" from player's inventory
												remove 1 magma cream of unbreaking 10 named "&aAmulet Regeneracji IV" from player's inventory
												remove 1 iron ingot of unbreaking 10 named "&9&lTarcza IV" from player's inventory
												remove 1 diamond hoe of unbreaking 10 named "&6VorteX" from player's inventory
												remove 1 golden boots of unbreaking 10 named "&6Buty Apollo" from player's inventory
												remove 160 ender pearl of unbreaking 10 named "&b&lKrysztal Endermite" from player's inventory
												remove 640 sunflower named "&5&lMagiczna Moneta" from player's inventory
												remove 320 lapis lazuli named "&dMityczna Skala" from player's inventory
												remove 64 nether brick named "&4&lSztabka Wzmocnionej Energii" from player's inventory
												give 1 nether star of unbreaking 10 named "&d&lAmulet Potegi" to the player
												send "&4&lGRACZ %PLAYER% UTWORZYL AMULET POTEGI! GRATULACJE!" to all players
												loop 10 times:
													execute console command "thor %player%"
											else:
												send "&cNie posiadasz Materialow!"
												stop
										else:
											send "&cNie posiadasz Materialow!"
											stop
									else:
										send "&cNie posiadasz Materialow!"
										stop
								else:
									send "&cNie posiadasz Materialow!"
									stop
							else:
								send "&cNie posiadasz Materialow!"
								stop
						else:
							send "&cNie posiadasz Materialow!"
							stop
					else:
						send "&cNie posiadasz Materialow!"
						stop
				else:
					send "&cNie posiadasz Materialow!"
					stop
			else:
				send "&cNie posiadasz Materialow!"
				stop
		else:
			send "&cNie posiadasz Materialow!"
			stop
			
command /dajamulet:
	trigger:
		if player has permission "amulet.admin":
			give 1 blaze rod of unbreaking 10 named "&6Amulet Sily IV" to the player
			give 1 blaze powder of unbreaking 10 named  "&1Amulet Szybkosci IV" to the player
			give 1 magma cream of unbreaking 10 named "&aAmulet Regeneracji IV" to the player
			give 1 iron ingot of unbreaking 10 named "&9&lTarcza IV" to the player
			give 1 diamond hoe of unbreaking 10 named "&6VorteX" to the player
			give 1 golden boots of unbreaking 10 named "&6Buty Apollo" to the player
			give 160 ender pearl of unbreaking 10 named "&b&lKrysztal Endermite" to the player
			give 640 sunflower named "&5&lMagiczna Moneta" to the player
			give 320 lapis lazuli named "&dMityczna Skala" to the player
			give 64 nether brick named "&4&lSztabka Wzmocnionej Energii" to the player
			give 1 nether star of unbreaking 10 named "&d&lAmulet Potegi" to the player

a tu masz na pastebin(polecam brac z tego wyzej poniewaz jak kopiujesz z pastebina to problem z tabami ): http://pastebin.com/X6AsD2jr

 

sprawdzone- dziala

 

licze na + xD

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...