Skocz do zawartości
  • 0

skript na zadania w gui


SzlugPL

Pytanie

Witam. Poszukuje takiego skriptu że po wpisaniu komendy /zadania lub /misje lub /wyzwania otwierała się skrzynka (gui) i są zadania jak tutaj tylko ja dam swoje tylko pokaże jak to ma wyglądać "zadania można wykonać TYLKO RAZ" :

https://iv.pl/images/99866807012020658086.jpg

1 zadanie wykop 64 cobla

2 zadanie wykop 64 stona

3zadanie oddaj 1 żelazo

4 zadanie oddaj 1 złoto

5 zadanie oddaj 1 diament

6 zadanie oddaj 1 szmaragd

7 zadanie zasadz 6 nasion arbuza zbierz plony i oddaj

8 zadanie zasadz 6 nasion dyni zbiarz plony i oddaj

9 zadanie zasadz 6 nasion przenicy zbierz plony i oddaj

10 zadanie oddaj 10 kaktusów 

11 zadanie zabij 10 zombie

12 zadanie skraftuj piec

13 zadanie zabij 1 gracza

nagrody prosze dac przykładowe to ja zmienię po swojemu

 

 

Odnośnik do komentarza
https://skript.pl/temat/19146-skript-na-zadania-w-gui/
Udostępnij na innych stronach

15 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

prosze :)

Spoiler

command /zadania [<text>] [<player>]:
	trigger:
		if executor is player:
			if arg-1 is not set:
				open chest with 6 rows named "&e&lZadania" to player
				wait 2 tick
				set {_} to 1
				loop {zadania::*}:
					clear {_itemy}
					clear {_nagroda}
					set {_s} to 0
					loop {ukonczone::zadania::%player%::*}:
						if "%loop-value-2%" is "%loop-value-1%":
							format slot {_} -1 of player with red wool named "&e&lZadanie %{_}%" with lore "&cUkonczone" to be unstealable
							set {_s} to 1
					if {_s} is not 1:
						set {_itemy} to "%{itemy::%loop-value%::*}%"
						replace all ", " with "||&e&l- " in {_itemy}
						replace all "and " with "||&e&l- " in {_itemy}
						set {_nagroda} to "%{nagroda::%loop-value%::*}%"
						replace all ", " with "||&e&l- " in {_nagroda}
						replace all "and " with "||&e&l- " in {_nagroda}
						format slot {_} -1 of player with paper named "&e&lZadanie %{_}%" with lore "&cWymagane przednioty:||&e&l- %{_itemy}%||||&2&lNagroda:||&e&l- %{_nagroda}%" to run "zadania %{_}% %player%"
					add 1 to {_}
			else:
				stop
		else:
			loop {zadania::*}:
				if arg-1 is "%loop-value-1%":
					loop {itemy::%arg-1%::*}:
						broadcast "%loop-value-2%   %arg-1%"
						if player-arg has loop-value-2:
							send "masz %loop-value-2%" to player-arg
						else:
							send "&cNie masz %loop-value-2%" to player-arg
							stop
					loop {itemy::%loop-value-1%::*}:
						remove loop-value-2 from player-arg
					loop {nagroda::%loop-value-1%::*}:
						give player-arg loop-value-2
					send "&2Ukonczyles zadanie %loop-value-1%" to player-arg
					add "%loop-value-1%" to {ukonczone::zadania::%player-arg%::*}
					make player-arg execute command "zadania"
command /admin [<text>] [<text>] [<text>]:
	trigger:
		if player is op
			if arg-1 is not set:
				send "&e&l/admin stworz &8&l- &etworzy zadanie"
				send "&e&l/admin itemy &8&l- &eedytuje wymagane itemy za zadanie"
				send "&e&l/admin nagroda &8&l- &eedytuje nagroda za zadanie"
				send "&e&l/admin usun &8&l- &eusuwa zadanie"
			if arg-1 is "stworz":
				set {_} to size of {zadania::*} +1
				add {_} to {zadania::*}
				send "stworzono zadanie %{_}%"
			if arg-1 is "usun":
				loop {zadania::*}:
					if arg-2 is "%loop-value%":
						clear {nagroda::%loop-value%::*}
						clear {itemy::%loop-value%::*}
						remove loop-value from {zadania::*}
						send "usunieto zadanie %arg-2%"
						loop {ukonczone::zadania::*}:
							remove arg-2 from {ukonczone::zadania::%loop-index-2%::*}
			if arg-1 is "itemy":
				loop {zadania::*}:
					if arg-2 is "%loop-value%":
						open chest with 3 rows named "itemy do zadania %arg-2%" to player
						wait 2 tick
						set {_} to 0
						loop {itemy::%loop-value%::*}:
							set slot {_} of player's current inventory to loop-value-2 
							add 1 to {_}
			if arg-1 is "nagroda":
				loop {zadania::*}:
					if arg-2 is "%loop-value%":
						open chest with 3 rows named "nagroda do zadania %arg-2%" to player
						wait 2 tick
						set {_} to 0
						loop {nagroda::%loop-value%::*}:
							set slot {_} of player's current inventory to loop-value-2 
							add 1 to {_}
on inventory close:
	if inventory name of player's current inventory contains "nagroda do zadania":
		set {_} to "%inventory name of player's current inventory%"
		replace all "nagroda do zadania " with "" in {_}
		clear {nagroda::%{_}%::*}
		loop 3*9 times:
			if slot loop-number -1 of player's current inventory is not air:
				add slot loop-number -1 of player's current inventory to {nagroda::%{_}%::*}
		send "&2Zapisano nagrody zadania %{_}%"
	if inventory name of player's current inventory contains "itemy do zadania":
		set {_} to "%inventory name of player's current inventory%"
		replace all "itemy do zadania " with "" in {_}
		clear {itemy::%{_}%::*}
		loop 3*9 times:
			if slot loop-number -1 of player's current inventory is not air:
				add slot loop-number -1 of player's current inventory to {itemy::%{_}%::*}
		send "&2Zapisano itemy zadania %{_}%"

 

więc tak po:

1.wpisz /admin - spis komend

2.wpisz /admin stworz -  tworzy zadanie

3.wpisz /admin itemy [numer zadania] - ustawia wymagane itemy

4.wpisz /admin nagroda [numer zadania] - ustawia nagroda

5wpisz /zadania

