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

Potrzebuje skrypt na zestawy


PaluchCraft

Rekomendowane odpowiedzi

Opublikowano

Skrypt gdzie jak wpisze /zestaw Hard dostaje zestaw hard czyli caly diamentowy set 4/3 miecz 5/2 2 koxy i 5 refili
jak wpisze /zestaw knock dostaje set prot 4 miecz sharpness 5 i drugi miecz knock 2 unbreaking 3 a takze 1 koxa i 3 refile
a jak wpisze /zestaw poty to dostane seta 4/3 mieczyk 5/2 i 2 poty streng 2, 2 poty speed 2 i 2 poty fire. i 2 posion i 2 slowness i reszta eq to rzucane heale

jak ktos mi da lub napisze taki skrypt DAJE  DUUUZY + .

Z gory dziekuje :)

1377531174-U173186.png

Opublikowano

Komenda z argumentami:

command /zestaw [<text>]:
	trigger:
		arg is not set:
			send "&6Podaj nazwe zestawu"
			stop
		arg is "hard" or "knock" or "poty":
			arg is "hard":
				clear player's inventory
				add diamond helmet of protection 4 and unbreaking 3 to player's helmet
				add diamond chestplate of protection 4 and unbreaking 3 to player's chestplate
				add diamond leggings of protection 4 and unbreaking 3 to player's leggings
				add diamond boots of protection 4 and unbreaking 3 to player's boots
				give diamond sword of sharpness 5 and fire aspect 2 to player
				give 2 enchanted golden apple to player
				give 5 golden apple to player
				loop 5 times:
					give stone named "%loop-number%" to player
				give 16 steak to player
				remove 5 stone from player
			arg is "knock":
				clear player's inventory
				add diamond helmet of protection 4 to player's helmet
				add diamond chestplate of protection 4 to player's chestplate
				add diamond leggings of protection 4 to player's leggings
				add diamond boots of protection 4 to player's boots
				give diamond sword of sharpness 5 to player
				give iron sword of knockback 2 to player
				give enchanted golden apple to player
				give 3 golden apple to player
				loop 4 times:
					give stone named "%loop-number%" to player
				give 16 steak to player
				remove 4 stone from player
			arg is "poty":
				clear player's inventory
				add diamond helmet of protection 4 and unbreaking 3 to player's helmet
				add diamond chestplate of protection 4 and unbreaking 3 to player's chestplate
				add diamond leggings of protection 4 and unbreaking 3 to player's leggings
				add diamond boots of protection 4 and unbreaking 3 to player's boots
				give diamond sword of sharpness 5 and fire aspect 2 to player
				give potion of:8265 to player
				give potion of:8258 to player
				give potion of:8259 to player
				loop 4 times:
					give potion of:16421 to player
				give 16 steak to player
				give potion of:8265 to player
				give potion of:8258 to player
				give potion of:8259 to player
				loop 6 times:
					give potion of:16421 to player
				loop 2 times:
					give potion of:16388 to player
				give potion of:16426 to player
				loop 6 times:
					give potion of:16421 to player
				give potion of:16426 to player
				loop 2 times:
					give potion of:16422 to player
				loop 6 times:
					give potion of:16421 to player
		else:
			send "&4Blad: &cPodales zla nazwe zestawu"

Komenda ze sprawdzaniem świata:

options:
	# NAZWY SWIATOW DO AREN:
	hard: ArenaHard
	knock: ArenaKnock
	poty: ArenaPoty
command /zestaw [<text>]:
	trigger:
		world is "{@hard}" or "{@knock}" or "{@poty}":
			world is "{@hard}":
				clear player's inventory
				add diamond helmet of protection 4 and unbreaking 3 to player's helmet
				add diamond chestplate of protection 4 and unbreaking 3 to player's chestplate
				add diamond leggings of protection 4 and unbreaking 3 to player's leggings
				add diamond boots of protection 4 and unbreaking 3 to player's boots
				give diamond sword of sharpness 5 and fire aspect 2 to player
				give 2 enchanted golden apple to player
				give 5 golden apple to player
				loop 5 times:
					give stone named "%loop-number%" to player
				give 16 steak to player
				remove 5 stone from player
				stop
			world is "{@knock}":
				clear player's inventory
				add diamond helmet of protection 4 to player's helmet
				add diamond chestplate of protection 4 to player's chestplate
				add diamond leggings of protection 4 to player's leggings
				add diamond boots of protection 4 to player's boots
				give diamond sword of sharpness 5 to player
				give iron sword of knockback 2 to player
				give enchanted golden apple to player
				give 3 golden apple to player
				loop 4 times:
					give stone named "%loop-number%" to player
				give 16 steak to player
				remove 4 stone from player
				stop
			world is "{@poty}":
				clear player's inventory
				add diamond helmet of protection 4 and unbreaking 3 to player's helmet
				add diamond chestplate of protection 4 and unbreaking 3 to player's chestplate
				add diamond leggings of protection 4 and unbreaking 3 to player's leggings
				add diamond boots of protection 4 and unbreaking 3 to player's boots
				give diamond sword of sharpness 5 and fire aspect 2 to player
				give potion of:8265 to player
				give potion of:8258 to player
				give potion of:8259 to player
				loop 4 times:
					give potion of:16421 to player
				give 16 steak to player
				give potion of:8265 to player
				give potion of:8258 to player
				give potion of:8259 to player
				loop 6 times:
					give potion of:16421 to player
				loop 2 times:
					give potion of:16388 to player
				give potion of:16426 to player
				loop 6 times:
					give potion of:16421 to player
				give potion of:16426 to player
				loop 2 times:
					give potion of:16422 to player
				loop 6 times:
					give potion of:16421 to player
				stop
		send "&4Blad: &cNie mozesz tutaj wziac zestawu"
