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

Poszukuje skrypt na Depozyt na 1.13.2


FGGD

Rekomendowane odpowiedzi

Opublikowano
8 godzin temu, VenirPL napisał:

Zobacz to, nie sprawdzałem ale może akurat będzie działać:

 

Trochę źle zrozumiałeś albo źle napisałem schowek to miejsce gdzie znajdują się koxy refy i perły których jest za dużo np. Ustawiasz limit 2koxy 4 refy 2 perły i jak masz za dużo to to trafia do depozytu lub schowka 

Opublikowano

Ma to działać na zasadzie osobnego gui? Czy koxy itp mają być chowane do enderchestu?

585051449511123978085.jpeg

Opublikowano
1 godzinę temu, VenirPL napisał:

Ma to działać na zasadzie osobnego gui? Czy koxy itp mają być chowane do enderchestu?

Gui było by chyba prosto i lepije 

Opublikowano

Znalazłem jeszcze coś takiego:

Spoiler

variables:
	{limit.kox} = true
#czy limit koxow ma byc wlaczony
	{limit.ref} = true
#czy limit refow ma byc wlaczony
	{limit.perla} = true
#czy limit perel ma byc wlaczony

	{kox::%player%} = 0
	# nie ruszaj
	{ref::%player%} = 0
	#nie ruszaj
	{perla::%player%} = 0
	#nie ruszaj
	
options:
	limit.koxy: 4
#jaki jest limit koxow
	limit.refy: 12
#jaki jest limit refow
	limit.perla: 3
#jaki jest limit perel
	limit.check: 2
#co ile sekund ma sprawdzac ekwipunek gracza

every {@limit.check} second:
	loop all players:
		if {limit.ref} is true:
			set {_ref} to number of golden apple:0 in loop-player's inventory
			if {_ref} is more than {@limit.refy}:
				set {_match.ref} to {_ref}-{@limit.refy}
				remove {_match.ref} of golden apple:0 from loop-player
				set {_match.ref} to {_match.ref} parsed as integer
				add {_match.ref} to {ref::%loop-player%}
				send "&8» &7Posiadales przy sobie &a%{_ref}% refili&7, &a%{_match.ref}% &7zostaje odlozone do twojego schowka." to loop-player
		if {limit.kox} is true:
			set {_kox} to number of golden apple:1 in loop-player's inventory
			if {_kox} is more than {@limit.koxy}:
				set {_match.kox} to {_kox}-{@limit.koxy}
				remove {_match.kox} of golden apple:1 from loop-player
				set {_match.kox} to {_match.kox} parsed as integer
				add {_match.kox} to {kox::%loop-player%}
				send "&8» &7Posiadales przy sobie &a%{_kox}% koxow&7, &a%{_match.kox}% &7zostaje odlozone do twojego schowka." to loop-player			
		if {limit.perla} is true:
			set {_perla} to number of ender pearl in loop-player's inventory
			if {_perla} is more than {@limit.perla}:
				set {_match.perla} to {_perla}-{@limit.perla}
				remove {_match.perla} of ender pearl from loop-player
				set {_match.perla} to {_match.perla} parsed as integer
				add {_match.perla} to {perla::%loop-player%}
				send "&8» &7Posiadales przy sobie &a%{_perla}% perel&7, &a%{_match.perla}% &7zostaje odlozone do twojego schowka." to loop-player			
			
command /schowek:
	trigger:
		open chest with 1 rows named "&3&lSCHOWEK" to player
		wait 5 ticks
		format slot 2 of player with 1 of golden apple:0 named "&2&lREFILE" with lore "&8» &7Posiadasz: &a%{ref::%player%}%" to close then run [make player execute command "schowek2 ref"]
		format slot 6 of player with 1 of enchanted golden apple named "&2&lKOXY" with lore "&8» &7Posiadasz: &a%{kox::%player%}%" to close then run [make player execute command "schowek2 kox"]
		format slot 4 of player with 1 of ender pearl named "&2&lPERLY" with lore "&8» &7Posiadasz: &a%{perla::%player%}%" to close then run [make player execute command "schowek2 perla"]
		format slot 0 of player with black glass named " " to close
		format slot 1 of player with black glass named " " to close
		format slot 3 of player with black glass named " " to close
		format slot 5 of player with black glass named " " to close
		format slot 7 of player with black glass named " " to close
		format slot 8 of player with black glass named " " to close
		stop
		
