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] Działki


Rekomendowane odpowiedzi

Opublikowano

Mam o was wielką prośbę!

 

Moglibyście dodać do tego skryptu:

 

- Możliwość, że gracz będzie posiadał tylko jedną działkę

- Żeby nie można było zakładać działki, gdy np. druga jest obok tzn. jeżeli by dla przykładu zestaw 4 wziął i użył, ale by haczył z innym cuboidem (łącznie z cuboidem spawna) to nie założyło by działki tylko napisało: "&cW twoim okregu znajduje sie juz cuboid"

 

Oto skrypt:

command /dzialka [<text>]:
	trigger:
		arg 1 is not set:
			send "&6&lMusisz wybrac zestaw:"
			send "&bZestaw1 &9- dzialka 11x11"
			send "&bZestaw2 &9- dzialka 21x21"
			send "&bZestaw3 &9- dzialka 31x31"
			send "&bZestaw4 &9- dzialka 41x41"
			send "&6Aby zakupic zestaw nalezy wpisac: &c/dzialka [Zestaw]"
		arg 1 is "Zestaw1":
			if player has 128 golden ingot:
				remove 128 golden ingot from player
				give a 381 of unbreaking 1 named "&fKrysztal (11x11)" to the player
				send "&aGratulacje! Wlasnie kupiles Krysztal dzialkowy!"
				send "&9Aby go uzyc stan w miejscu gdzie chcesz miec dzialke i"
				send "&9kliknij go prawym przyciskiem myszy!"
			else:
				send "&cNie masz &6128 zlota!"
		arg 1 is "Zestaw2":
			if player has 192 golden ingot:
				remove 192 golden ingot from player
				give a 381 of unbreaking 1 named "&fKrysztal (21x21)" to the player
				send "&aGratulacje! Wlasnie kupiles Krysztal dzialkowy!"
				send "&9Aby go uzyc stan w miejscu gdzie chcesz miec dzialke i"
				send "&9kliknij go prawym przyciskiem myszy!"
			else:
				send "&cNie masz &6192 zlota!"
		arg 1 is "Zestaw3":
			if player has 256 golden ingot:
				remove 256 golden ingot from player
				give a 381 of unbreaking 1 named "&fKrysztal (31x31)" to the player
				send "&aGratulacje! Wlasnie kupiles Krysztal dzialkowy!"
				send "&9Aby go uzyc stan w miejscu gdzie chcesz miec dzialke i"
				send "&9kliknij go prawym przyciskiem myszy!"
			else:
				send "&cNie masz &6256 zlota!"
		arg 1 is "Zestaw4":
			if player has 320 golden ingot:
				remove 320 golden ingot from player
				give a 381 of unbreaking 1 named "&fKrysztal (41x41)" to the player
				send "&aGratulacje! Wlasnie kupiles Krysztal dzialkowy!"
				send "&9Aby go uzyc stan w miejscu gdzie chcesz miec dzialke i"
				send "&9kliknij go prawym przyciskiem myszy!"
			else:
				send "&cNie masz &6320 zlota!"

		arg 1 is "usun":
			execute console command "rg remove %player% -w world"
			send "&aDzialka usunieta pomyslnie!"
			stop
		arg 1 is "reload":
			execute console command "skript reload dzialka"
			send "&aPrzeladowano pomyslnie!"
				
on rightclick holding a eye of ender:
	if name of player's tool is  "&fKrysztal (11x11)":
		cancel event
		execute console command "pex user %name of player% add worldedit.*"
		execute console command "pex user %name of player% add worldguard.*"
		execute player command "//pos1"
		execute player command "//pos2"
		execute player command "//expand vert"
		execute player command "//expand 5 n"
		execute player command "//expand 5 s"
		execute player command "//expand 5 e"
		execute player command "//expand 5 w"
		execute player command "/rg def %name of player% %name of player%"
		execute player command "/rg flag %name of player% greeting &9Jestes na dzialce gracza &Y%name of player%"
		execute player command "/rg flag %name of player% farewell &9Wychodzisz z dzialki gracza &Y%name of player%"
		execute player command "/rg save"
		execute console command "pex user %name of player% remove worldedit.*"
		execute console command "pex user %name of player% remove worldguard.*"
		execute console command "/sound LEVEL_UP %player%"
		remove 1 eye of ender from player
		
on rightclick holding a eye of ender:
	if name of player's tool is  "&fKrysztal (21x21)":
		cancel event
		execute console command "pex user %name of player% add worldedit.*"
		execute console command "pex user %name of player% add worldguard.*"
		execute player command "//pos1"
		execute player command "//pos2"
		execute player command "//expand vert"
		execute player command "//expand 10 n"
		execute player command "//expand 10 s"
		execute player command "//expand 10 e"
		execute player command "//expand 10 w"
		execute player command "/rg def %name of player% %name of player%"
		execute player command "/rg flag %name of player% greeting &9Jestes na dzialce gracza &Y%name of player%"
		execute player command "/rg flag %name of player% farewell &9Wychodzisz z dzialki gracza &Y%name of player%"
		execute player command "/rg save"
		execute console command "pex user %name of player% remove worldedit.*"
		execute console command "pex user %name of player% remove worldguard.*"
		execute console command "/sound LEVEL_UP %player%"
		remove 1 eye of ender from player
		
on rightclick holding a eye of ender:
	if name of player's tool is  "&fKrysztal (31x31)":
		cancel event
		execute console command "pex user %name of player% add worldedit.*"
		execute console command "pex user %name of player% add worldguard.*"
		execute player command "//pos1"
		execute player command "//pos2"
		execute player command "//expand vert"
		execute player command "//expand 15 n"
		execute player command "//expand 15 s"
		execute player command "//expand 15 e"
		execute player command "//expand 15 w"
		execute player command "/rg def %name of player% %name of player%"
		execute player command "/rg flag %name of player% greeting &9Jestes na dzialce gracza &Y%name of player%"
		execute player command "/rg flag %name of player% farewell &9Wychodzisz z dzialki gracza &Y%name of player%"
		execute player command "/rg save"
		execute console command "pex user %name of player% remove worldedit.*"
		execute console command "pex user %name of player% remove worldguard.*"
		execute console command "/sound LEVEL_UP %player%"
		remove 1 eye of ender from player
			
on rightclick holding a eye of ender:
	if name of player's tool is  "&fKrysztal (41x41)":
		cancel event
		execute console command "pex user %name of player% add worldedit.*"
		execute console command "pex user %name of player% add worldguard.*"
		execute player command "//pos1"
		execute player command "//pos2"
		execute player command "//expand vert"
		execute player command "//expand 20 n"
		execute player command "//expand 20 s"
		execute player command "//expand 20 e"
		execute player command "//expand 20 w"
		execute player command "/rg def %name of player% %name of player%"
		execute player command "/rg flag %name of player% greeting &9Jestes na dzialce gracza &Y%name of player%"
		execute player command "/rg flag %name of player% farewell &9Wychodzisz z dzialki gracza &Y%name of player%"
		execute player command "/rg save"
		execute console command "pex user %name of player% remove worldedit.*"
		execute console command "pex user %name of player% remove worldguard.*"
		execute console command "/sound LEVEL_UP %player%"
		remove 1 eye of ender from player

KOLEKCJONER POSTÓW:

50 100 200 300 400 500 600 700 800 900 1k

  lUU8K8b.png

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...