Opublikowano

Zmienilby ktos aby w tym skrypcie robio sie tak ze mozna wpisac /zestaw hard i /zestaw hard @p lub nick aby w commanblocku dawalo ten zestaw

Proszę: (nie testowałem)

command /zestaw [<text>] [<player>]:
	trigger:
		executor is not console:
			send "&cNie mozesz tego uzywac!"
			stop
		arg 1 is "hard" or "knock" or "poty":
			arg 1 is "hard":
				clear arg 2's inventory
				add diamond helmet of protection 4 and unbreaking 3 to arg 2's helmet
				add diamond chestplate of protection 4 and unbreaking 3 to arg 2's chestplate
				add diamond leggings of protection 4 and unbreaking 3 to arg 2's leggings
				add diamond boots of protection 4 and unbreaking 3 to arg 2's boots
				give diamond sword of sharpness 5 and fire aspect 2 to arg 2
				give 2 enchanted golden apple to arg 2
				give 5 golden apple to arg 2
				loop 5 times:
					give stone named "%loop-number%" to arg 2
				give 16 steak to arg 2
				remove 5 stone from arg 2
			arg 1 is "knock":
				clear arg 2's inventory
				add diamond helmet of protection 4 to arg 2's helmet
				add diamond chestplate of protection 4 to arg 2's chestplate
				add diamond leggings of protection 4 to arg 2's leggings
				add diamond boots of protection 4 to arg 2's boots
				give diamond sword of sharpness 5 to arg 2
				give iron sword of knockback 2 to arg 2
				give enchanted golden apple to arg 2
				give 3 golden apple to arg 2
				loop 4 times:
					give stone named "%loop-number%" to arg 2
				give 16 steak to arg 2
				remove 4 stone from arg 2
			arg 1 is "poty":
				clear arg 2's inventory
				add diamond helmet of protection 4 and unbreaking 3 to player's arg 2
				add diamond chestplate of protection 4 and unbreaking 3 to arg 2's chestplate
				add diamond leggings of protection 4 and unbreaking 3 to arg 2's leggings
				add diamond boots of protection 4 and unbreaking 3 to arg 2's boots
				give diamond sword of sharpness 5 and fire aspect 2 to arg 2
				give potion of:8265 to arg 2
				give potion of:8258 to arg 2
				give potion of:8259 to arg 2
				loop 4 times:
					give potion of:16421 to arg 2
				give 16 steak to arg 2
				give potion of:8265 to arg 2
				give potion of:8258 to arg 2
				give potion of:8259 to arg 2
				loop 6 times:
					give potion of:16421 to arg 2
				loop 2 times:
					give potion of:16388 to arg 2
				give potion of:16426 to arg 2
				loop 6 times:
					give potion of:16421 to arg 2
				give potion of:16426 to arg 2
				loop 2 times:
					give potion of:16422 to arg 2
				loop 6 times:
					give potion of:16421 to arg 2

Nie testowałem, czy działa.

Opublikowano

@1361622928-U485574.pngNeonowsky A napisalbys mi skrypt ze jak wchodze w portal w warpportals to zeby mnie tepalo w tamto miejsce na innym swiecie i dawalo wybrany zestaw
albo inny skrypt/plugin na te portale ale zeby po wejsciu dalo mi wybrany zestaw

1377531174-U173186.png

Opublikowano
on teleport:
     if player's world is "ArenaHard":
   ­      execute player command "zestaw hard"

Nie wiem czy to podziała ale powinno działać :)

Uważam, że poziom mojej inteligencji nie przekracza poziomu inteligencji przeciętnego człowieka.

Opublikowano
on teleport:
     if player's world is "ArenaKnock":
   ­      execute player command "zestaw knock" 
on teleport:
     if player's world is "ArenaPoty":
   ­      execute player command "zestaw poty" 

­

Uważam, że poziom mojej inteligencji nie przekracza poziomu inteligencji przeciętnego człowieka.

Opublikowano

czekaj, wpadłem na inny pomysł.
 

on any move:
     if player's world is "ArenaKnock":
   ­      execute player command "zestaw knock" 
     if player's world is "ArenaPoty":
   ­      execute player command "zestaw poty" 

­

Uważam, że poziom mojej inteligencji nie przekracza poziomu inteligencji przeciętnego człowieka.

Opublikowano

czekaj, wpadłem na inny pomysł.

 

on any move:
     if player's world is "ArenaKnock":
   ­      execute player command "zestaw knock" 
     if player's world is "ArenaPoty":
   ­      execute player command "zestaw poty" 

­

Tak, i przy dosłownie każdym ruchu będzie mu dawać te 2 zestawy, gratuluję pomysłu! :D

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...