command /schowek2 [<text>]:
	trigger:
		if arg-1 is "kox":			
			send "&8» &7Wyplaciles &a%{kox::%player%}% koxow&7, ze schowka!"
			give {kox::%player%} of golden apple:1 to player		
			clear {kox::%player%}
		if arg-1 is "ref":			
			send "&8» &7Wyplaciles &a%{ref::%player%}% refili&7, ze schowka!"
			give {ref::%player%} of golden apple:0 to player		
			clear {ref::%player%}
		if arg-1 is "perla":			
			send "&8» &7Wyplaciles &a%{perla::%player%}% perel&7, ze schowka!"
			give {perla::%player%} of ender pearl to player		
			clear {perla::%player%}

 

 

585051449511123978085.jpeg

Opublikowano
1 godzinę temu, Ekrahb napisał:

https://www.youtube.com/watch?v=ccea4Hem2lg

 

Tak trudno poszukać tego w google?

Zobaczymy czy działa na 1.13.2 bo znalazłem tysiąc pluginów i skryptów i nic

6 godzin temu, VenirPL napisał:

Znalazłem jeszcze coś takiego:

  Ukryj treść


variables:
	{limit.kox} = true
#czy limit koxow ma byc wlaczony
	{limit.ref} = true
#czy limit refow ma byc wlaczony
	{limit.perla} = true
#czy limit perel ma byc wlaczony

	{kox::%player%} = 0
	# nie ruszaj
	{ref::%player%} = 0
	#nie ruszaj
	{perla::%player%} = 0
	#nie ruszaj
	
options:
	limit.koxy: 4
#jaki jest limit koxow
	limit.refy: 12
#jaki jest limit refow
	limit.perla: 3
#jaki jest limit perel
	limit.check: 2
#co ile sekund ma sprawdzac ekwipunek gracza

every {@limit.check} second:
	loop all players:
		if {limit.ref} is true:
			set {_ref} to number of golden apple:0 in loop-player's inventory
			if {_ref} is more than {@limit.refy}:
				set {_match.ref} to {_ref}-{@limit.refy}
				remove {_match.ref} of golden apple:0 from loop-player
				set {_match.ref} to {_match.ref} parsed as integer
				add {_match.ref} to {ref::%loop-player%}
				send "&8» &7Posiadales przy sobie &a%{_ref}% refili&7, &a%{_match.ref}% &7zostaje odlozone do twojego schowka." to loop-player
		if {limit.kox} is true:
			set {_kox} to number of golden apple:1 in loop-player's inventory
			if {_kox} is more than {@limit.koxy}:
				set {_match.kox} to {_kox}-{@limit.koxy}
				remove {_match.kox} of golden apple:1 from loop-player
				set {_match.kox} to {_match.kox} parsed as integer
				add {_match.kox} to {kox::%loop-player%}
				send "&8» &7Posiadales przy sobie &a%{_kox}% koxow&7, &a%{_match.kox}% &7zostaje odlozone do twojego schowka." to loop-player			
		if {limit.perla} is true:
			set {_perla} to number of ender pearl in loop-player's inventory
			if {_perla} is more than {@limit.perla}:
				set {_match.perla} to {_perla}-{@limit.perla}
				remove {_match.perla} of ender pearl from loop-player
				set {_match.perla} to {_match.perla} parsed as integer
				add {_match.perla} to {perla::%loop-player%}
				send "&8» &7Posiadales przy sobie &a%{_perla}% perel&7, &a%{_match.perla}% &7zostaje odlozone do twojego schowka." to loop-player			
			
command /schowek:
	trigger:
		open chest with 1 rows named "&3&lSCHOWEK" to player
		wait 5 ticks
		format slot 2 of player with 1 of golden apple:0 named "&2&lREFILE" with lore "&8» &7Posiadasz: &a%{ref::%player%}%" to close then run [make player execute command "schowek2 ref"]
		format slot 6 of player with 1 of enchanted golden apple named "&2&lKOXY" with lore "&8» &7Posiadasz: &a%{kox::%player%}%" to close then run [make player execute command "schowek2 kox"]
		format slot 4 of player with 1 of ender pearl named "&2&lPERLY" with lore "&8» &7Posiadasz: &a%{perla::%player%}%" to close then run [make player execute command "schowek2 perla"]
		format slot 0 of player with black glass named " " to close
		format slot 1 of player with black glass named " " to close
		format slot 3 of player with black glass named " " to close
		format slot 5 of player with black glass named " " to close
		format slot 7 of player with black glass named " " to close
		format slot 8 of player with black glass named " " to close
		stop
		
command /schowek2 [<text>]:
	trigger:
		if arg-1 is "kox":			
			send "&8» &7Wyplaciles &a%{kox::%player%}% koxow&7, ze schowka!"
			give {kox::%player%} of golden apple:1 to player		
			clear {kox::%player%}
		if arg-1 is "ref":			
			send "&8» &7Wyplaciles &a%{ref::%player%}% refili&7, ze schowka!"
			give {ref::%player%} of golden apple:0 to player		
			clear {ref::%player%}
		if arg-1 is "perla":			
			send "&8» &7Wyplaciles &a%{perla::%player%}% perel&7, ze schowka!"
			give {perla::%player%} of ender pearl to player		
			clear {perla::%player%}

 