6daj mi like i najlepsza odpowiedz :)

Odnośnik do komentarza
https://skript.pl/temat/19146-skript-na-zadania-w-gui/#findComment-131170
Udostępnij na innych stronach

  • 0

@kaol48s błędy są

 

 

 

sk reload zadania
[12:34:06 INFO]: [Skript] Reloading zadania.sk...
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (zadania.sk, line 47: if arg-1 is not set:')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (zadania.sk, line 48: send "&e&l/admin stworz &8&l- &etworzy zadanie"')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (zadania.sk, line 49: send "&e&l/admin itemy &8&l- &eedytuje wymagane itemy za zadanie"')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (zadania.sk, line 50: send "&e&l/admin nagroda &8&l- &eedytuje nagroda za zadanie"')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (zadania.sk, line 51: send "&e&l/admin usun &8&l- &eusuwa zadanie"')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (zadania.sk, line 52: if arg-1 is "stworz":')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (zadania.sk, line 53: set {_} to size of {zadania::*} +1')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (zadania.sk, line 54: add {_} to {zadania::*}')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (zadania.sk, line 55: send "stworzono zadanie %{_}%"')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (zadania.sk, line 56: if arg-1 is "usun":')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (zadania.sk, line 57: loop {zadania::*}:')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 5 tabs (zadania.sk, line 58: if arg-2 is "%loop-value%":')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 59: clear {nagroda::%loop-value%::*}')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 60: clear {itemy::%loop-value%::*}')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 61: remove loop-value from {zadania::*}')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 62: send "usunieto zadanie %arg-2%"')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 63: loop {ukonczone::zadania::*}:')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 7 tabs (zadania.sk, line 64: remove arg-2 from {ukonczone::zadania::%loop-index-2%::*}')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (zadania.sk, line 65: if arg-1 is "itemy":')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (zadania.sk, line 66: loop {zadania::*}:')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 5 tabs (zadania.sk, line 67: if arg-2 is "%loop-value%":')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 68: open chest with 3 rows named "itemy do zadania %arg-2%" to player')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 69: wait 2 tick')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 70: set {_} to 0')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 71: loop {itemy::%loop-value%::*}:')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 7 tabs (zadania.sk, line 72: set slot {_} of player's current inventory to loop-value-2')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 7 tabs (zadania.sk, line 73: add 1 to {_}')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 3 tabs (zadania.sk, line 74: if arg-1 is "nagroda":')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 4 tabs (zadania.sk, line 75: loop {zadania::*}:')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 5 tabs (zadania.sk, line 76: if arg-2 is "%loop-value%":')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 77: open chest with 3 rows named "nagroda do zadania %arg-2%" to player')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 78: wait 2 tick')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 79: set {_} to 0')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 6 tabs (zadania.sk, line 80: loop {nagroda::%loop-value%::*}:')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 7 tabs (zadania.sk, line 81: set slot {_} of player's current inventory to loop-value-2')
[12:34:06 ERROR]: indentation error: expected 2 tabs, but found 7 tabs (zadania.sk, line 82: add 1 to {_}')
[12:34:07 ERROR]: 'chest with 6 rows named "&e&lZadania"' is not an entity type (zadania.sk, line 5: open chest with 6 rows named "&e&lZadania" to player')
[12:34:07 ERROR]: Can't understand this condition/effect: format slot {_} -1 of player with red wool named "&e&lZadanie %{_}%" with lore "&cUkonczone" to be unstealable (zadania.sk, line 14: format slot {_} -1 of player with red wool named "&e&lZadanie %{_}%" with lore "&cUkonczone" to be unstealable')
[12:34:07 ERROR]: Can't understand this condition/effect: format slot {_} -1 of player with paper named "&e&lZadanie %{_}%" with lore "&cWymagane przednioty:||&e&l- %{_itemy}%||||&2&lNagroda:||&e&l- %{_nagroda}%" to run "zadania %{_}% %player%" (zadania.sk, line 23: format slot {_} -1 of player with paper named "&e&lZadanie %{_}%" with lore "&cWymagane przednioty:||&e&l- %{_itemy}%||||&2&lNagroda:||&e&l- %{_nagroda}%" to run "zadania %{_}% %player%"')
 
Edytowane przez SzlugPL
Odnośnik do komentarza
https://skript.pl/temat/19146-skript-na-zadania-w-gui/#findComment-131681
Udostępnij na innych stronach

  • 0

@kaol48s @SayJacoB 

[21:41:17 INFO]: [Skript] Reloading zadania.sk...
[21:41:17 ERROR]: 'chest with 6 rows named "&e&lZadania"' is not an entity type (zadania.sk, line 5: open chest with 6 rows named "&e&lZadania" to player')
[21:41:17 ERROR]: Can't understand this condition/effect: format slot {_} -1 of player with red wool named "&e&lZadanie %{_}%" with lore "&cUkonczone" to be unstealable (zadania.sk, line 14: format slot {_} -1 of player with red wool named "&e&lZadanie %{_}%" with lore "&cUkonczone" to be unstealable')
[21:41:17 ERROR]: Can't understand this condition/effect: format slot {_} -1 of player with paper named "&e&lZadanie %{_}%" with lore "&cWymagane przednioty:||&e&l- %{_itemy}%||||&2&lNagroda:||&e&l- %{_nagroda}%" to run "zadania %{_}% %player%" (zadania.sk, line 23: format slot {_} -1 of player with paper named "&e&lZadanie %{_}%" with lore "&cWymagane przednioty:||&e&l- %{_itemy}%||||&2&lNagroda:||&e&l- %{_nagroda}%" to run "zadania %{_}% %player%"')
[21:41:17 ERROR]: 'chest with 3 rows named "itemy do zadania %arg-2%"' is not an entity type (zadania.sk, line 68: open chest with 3 rows named "itemy do zadania %arg-2%" to player')
[21:41:17 ERROR]: 'player's current inventory' is not an item stack (zadania.sk, line 72: set slot {_} of player's current inventory to loop-value-2')
[21:41:17 ERROR]: 'chest with 3 rows named "nagroda do zadania %arg-2%"' is not an entity type (zadania.sk, line 77: open chest with 3 rows named "nagroda do zadania %arg-2%" to player')
[21:41:17 ERROR]: 'player's current inventory' is not an item stack (zadania.sk, line 81: set slot {_} of player's current inventory to loop-value-2')
[21:41:17 ERROR]: can't understand this event: 'on inventory close' (zadania.sk, line 83: on inventory close:')
[21:41:17 INFO]: [Skript] Encountered 8 errors while reloading zadania.sk!

 

Odnośnik do komentarza
https://skript.pl/temat/19146-skript-na-zadania-w-gui/#findComment-132000
Udostępnij na innych stronach

  • 0

ktoś naprawi?

 
sk reload all
[02:11:34 INFO]: [Skript] Reloading the config and all scripts...
[02:11:49 INFO]: Loaded a total of 782312 english aliases
[02:11:49 WARN]: There are no aliases defined for the following ids: 213, 214, 215, 216, 217
[02:11:49 WARN]: 'chat.sk' is empty
[02:11:49 ERROR]: 'chest with 2 rows named "&c&l&oDrop z kamienia (Dla Graczy)!"' is not an entity type (komendy.sk, line 29: open chest with 2 rows named "&c&l&oDrop z kamienia (Dla Graczy)!" to player')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 0 of player with 1 of diamond named "&b&lDiament" with lore "&b&lBez szczęscia &8- &c&l0.3%%||&b&lSzczęscie 1 &8- &c&l0.4%%||&b&lSzczęscie 2 &8- &c&l0.5%%||&b&lSzczęscie 3 &8- &c&l0.6%%" to be unstealable (komendy.sk, line 31: format slot 0 of player with 1 of diamond named "&b&lDiament" with lore "&b&lBez szczęscia &8- &c&l0.3%%||&b&lSzczęscie 1 &8- &c&l0.4%%||&b&lSzczęscie 2 &8- &c&l0.5%%||&b&lSzczęscie 3 &8- &c&l0.6%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 1 of player with 1 of gold ingot named "&6&lSztabka Złota" with lore "&b&lBez szczęscia &8- &c&l0.4%%||&b&lSzczęscie 1 &8- &c&l0.5%%||&b&lSzczęscie 2 &8- &c&l0.6%%||&b&lSzczęscie 3 &8- &c&l0.7%%" to be unstealable (komendy.sk, line 32: format slot 1 of player with 1 of gold ingot named "&6&lSztabka Złota" with lore "&b&lBez szczęscia &8- &c&l0.4%%||&b&lSzczęscie 1 &8- &c&l0.5%%||&b&lSzczęscie 2 &8- &c&l0.6%%||&b&lSzczęscie 3 &8- &c&l0.7%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 2 of player with 1 of iron ingot named "&7&lSztabka Żelaza" with lore "&b&lBez szczęscia &8- &c&l0.4%%||&b&lSzczęscie 1 &8- &c&l0.5%%||&b&lSzczęscie 2 &8- &c&l0.6%%||&b&lSzczęscie 3 &8- &c&l0.7%%" to be unstealable (komendy.sk, line 33: format slot 2 of player with 1 of iron ingot named "&7&lSztabka Żelaza" with lore "&b&lBez szczęscia &8- &c&l0.4%%||&b&lSzczęscie 1 &8- &c&l0.5%%||&b&lSzczęscie 2 &8- &c&l0.6%%||&b&lSzczęscie 3 &8- &c&l0.7%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 3 of player with 1 of coal named "&7&lWęgiel" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable (komendy.sk, line 34: format slot 3 of player with 1 of coal named "&7&lWęgiel" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 4 of player with 1 of redstone named "&4&lRedStone" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable (komendy.sk, line 35: format slot 4 of player with 1 of redstone named "&4&lRedStone" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 5 of player with 1 of lapis lazuli named "&3&lLapiz Lazuli" with lore "&b&lBez szczęscia &8- &c&l0.6%%||&b&lSzczęscie 1 &8- &c&l0.7%%||&b&lSzczęscie 2 &8- &c&l0.8%%||&b&lSzczęscie 3 &8- &c&l0.9%%" to be unstealable (komendy.sk, line 36: format slot 5 of player with 1 of lapis lazuli named "&3&lLapiz Lazuli" with lore "&b&lBez szczęscia &8- &c&l0.6%%||&b&lSzczęscie 1 &8- &c&l0.7%%||&b&lSzczęscie 2 &8- &c&l0.8%%||&b&lSzczęscie 3 &8- &c&l0.9%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 6 of player with 1 of emerald named "&a&lSzmaragd" with lore "&b&lBez szczęscia &8- &c&l0.3%%||&b&lSzczęscie 1 &8- &c&l0.4%%||&b&lSzczęscie 2 &8- &c&l0.5%%||&b&lSzczęscie 3 &8- &c&l0.6%%" to be unstealable (komendy.sk, line 37: format slot 6 of player with 1 of emerald named "&a&lSzmaragd" with lore "&b&lBez szczęscia &8- &c&l0.3%%||&b&lSzczęscie 1 &8- &c&l0.4%%||&b&lSzczęscie 2 &8- &c&l0.5%%||&b&lSzczęscie 3 &8- &c&l0.6%%" to be unstealable')
[02:11:49 ERROR]: 'chest with 2 rows named "&c&l&oDrop z kamienia (Dla VIP)!"' is not an entity type (komendy.sk, line 39: open chest with 2 rows named "&c&l&oDrop z kamienia (Dla VIP)!" to player')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 0 of player with 1 of diamond named "&b&lDiament" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable (komendy.sk, line 41: format slot 0 of player with 1 of diamond named "&b&lDiament" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 1 of player with 1 of gold ingot named "&6&lSztabka Złota" with lore "&b&lBez szczęscia &8- &c&l0.6%%||&b&lSzczęscie 1 &8- &c&l0.7%%||&b&lSzczęscie 2 &8- &c&l0.8%%||&b&lSzczęscie 3 &8- &c&l0.9%%" to be unstealable (komendy.sk, line 42: format slot 1 of player with 1 of gold ingot named "&6&lSztabka Złota" with lore "&b&lBez szczęscia &8- &c&l0.6%%||&b&lSzczęscie 1 &8- &c&l0.7%%||&b&lSzczęscie 2 &8- &c&l0.8%%||&b&lSzczęscie 3 &8- &c&l0.9%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 2 of player with 1 of iron ingot named "&7&lSztabka Żelaza" with lore "&b&lBez szczęscia &8- &c&l0.6%%||&b&lSzczęscie 1 &8- &c&l0.7%%||&b&lSzczęscie 2 &8- &c&l0.8%%||&b&lSzczęscie 3 &8- &c&l0.9%%" to be unstealable (komendy.sk, line 43: format slot 2 of player with 1 of iron ingot named "&7&lSztabka Żelaza" with lore "&b&lBez szczęscia &8- &c&l0.6%%||&b&lSzczęscie 1 &8- &c&l0.7%%||&b&lSzczęscie 2 &8- &c&l0.8%%||&b&lSzczęscie 3 &8- &c&l0.9%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 3 of player with 1 of COAL named "&7&lWęgiel" with lore "&b&lBez szczęscia &8- &c&l0.7%%||&b&lSzczęscie 1 &8- &c&l0.8%%||&b&lSzczęscie 2 &8- &c&l0.9%%||&b&lSzczęscie 3 &8- &c&l1.0%%" to be unstealable (komendy.sk, line 44: format slot 3 of player with 1 of COAL named "&7&lWęgiel" with lore "&b&lBez szczęscia &8- &c&l0.7%%||&b&lSzczęscie 1 &8- &c&l0.8%%||&b&lSzczęscie 2 &8- &c&l0.9%%||&b&lSzczęscie 3 &8- &c&l1.0%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 4 of player with 1 of redstone named "&4&lRedStone" with lore "&b&lBez szczęscia &8- &c&l0.7%%||&b&lSzczęscie 1 &8- &c&l0.8%%||&b&lSzczęscie 2 &8- &c&l0.9%%||&b&lSzczęscie 3 &8- &c&l1.0%%" to be unstealable (komendy.sk, line 45: format slot 4 of player with 1 of redstone named "&4&lRedStone" with lore "&b&lBez szczęscia &8- &c&l0.7%%||&b&lSzczęscie 1 &8- &c&l0.8%%||&b&lSzczęscie 2 &8- &c&l0.9%%||&b&lSzczęscie 3 &8- &c&l1.0%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 5 of player with 1 of lapis lazuli named "&3&lLapiz Lazuli" with lore "&b&lBez szczęscia &8- &c&l0.8%%||&b&lSzczęscie 1 &8- &c&l1.0%%||&b&lSzczęscie 2 &8- &c&l1.1%%||&b&lSzczęscie 3 &8- &c&l1.2%%" to be unstealable (komendy.sk, line 46: format slot 5 of player with 1 of lapis lazuli named "&3&lLapiz Lazuli" with lore "&b&lBez szczęscia &8- &c&l0.8%%||&b&lSzczęscie 1 &8- &c&l1.0%%||&b&lSzczęscie 2 &8- &c&l1.1%%||&b&lSzczęscie 3 &8- &c&l1.2%%" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 6 of player with 1 of emerald named "&a&lSzmaragd" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable (komendy.sk, line 47: format slot 6 of player with 1 of emerald named "&a&lSzmaragd" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable')
[02:11:49 ERROR]: 'chest with 2 rows named "&c&l&oDrop z LuckyBlock"' is not an entity type (komendy.sk, line 50: open chest with 2 rows named "&c&l&oDrop z LuckyBlock" to player')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 0 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom I||&cDrop:||&aDiament &1(od 1 do 2 sztuk)||&aSzmaragd &1(od 1 do 2 sztuk)||&aZłoto &1(od 1 do 2 sztuk)||&aŻelazo &1(od 1 do 2 sztuk)||&aWęgiel &1(od 1 do 2 sztuk)||&aZiemia &1(od 1 do 2 sztuk)||&aResp zombie/świnek/pająków &1(od 5 do 15 sztuk)||&aKamienny kilof 1/1/1 lub 2/2/2 &1(1 sztuka)||&aKamienna łopata 1/1 lub 2/2 &1(1 sztuka)||&aKamienna siekiera 1/1 lub 2/2 &1(1 sztuka)||&aKamienny miecz 1/1 lub 2/2 &1(1 sztuka)" to be unstealable (komendy.sk, line 52: format slot 0 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom I||&cDrop:||&aDiament &1(od 1 do 2 sztuk)||&aSzmaragd &1(od 1 do 2 sztuk)||&aZłoto &1(od 1 do 2 sztuk)||&aŻelazo &1(od 1 do 2 sztuk)||&aWęgiel &1(od 1 do 2 sztuk)||&aZiemia &1(od 1 do 2 sztuk)||&aResp zombie/świnek/pająków &1(od 5 do 15 sztuk)||&aKamienny kilof 1/1/1 lub 2/2/2 &1(1 sztuka)||&aKamienna łopata 1/1 lub 2/2 &1(1 sztuka)||&aKamienna siekiera 1/1 lub 2/2 &1(1 sztuka)||&aKamienny miecz 1/1 lub 2/2 &1(1 sztuka)" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 1 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 53: format slot 1 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 2 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom II||&cDrop:||&aDiament &1(od 1 do 3 sztuk)||&aSzmaragd &1(od 1 do 3 sztuk)||&aZłoto &1(od 1 do 3 sztuk)||&aŻelazo &1(od 1 do 3 sztuk)||&aWęgiel &1(od 1 do 3 sztuk)||&aKsiążki &1(od 1 do 3 sztuk)||&aZiemia &1(od 1 do 2 sztuk)||&aResp zombie/świnek/pająków &1(od 5 do 10 sztuk)||&aŻelazny kilof 2/1/1 lub 3/2/2 &1(1 sztuka)||&aŻelazna łopata 2/1 lub 3/2 &1(1 sztuka)||&aŻelazna siekiera 2/1 lub 3/2 &1(1 sztuka)||&aŻelazny miecz 2/1 lub 3/2 &1(1 sztuka)" to be unstealable (komendy.sk, line 54: format slot 2 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom II||&cDrop:||&aDiament &1(od 1 do 3 sztuk)||&aSzmaragd &1(od 1 do 3 sztuk)||&aZłoto &1(od 1 do 3 sztuk)||&aŻelazo &1(od 1 do 3 sztuk)||&aWęgiel &1(od 1 do 3 sztuk)||&aKsiążki &1(od 1 do 3 sztuk)||&aZiemia &1(od 1 do 2 sztuk)||&aResp zombie/świnek/pająków &1(od 5 do 10 sztuk)||&aŻelazny kilof 2/1/1 lub 3/2/2 &1(1 sztuka)||&aŻelazna łopata 2/1 lub 3/2 &1(1 sztuka)||&aŻelazna siekiera 2/1 lub 3/2 &1(1 sztuka)||&aŻelazny miecz 2/1 lub 3/2 &1(1 sztuka)" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 3 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 55: format slot 3 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 4 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom III||&cDrop:||&aDiament &1(od 1 do 5 sztuk)||&aSzmaragd &1(od 1 do 5 sztuk)||&aZłoto &1(od 1 do 5 sztuk)||&aŻelazo &1(od 1 do 5 sztuk)||&aWęgiel &1(od 1 do 5 sztuk)||&aKsiążki &1(od 1 do 5 sztuk)||&aZiemia &1(od 1 do 5 sztuk)||&aResp zombie/świnek/pająków &1(od 5 do 8 sztuk)||&aŻelazny kilof 3/3/2 lub 3/3/3 &1(1 sztuka)||&aŻelazna łopata 3/2 lub 3/3 &1(1 sztuka)||&aŻelazna siekiera 3/2 lub 3/3 &1(1 sztuka)||&aŻelazny miecz 3/2 lub 3/3 &1(1 sztuka)" to be unstealable (komendy.sk, line 56: format slot 4 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom III||&cDrop:||&aDiament &1(od 1 do 5 sztuk)||&aSzmaragd &1(od 1 do 5 sztuk)||&aZłoto &1(od 1 do 5 sztuk)||&aŻelazo &1(od 1 do 5 sztuk)||&aWęgiel &1(od 1 do 5 sztuk)||&aKsiążki &1(od 1 do 5 sztuk)||&aZiemia &1(od 1 do 5 sztuk)||&aResp zombie/świnek/pająków &1(od 5 do 8 sztuk)||&aŻelazny kilof 3/3/2 lub 3/3/3 &1(1 sztuka)||&aŻelazna łopata 3/2 lub 3/3 &1(1 sztuka)||&aŻelazna siekiera 3/2 lub 3/3 &1(1 sztuka)||&aŻelazny miecz 3/2 lub 3/3 &1(1 sztuka)" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 5 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 57: format slot 5 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 6 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom IV||&cDrop:||&aDiament &1(od 1 do 8 sztuk)||&aSzmaragd &1(od 1 do 8 sztuk)||&aZłoto &1(od 1 do 8 sztuk)||&aŻelazo &1(od 1 do 8 sztuk)||&aWęgiel &1(od 1 do 8 sztuk)||&aKsiążki &1(od 1 do 8 sztuk)||&aZiemia &1(od 1 do 8 sztuk)||&aResp zombie/świnek/pająków &1(od 1 do 5 sztuk)||&aŻelazny kilof 5/3/3 &1(1 sztuka)||&aŻelazna łopata 5/3/3 (1 sztuka)||&aŻelazna siekiera 5/3 &1(1 sztuka)||&aŻelazny miecz 5/3 &1(1 sztuka)" to be unstealable (komendy.sk, line 58: format slot 6 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom IV||&cDrop:||&aDiament &1(od 1 do 8 sztuk)||&aSzmaragd &1(od 1 do 8 sztuk)||&aZłoto &1(od 1 do 8 sztuk)||&aŻelazo &1(od 1 do 8 sztuk)||&aWęgiel &1(od 1 do 8 sztuk)||&aKsiążki &1(od 1 do 8 sztuk)||&aZiemia &1(od 1 do 8 sztuk)||&aResp zombie/świnek/pająków &1(od 1 do 5 sztuk)||&aŻelazny kilof 5/3/3 &1(1 sztuka)||&aŻelazna łopata 5/3/3 (1 sztuka)||&aŻelazna siekiera 5/3 &1(1 sztuka)||&aŻelazny miecz 5/3 &1(1 sztuka)" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 7 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 59: format slot 7 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 8 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom V||&cDrop:||&aBlok diamentu &1(od 1 do 5 sztuk)||&aBlok szmaragdu &1(od 1 do 5 sztuk)||&aBlok złota&1(od 1 do 5 sztuk)||&aBlok żelaza&1(od 1 do 5 sztuk)||&aBlok węgla &1(od 1 do 5 sztuk)||&aBibloteczka &1(od 1 do 5 sztuk)||&aZiemia &1(od 1 do 5 sztuk)||&aDiamentowy kilof 6/3/3 lub 7/3/3 &1(1 sztuka)||&aDiamentowa łopata 6/3 lub 7/3 &1(1 sztuka)||&aDiamentowa siekiera 6/3 lub 7/3 &1(1 sztuka)||&aDiamentowy miecz 5/3/2 &1(1 sztuka)||&aDiamentowy set 4/3 &1(1 sztuka)||&aMob spawner &1(1sztuka)" to be unstealable (komendy.sk, line 60: format slot 8 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom V||&cDrop:||&aBlok diamentu &1(od 1 do 5 sztuk)||&aBlok szmaragdu &1(od 1 do 5 sztuk)||&aBlok złota&1(od 1 do 5 sztuk)||&aBlok żelaza&1(od 1 do 5 sztuk)||&aBlok węgla &1(od 1 do 5 sztuk)||&aBibloteczka &1(od 1 do 5 sztuk)||&aZiemia &1(od 1 do 5 sztuk)||&aDiamentowy kilof 6/3/3 lub 7/3/3 &1(1 sztuka)||&aDiamentowa łopata 6/3 lub 7/3 &1(1 sztuka)||&aDiamentowa siekiera 6/3 lub 7/3 &1(1 sztuka)||&aDiamentowy miecz 5/3/2 &1(1 sztuka)||&aDiamentowy set 4/3 &1(1 sztuka)||&aMob spawner &1(1sztuka)" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 9 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 61: format slot 9 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 10 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 62: format slot 10 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 11 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 63: format slot 11 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 12 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 64: format slot 12 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 13 of player with 1 of Paper named "&c&lZasady LuckyBlock" with lore "&e&lCzym niższy poziom tym więcej niebezpieczeństwa||&e&lCzym wyższy poziom tym więcej cenniejszych przedmiotów" to be unstealable (komendy.sk, line 65: format slot 13 of player with 1 of Paper named "&c&lZasady LuckyBlock" with lore "&e&lCzym niższy poziom tym więcej niebezpieczeństwa||&e&lCzym wyższy poziom tym więcej cenniejszych przedmiotów" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 14 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 66: format slot 14 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 15 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 67: format slot 15 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 16 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 68: format slot 16 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:49 ERROR]: Can't understand this condition/effect: format slot 17 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable (komendy.sk, line 69: format slot 17 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable')
[02:11:55 ERROR]: 'chest with 6 rows named "&e&lZadania"' is not an entity type (zadania.sk, line 5: open chest with 6 rows named "&e&lZadania" to player')
[02:11:55 ERROR]: Can't understand this condition/effect: format slot {_} -1 of player with red wool named "&e&lZadanie %{_}%" with lore "&cUkonczone" to be unstealable (zadania.sk, line 14: format slot {_} -1 of player with red wool named "&e&lZadanie %{_}%" with lore "&cUkonczone" to be unstealable')
[02:11:55 ERROR]: Can't understand this condition/effect: format slot {_} -1 of player with paper named "&e&lZadanie %{_}%" with lore "&cWymagane przednioty:||&e&l- %{_itemy}%||||&2&lNagroda:||&e&l- %{_nagroda}%" to run "zadania %{_}% %player%" (zadania.sk, line 23: format slot {_} -1 of player with paper named "&e&lZadanie %{_}%" with lore "&cWymagane przednioty:||&e&l- %{_itemy}%||||&2&lNagroda:||&e&l- %{_nagroda}%" to run "zadania %{_}% %player%"')
[02:11:55 ERROR]: 'chest with 3 rows named "itemy do zadania %arg-2%"' is not an entity type (zadania.sk, line 68: open chest with 3 rows named "itemy do zadania %arg-2%" to player')
[02:11:55 ERROR]: 'player's current inventory' is not an item stack (zadania.sk, line 72: set slot {_} of player's current inventory to loop-value-2')
[02:11:55 ERROR]: 'chest with 3 rows named "nagroda do zadania %arg-2%"' is not an entity type (zadania.sk, line 77: open chest with 3 rows named "nagroda do zadania %arg-2%" to player')
[02:11:55 ERROR]: 'player's current inventory' is not an item stack (zadania.sk, line 81: set slot {_} of player's current inventory to loop-value-2')
[02:11:55 ERROR]: can't understand this event: 'on inventory close' (zadania.sk, line 83: on inventory close:')
[02:11:55 INFO]: Loaded 5 scripts with a total of 7 triggers and 9 commands in 6.17 seconds
[02:11:55 INFO]: [Skript] Encountered 43 errors while reloading the config and all scripts!
 
komendy.sk
command /help:
        trigger:
                send "&e&l✖ &c&l&oBłędna komenda wpisz /pomoc"
command /pomoc:
        trigger:
                send "&8▄▀▄▀▄▀▄&0&l[&c&l&oPomoc&0&l]&8▄▀▄▀▄▀▄"
                send "&c☛&b/is &8- &cInfo o wyspach"
                send "&c☛&b/Drop gracz &8- &cDrop dla graczy"
                send "&c☛&b/Drop vip &8- &cDrop dla vipów"
                send "&c☛&b/handel &8- &cInfo o wymianie"
                send "&c☛&b/Vip &8- &cInfo o vipe"
                send "&c☛&b/LuckyBlock &8- &cInfo o LuckyBlock"
                send "&c☛&b/Stone &8- &cLicznik wykopanego stona"
                send "&c☛&b/Zabite &8- &cLicznik zabitych mobów"
                send "&8▄▀▄▀▄▀▄&0&l[&c&l&oPomoc&0&l]&8▄▀▄▀▄▀▄"
command /vip:
        trigger:
                send "&8▄▀▄▀▄▀▄▀▄▀▄&0&l[&c&l&oVip&0&l]&8▄▀▄▀▄▀▄▀▄▀▄"
                send "&c☛&b&l&oVip na 30 dni kosztuje 7zł SMS"
                send "&c☛&b&l&oVip posiada zwiększony drop z stona"
                send "&c☛&b&l&oVip posiada latanie"
                send "&c☛&b&l&oVip posiada kolorowe pisanie"
                send "&c☛&b&l&oVip posiada dostęp do /warp vip"
                send "&c☛&b&l&oVip ma zmniejszone niektóre ceny itemów"
                send "&8▄▀▄▀▄▀▄▀▄▀▄&0&l[&c&l&oVip&0&l]&8▄▀▄▀▄▀▄▀▄▀▄"
command /Drop <text>:
        trigger:
                if arg 1 is "Gracz":
                        open chest with 2 rows named "&c&l&oDrop z kamienia (Dla Graczy)!" to player 
                        wait 1 tick
                        format slot 0 of player with 1 of diamond named "&b&lDiament" with lore "&b&lBez szczęscia &8- &c&l0.3%%||&b&lSzczęscie 1 &8- &c&l0.4%%||&b&lSzczęscie 2 &8- &c&l0.5%%||&b&lSzczęscie 3 &8- &c&l0.6%%" to be unstealable
                        format slot 1 of player with 1 of gold ingot named "&6&lSztabka Złota" with lore "&b&lBez szczęscia &8- &c&l0.4%%||&b&lSzczęscie 1 &8- &c&l0.5%%||&b&lSzczęscie 2 &8- &c&l0.6%%||&b&lSzczęscie 3 &8- &c&l0.7%%" to be unstealable
                        format slot 2 of player with 1 of iron ingot named "&7&lSztabka Żelaza" with lore "&b&lBez szczęscia &8- &c&l0.4%%||&b&lSzczęscie 1 &8- &c&l0.5%%||&b&lSzczęscie 2 &8- &c&l0.6%%||&b&lSzczęscie 3 &8- &c&l0.7%%" to be unstealable
                        format slot 3 of player with 1 of coal named "&7&lWęgiel" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable
                        format slot 4 of player with 1 of redstone named "&4&lRedStone" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable
                        format slot 5 of player with 1 of lapis lazuli named "&3&lLapiz Lazuli" with lore "&b&lBez szczęscia &8- &c&l0.6%%||&b&lSzczęscie 1 &8- &c&l0.7%%||&b&lSzczęscie 2 &8- &c&l0.8%%||&b&lSzczęscie 3 &8- &c&l0.9%%" to be unstealable
                        format slot 6 of player with 1 of emerald named "&a&lSzmaragd" with lore "&b&lBez szczęscia &8- &c&l0.3%%||&b&lSzczęscie 1 &8- &c&l0.4%%||&b&lSzczęscie 2 &8- &c&l0.5%%||&b&lSzczęscie 3 &8- &c&l0.6%%" to be unstealable
                if arg 1 is "Vip":
                        open chest with 2 rows named "&c&l&oDrop z kamienia (Dla VIP)!" to player 
                        wait 1 tick
                        format slot 0 of player with 1 of diamond named "&b&lDiament" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable
                        format slot 1 of player with 1 of gold ingot named "&6&lSztabka Złota" with lore "&b&lBez szczęscia &8- &c&l0.6%%||&b&lSzczęscie 1 &8- &c&l0.7%%||&b&lSzczęscie 2 &8- &c&l0.8%%||&b&lSzczęscie 3 &8- &c&l0.9%%" to be unstealable
                        format slot 2 of player with 1 of iron ingot named "&7&lSztabka Żelaza" with lore "&b&lBez szczęscia &8- &c&l0.6%%||&b&lSzczęscie 1 &8- &c&l0.7%%||&b&lSzczęscie 2 &8- &c&l0.8%%||&b&lSzczęscie 3 &8- &c&l0.9%%" to be unstealable
                        format slot 3 of player with 1 of COAL named "&7&lWęgiel" with lore "&b&lBez szczęscia &8- &c&l0.7%%||&b&lSzczęscie 1 &8- &c&l0.8%%||&b&lSzczęscie 2 &8- &c&l0.9%%||&b&lSzczęscie 3 &8- &c&l1.0%%" to be unstealable
                        format slot 4 of player with 1 of redstone named "&4&lRedStone" with lore "&b&lBez szczęscia &8- &c&l0.7%%||&b&lSzczęscie 1 &8- &c&l0.8%%||&b&lSzczęscie 2 &8- &c&l0.9%%||&b&lSzczęscie 3 &8- &c&l1.0%%" to be unstealable
                        format slot 5 of player with 1 of lapis lazuli named "&3&lLapiz Lazuli" with lore "&b&lBez szczęscia &8- &c&l0.8%%||&b&lSzczęscie 1 &8- &c&l1.0%%||&b&lSzczęscie 2 &8- &c&l1.1%%||&b&lSzczęscie 3 &8- &c&l1.2%%" to be unstealable
                        format slot 6 of player with 1 of emerald named "&a&lSzmaragd" with lore "&b&lBez szczęscia &8- &c&l0.5%%||&b&lSzczęscie 1 &8- &c&l0.6%%||&b&lSzczęscie 2 &8- &c&l0.7%%||&b&lSzczęscie 3 &8- &c&l0.8%%" to be unstealable
command /LuckyBlock:
        trigger:
                open chest with 2 rows named "&c&l&oDrop z LuckyBlock" to player
                wait 1 tick
                format slot 0 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom I||&cDrop:||&aDiament &1(od 1 do 2 sztuk)||&aSzmaragd &1(od 1 do 2 sztuk)||&aZłoto &1(od 1 do 2 sztuk)||&aŻelazo &1(od 1 do 2 sztuk)||&aWęgiel &1(od 1 do 2 sztuk)||&aZiemia &1(od 1 do 2 sztuk)||&aResp zombie/świnek/pająków &1(od 5 do 15 sztuk)||&aKamienny kilof 1/1/1 lub 2/2/2 &1(1 sztuka)||&aKamienna łopata 1/1 lub 2/2 &1(1 sztuka)||&aKamienna siekiera 1/1 lub 2/2 &1(1 sztuka)||&aKamienny miecz 1/1 lub 2/2 &1(1 sztuka)" to be unstealable
                format slot 1 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 2 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom II||&cDrop:||&aDiament &1(od 1 do 3 sztuk)||&aSzmaragd &1(od 1 do 3 sztuk)||&aZłoto &1(od 1 do 3 sztuk)||&aŻelazo &1(od 1 do 3 sztuk)||&aWęgiel &1(od 1 do 3 sztuk)||&aKsiążki &1(od 1 do 3 sztuk)||&aZiemia &1(od 1 do 2 sztuk)||&aResp zombie/świnek/pająków &1(od 5 do 10 sztuk)||&aŻelazny kilof 2/1/1 lub 3/2/2 &1(1 sztuka)||&aŻelazna łopata 2/1 lub 3/2 &1(1 sztuka)||&aŻelazna siekiera 2/1 lub 3/2 &1(1 sztuka)||&aŻelazny miecz 2/1 lub 3/2 &1(1 sztuka)" to be unstealable
                format slot 3 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 4 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom III||&cDrop:||&aDiament &1(od 1 do 5 sztuk)||&aSzmaragd &1(od 1 do 5 sztuk)||&aZłoto &1(od 1 do 5 sztuk)||&aŻelazo &1(od 1 do 5 sztuk)||&aWęgiel &1(od 1 do 5 sztuk)||&aKsiążki &1(od 1 do 5 sztuk)||&aZiemia &1(od 1 do 5 sztuk)||&aResp zombie/świnek/pająków &1(od 5 do 8 sztuk)||&aŻelazny kilof 3/3/2 lub 3/3/3 &1(1 sztuka)||&aŻelazna łopata 3/2 lub 3/3 &1(1 sztuka)||&aŻelazna siekiera 3/2 lub 3/3 &1(1 sztuka)||&aŻelazny miecz 3/2 lub 3/3 &1(1 sztuka)" to be unstealable
                format slot 5 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 6 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom IV||&cDrop:||&aDiament &1(od 1 do 8 sztuk)||&aSzmaragd &1(od 1 do 8 sztuk)||&aZłoto &1(od 1 do 8 sztuk)||&aŻelazo &1(od 1 do 8 sztuk)||&aWęgiel &1(od 1 do 8 sztuk)||&aKsiążki &1(od 1 do 8 sztuk)||&aZiemia &1(od 1 do 8 sztuk)||&aResp zombie/świnek/pająków &1(od 1 do 5 sztuk)||&aŻelazny kilof 5/3/3 &1(1 sztuka)||&aŻelazna łopata 5/3/3 (1 sztuka)||&aŻelazna siekiera 5/3 &1(1 sztuka)||&aŻelazny miecz 5/3 &1(1 sztuka)" to be unstealable
                format slot 7 of player with 1 of Purple Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 8 of player with 1 of sponge named "&6&l&oLucky Block" with lore "&ePoziom V||&cDrop:||&aBlok diamentu &1(od 1 do 5 sztuk)||&aBlok szmaragdu &1(od 1 do 5 sztuk)||&aBlok złota&1(od 1 do 5 sztuk)||&aBlok żelaza&1(od 1 do 5 sztuk)||&aBlok węgla &1(od 1 do 5 sztuk)||&aBibloteczka &1(od 1 do 5 sztuk)||&aZiemia &1(od 1 do 5 sztuk)||&aDiamentowy kilof 6/3/3 lub 7/3/3 &1(1 sztuka)||&aDiamentowa łopata 6/3 lub 7/3 &1(1 sztuka)||&aDiamentowa siekiera 6/3 lub 7/3 &1(1 sztuka)||&aDiamentowy miecz 5/3/2 &1(1 sztuka)||&aDiamentowy set 4/3 &1(1 sztuka)||&aMob spawner &1(1sztuka)" to be unstealable
                format slot 9 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 10 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 11 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 12 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 13 of player with 1 of Paper named "&c&lZasady LuckyBlock" with lore "&e&lCzym niższy poziom tym więcej niebezpieczeństwa||&e&lCzym wyższy poziom tym więcej cenniejszych przedmiotów" to be unstealable
                format slot 14 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 15 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 16 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable
                format slot 17 of player with 1 of Cyan Stained Glass Pane named "&c&l✖" to be unstealable
 
zadania.sk
command /zadania [<text>] [<player>]:
    trigger:
        if executor is player:
            if arg-1 is not set:
                open chest with 6 rows named "&e&lZadania" to player
                wait 2 tick
                set {_} to 1
                loop {zadania::*}:
                    clear {_itemy}
                    clear {_nagroda}
                    set {_s} to 0
                    loop {ukonczone::zadania::%player%::*}:
                        if "%loop-value-2%" is "%loop-value-1%":
                            format slot {_} -1 of player with red wool named "&e&lZadanie %{_}%" with lore "&cUkonczone" to be unstealable
                            set {_s} to 1
                    if {_s} is not 1:
                        set {_itemy} to "%{itemy::%loop-value%::*}%"
                        replace all ", " with "||&e&l- " in {_itemy}
                        replace all "and " with "||&e&l- " in {_itemy}
                        set {_nagroda} to "%{nagroda::%loop-value%::*}%"
                        replace all ", " with "||&e&l- " in {_nagroda}
                        replace all "and " with "||&e&l- " in {_nagroda}
                        format slot {_} -1 of player with paper named "&e&lZadanie %{_}%" with lore "&cWymagane przednioty:||&e&l- %{_itemy}%||||&2&lNagroda:||&e&l- %{_nagroda}%" to run "zadania %{_}% %player%"
                    add 1 to {_}
            else:
                stop
        else:
            loop {zadania::*}:
                if arg-1 is "%loop-value-1%":
                    loop {itemy::%arg-1%::*}:
                        broadcast "%loop-value-2%   %arg-1%"
                        if player-arg has loop-value-2:
                            send "masz %loop-value-2%" to player-arg
                        else:
                            send "&cNie masz %loop-value-2%" to player-arg
                            stop
                    loop {itemy::%loop-value-1%::*}:
                        remove loop-value-2 from player-arg
                    loop {nagroda::%loop-value-1%::*}:
                        give player-arg loop-value-2
                    send "&2Ukonczyles zadanie %loop-value-1%" to player-arg
                    add "%loop-value-1%" to {ukonczone::zadania::%player-arg%::*}
                    make player-arg execute command "zadania"
command /admin [<text>] [<text>] [<text>]:
    trigger:
        if player is op:
            if arg-1 is not set:
                send "&e&l/admin stworz &8&l- &etworzy zadanie"
                send "&e&l/admin itemy &8&l- &eedytuje wymagane itemy za zadanie"
                send "&e&l/admin nagroda &8&l- &eedytuje nagroda za zadanie"
                send "&e&l/admin usun &8&l- &eusuwa zadanie"
            if arg-1 is "stworz":
                set {_} to size of {zadania::*} +1
                add {_} to {zadania::*}
                send "stworzono zadanie %{_}%"
            if arg-1 is "usun":
                loop {zadania::*}:
                    if arg-2 is "%loop-value%":
                        clear {nagroda::%loop-value%::*}
                        clear {itemy::%loop-value%::*}
                        remove loop-value from {zadania::*}
                        send "usunieto zadanie %arg-2%"
                        loop {ukonczone::zadania::*}:
                            remove arg-2 from {ukonczone::zadania::%loop-index-2%::*}
            if arg-1 is "itemy":
                loop {zadania::*}:
                    if arg-2 is "%loop-value%":
                        open chest with 3 rows named "itemy do zadania %arg-2%" to player
                        wait 2 tick
                        set {_} to 0
                        loop {itemy::%loop-value%::*}:
                            set slot {_} of player's current inventory to loop-value-2 
                            add 1 to {_}
            if arg-1 is "nagroda":
                loop {zadania::*}:
                    if arg-2 is "%loop-value%":
                        open chest with 3 rows named "nagroda do zadania %arg-2%" to player
                        wait 2 tick
                        set {_} to 0
                        loop {nagroda::%loop-value%::*}:
                            set slot {_} of player's current inventory to loop-value-2 
                            add 1 to {_}
on inventory close:
    if inventory name of player's current inventory contains "nagroda do zadania":
        set {_} to "%inventory name of player's current inventory%"
        replace all "nagroda do zadania " with "" in {_}
        clear {nagroda::%{_}%::*}
        loop 3*9 times:
            if slot loop-number -1 of player's current inventory is not air:
                add slot loop-number -1 of player's current inventory to {nagroda::%{_}%::*}
        send "&2Zapisano nagrody zadania %{_}%"
    if inventory name of player's current inventory contains "itemy do zadania":
        set {_} to "%inventory name of player's current inventory%"
        replace all "itemy do zadania " with "" in {_}
        clear {itemy::%{_}%::*}
        loop 3*9 times:
            if slot loop-number -1 of player's current inventory is not air:
                add slot loop-number -1 of player's current inventory to {itemy::%{_}%::*}
        send "&2Zapisano itemy zadania %{_}%"
Odnośnik do komentarza
https://skript.pl/temat/19146-skript-na-zadania-w-gui/#findComment-132036
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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