Sypie błedy

 

Ani jedno Ani drugie nie działa ktoś coś jeszcze?

Opublikowano

Teraz powinno działać:

Spoiler

variables:
	{limit.kox} = true
#czy limit koxow ma byc wlaczony
	{limit.ref} = true
#czy limit refow ma byc wlaczony
	{limit.perla} = true
#czy limit perel ma byc wlaczony

	{kox::%player%} = 0
	# nie ruszaj
	{ref::%player%} = 0
	#nie ruszaj
	{perla::%player%} = 0
	#nie ruszaj
	
options:
	limit.koxy: 4
#jaki jest limit koxow
	limit.refy: 12
#jaki jest limit refow
	limit.perla: 3
#jaki jest limit perel
	limit.check: 2
#co ile sekund ma sprawdzac ekwipunek gracza

every {@limit.check} second:
	loop all players:
		if {limit.ref} is true:
			set {_ref} to number of golden apple in loop-player's inventory
			if {_ref} is more than {@limit.refy}:
				set {_match.ref} to {_ref}-{@limit.refy}
				remove {_match.ref} of golden apple from loop-player
				set {_match.ref} to {_match.ref} parsed as integer
				add {_match.ref} to {ref::%loop-player%}
				send "&8» &7Posiadales przy sobie &a%{_ref}% refili&7, &a%{_match.ref}% &7zostaje odlozone do twojego schowka." to loop-player
		if {limit.kox} is true:
			set {_kox} to number of enchanted golden apple in loop-player's inventory
			if {_kox} is more than {@limit.koxy}:
				set {_match.kox} to {_kox}-{@limit.koxy}
				remove {_match.kox} of enchanted golden apple from loop-player
				set {_match.kox} to {_match.kox} parsed as integer
				add {_match.kox} to {kox::%loop-player%}
				send "&8» &7Posiadales przy sobie &a%{_kox}% koxow&7, &a%{_match.kox}% &7zostaje odlozone do twojego schowka." to loop-player			
		if {limit.perla} is true:
			set {_perla} to number of ender pearl in loop-player's inventory
			if {_perla} is more than {@limit.perla}:
				set {_match.perla} to {_perla}-{@limit.perla}
				remove {_match.perla} of ender pearl from loop-player
				set {_match.perla} to {_match.perla} parsed as integer
				add {_match.perla} to {perla::%loop-player%}
				send "&8» &7Posiadales przy sobie &a%{_perla}% perel&7, &a%{_match.perla}% &7zostaje odlozone do twojego schowka." to loop-player			
			
command /schowek:
	trigger:
		open chest with 1 rows named "&3&lSCHOWEK" to player
		wait 5 ticks
		format slot 2 of player with 1 of golden apple named "&2&lREFILE" with lore "&8» &7Posiadasz: &a%{ref::%player%}%" to close then run [make player execute command "schowek2 ref"]
		format slot 6 of player with 1 of enchanted golden apple named "&2&lKOXY" with lore "&8» &7Posiadasz: &a%{kox::%player%}%" to close then run [make player execute command "schowek2 kox"]
		format slot 4 of player with 1 of ender pearl named "&2&lPERLY" with lore "&8» &7Posiadasz: &a%{perla::%player%}%" to close then run [make player execute command "schowek2 perla"]
		format slot 0 of player with black glass named " " to close
		format slot 1 of player with black glass named " " to close
		format slot 3 of player with black glass named " " to close
		format slot 5 of player with black glass named " " to close
		format slot 7 of player with black glass named " " to close
		format slot 8 of player with black glass named " " to close
		stop
		
command /schowek2 [<text>]:
	trigger:
		if arg-1 is "kox":			
			send "&8» &7Wyplaciles &a%{kox::%player%}% koxow&7, ze schowka!"
			give {kox::%player%} of enchanted golden apple to player		
			clear {kox::%player%}
		if arg-1 is "ref":			
			send "&8» &7Wyplaciles &a%{ref::%player%}% refili&7, ze schowka!"
			give {ref::%player%} of golden apple to player		
			clear {ref::%player%}
		if arg-1 is "perla":			
			send "&8» &7Wyplaciles &a%{perla::%player%}% perel&7, ze schowka!"
			give {perla::%player%} of ender pearl to player		
			clear {perla::%player%}

 

 

585051449511123978085.jpeg

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...