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 Free Itemy W Gui


DaVkiTM

Rekomendowane odpowiedzi

Opublikowano
command /free [<text="">] [<text="">]:
	trigger:
		arg 1 is "":
			wait 2 ticks
			open chest with 6 row named "&2Itemy za darmo" to player
			wait 2 ticks
			format slot 0 of player with 1 of diamond to close then run [make player execute command "free diamond 1"]
			format slot 1 of player with 16 of emerald to close then run [make player execute command "free emerald 16"]
		arg 1 isn't "":
			make console execute command "give %player% %arg-1% %arg-2%"

zrobiłem ci 2 przykłady.
w [make player execute command "free diamond 1"] wpisujesz id lub nazwę itemu jaki ma być dany graczowi, oraz ilość, a w format slot na początku gdzie jest 16 of emerald, to jest to tylko display, który pokazuje ile dostaniesz po kliknięciu w to

Mam nadzieje, że pomogłem :)

skype ktoś, ktokolwiek?

 

Opublikowano

w kitach jest limit czasowy i nie wiem o jakie itemy ci chodzi, a pobranie danych z essentialsa jest ciężkie, także napisz konkretnie czego oczekujesz

skype ktoś, ktokolwiek?

 

Opublikowano
command /free [<text="">]:
	trigger:
		arg 1 is "":
			wait 2 ticks
			targeted block is chest or trapped chest or ender chest:
				message "&cTa komenda nie zadziała, gdy patrzysz na skrzynie"
				stop
			open chest with 6 row named "&2Itemy za darmo" to player
			wait 2 ticks
			format slot 0 of player with 1 of diamond to close then run [make player execute command "free 0"]
			format slot 1 of player with 16 of emerald to close then run [make player execute command "free 1"]
		arg 1 is "reset":
			player has permission "admin":
				delete {kit.%player%::*}
				stop
		arg 1 isn't "":
			{kit.%player%::%arg-1%} is set:
				set {_time} to difference between now and {kit.%player%::%arg-1%}
			{kit.%player%::%arg-1%} isn't set:
				set {kit.%player%::%arg-1%} to now
			now < {kit.%player%::%arg-1%}:
				message "&cMusisz odczekac jeszcze &6%{_time}% &czanim to wezmiesz"
			now >= {kit.%player%::%arg-1%}:
				arg 1 is "0":
					give player 1 diamond
				arg 1 is "1":
					give player 16 emerald
				set {kit.%player%::%arg-1%} to now
				add a day to {kit.%player%::%arg-1%}

Mam nadzieje, że to cie usatysfakcjonuje + dałem komendę /free reset, która jest dostępna tylko dla opa póki co, która resetuje licznik pomiędzy kolejnym użyciem byś mógł sobie ustawiać i testować do woli

skype ktoś, ktokolwiek?

 

Opublikowano

a zrobisz z takimi itemami co np sponsor to /sponsor

kits:

  Jedzenie:

    delay: 600
    items: 

      - 320 64
      - 320 64 
  ec:

    delay: 600
    items: 

      - 130 1 
  Start:

    delay: 600
    items: 

      - 302 1
      - 303 1 
      - 304 1
      - 305 1 
      - 272 1 
      - 278 1 unbreaking:1 efficiency:3 
  vip:

    delay: 21600
    items: 

      - 310 1 protection:5 unbreaking:3
      - 311 1 protection:5 unbreaking:3
      - 312 1 protection:5 unbreaking:3
      - 313 1 protection:5 unbreaking:3
      - 276 1 fireaspect:2 sharpness:4
      - 278 1 unbreaking:3 efficiency:5 fortune:3
      - 310 1 protection:5 unbreaking:3
      - 311 1 protection:5 unbreaking:3
      - 312 1 protection:5 unbreaking:3
      - 313 1 protection:5 unbreaking:3
      - 276 1 fireaspect:2 sharpness:4
      - 278 1 unbreaking:3 efficiency:5 fortune:3 
      - 322 3
      - 322:1 1 
  YT:

    delay: 21600
    items: 
      - 322 3
      - 310 1 protection:5 unbreaking:3
      - 311 1 protection:5 unbreaking:3
      - 312 1 protection:5 unbreaking:3
      - 313 1 protection:5 unbreaking:3
      - 276 1 fireaspect:2 sharpness:4
      - 278 1 unbreaking:3 efficiency:5
      - 322 3
      - 322:1 1
      - 322 3
      - 310 1 protection:5 unbreaking:3
      - 311 1 protection:5 unbreaking:3
      - 312 1 protection:5 unbreaking:3
      - 313 1 protection:5 unbreaking:3
      - 276 1 fireaspect:2 sharpness:4
      - 278 1 unbreaking:3 efficiency:5
      - 322 3
      - 322:1 1
  svip:

    delay: 43200
    items: 

      - 310 1 protection:6 unbreaking:3
      - 311 1 protection:6 unbreaking:3
      - 312 1 protection:6 unbreaking:3 
      - 313 1 protection:6 unbreaking:3
      - 276 1 fireaspect:2 sharpness:6 
      - 278 1 unbreaking:3 efficiency:6 fortune:3
      - 322 6
      - 322:1 3
  Sponsor:

    delay: 86400
    items: 

      - 310 1 protection:6 unbreaking:3 
      - 311 1 protection:6 unbreaking:3
      - 312 1 protection:6 unbreaking:3 
      - 313 1 protection:6 unbreaking:3
      - 276 1 fireaspect:2 sharpness:6
      - 278 1 unbreaking:3 efficiency:6 fortune:3 
      - 310 1 protection:6 unbreaking:3 
      - 311 1 protection:6 unbreaking:3
      - 312 1 protection:6 unbreaking:3 
      - 313 1 protection:6 unbreaking:3
      - 276 1 fireaspect:2 sharpness:6
      - 278 1 unbreaking:3 efficiency:6 fortune:3 
      - 322 12 
      - 322:1 4

tu masz moke kity przerobisz zeby bylo to tak jak ci muwielm

Opublikowano
Dnia 22.02.2018 o 21:05, DaVkiTM napisał:

wszytko sobie ustawie

 

7 minut temu, DaVkiTM napisał:

a zrobisz z takimi itemami co np sponsor to /sponsor

tu masz moke kity przerobisz zeby bylo to tak jak ci muwielm

okej

Opublikowano
command /free [<text="">]:
	trigger:
		arg 1 is "":
			wait 2 ticks
			targeted block is chest or trapped chest or ender chest:
				message "&cTa komenda nie zadziała, gdy patrzysz na skrzynie"
				stop
			open chest with 4 row named "&2Itemy za darmo" to player
			wait 2 ticks
			format slot 0 of player with 1 of chain helmet with lore "&8Gracz" to close then run [make player execute command "free 0"]
			format slot 1 of player with 1 of chain chestplate with lore "&8Gracz" to close then run [make player execute command "free 1"]
			format slot 2 of player with 1 of chain leggings with lore "&8Gracz" to close then run [make player execute command "free 2"]
			format slot 3 of player with 1 of chain boots with lore "&8Gracz" to close then run [make player execute command "free 3"]
			format slot 4 of player with 1 of stone sword with lore "&8Gracz" to close then run [make player execute command "free 4"]
			format slot 5 of player with 1 of diamond pickaxe of unbreaking 1 and efficiency 3 with lore "&8Gracz" to close then run [make player execute command "free 5"]
			format slot 6 of player with 64 of cooked porkchop with lore "&8Gracz" to close then run [make player execute command "free 6"]
			format slot 7 of player with 1 of ender chest with lore "&8Gracz" to close then run [make player execute command "free 7"]
			
			format slot 9 of player with 1 of diamond helmet of protection 5 and unbreaking 3 with lore "&2VIP" to close then run [make player execute command "free 9"]
			format slot 10 of player with 1 of diamond chestplate of protection 5 and unbreaking 3 with lore "&2VIP" to close then run [make player execute command "free 10"]
			format slot 11 of player with 1 of diamond leggings of protection 5 and unbreaking 3 with lore "&2VIP" to close then run [make player execute command "free 11"]
			format slot 12 of player with 1 of diamond boots of protection 5 and unbreaking 3 with lore "&2VIP" to close then run [make player execute command "free 12"]
			format slot 13 of player with 1 of diamond sword of fire aspect 2 and sharpness 4 with lore "&2VIP" to close then run [make player execute command "free 13"]
			format slot 14 of player with 1 of diamond pickaxe of unbreaking 3, efficiency 5 and fortune 3 with lore "&2VIP" to close then run [make player execute command "free 14"]
			format slot 15 of player with 3 of golden apple with lore "&2VIP" to close then run [make player execute command "free 15"]
			format slot 16 of player with 1 of enchanted golden apple with lore "&2VIP" to close then run [make player execute command "free 16"]
				
			format slot 18 of player with 1 of diamond helmet of protection 6 and unbreaking 3 with lore "&6SVIP" to close then run [make player execute command "free 18"]
			format slot 19 of player with 1 of diamond chestplate of protection 6 and unbreaking 3 with lore "&6SVIP" to close then run [make player execute command "free 19"]
			format slot 20 of player with 1 of diamond leggings of protection 6 and unbreaking 3 with lore "&6SVIP" to close then run [make player execute command "free 20"]
			format slot 21 of player with 1 of diamond boots of protection 6 and unbreaking 3 with lore "&6SVIP" to close then run [make player execute command "free 21"]
			format slot 22 of player with 1 of diamond sword of fire aspect 2 and sharpness 6 with lore "&6SVIP" to close then run [make player execute command "free 22"]
			format slot 23 of player with 1 of diamond pickaxe of unbreaking 3, efficiency 6 and fortune 3 with lore "&6SVIP" to close then run [make player execute command "free 23"]
			format slot 24 of player with 6 of golden apple with lore "&6SVIP" to close then run [make player execute command "free 24"]
			format slot 25 of player with 3 of enchanted golden apple with lore "&6SVIP" to close then run [make player execute command "free 25"]
				
			format slot 27 of player with 1 of diamond helmet of protection 6 and unbreaking 3 with lore "&6Sponsor" to close then run [make player execute command "free 27"]
			format slot 28 of player with 1 of diamond chestplate of protection 6 and unbreaking 3 with lore "&6Sponsor" to close then run [make player execute command "free 28"]
			format slot 29 of player with 1 of diamond leggings of protection 6 and unbreaking 3 with lore "&6Sponsor" to close then run [make player execute command "free 29"]
			format slot 30 of player with 1 of diamond boots of protection 6 and unbreaking 3 with lore "&6Sponsor" to close then run [make player execute command "free 30"]
			format slot 31 of player with 1 of diamond sword of fire aspect 2 and sharpness 6 with lore "&6Sponsor" to close then run [make player execute command "free 31"]
			format slot 32 of player with 1 of diamond pickaxe of unbreaking 3, efficiency 6 and fortune 3 with lore "&6Sponsor" to close then run [make player execute command "free 32"]
			format slot 33 of player with 12 of golden apple with lore "&6Sponsor" to close then run [make player execute command "free 33"]
			format slot 34 of player with 4 of enchanted golden apple with lore "&6Sponsor" to close then run [make player execute command "free 34"]
		arg 1 is "reset":
			player has permission "admin":
				delete {kit.%player%::*}
				stop
		arg 1 isn't "":
			{kit.%player%::%arg-1%} is set:
				set {_time} to difference between now and {kit.%player%::%arg-1%}
			{kit.%player%::%arg-1%} isn't set:
				set {kit.%player%::%arg-1%} to now
			now < {kit.%player%::%arg-1%}:
				message "&cMusisz odczekac jeszcze &6%{_time}% &czanim to wezmiesz"
			now >= {kit.%player%::%arg-1%}:
				arg 1 is "0":
					give player 1 chain helmet
				arg 1 is "1":
					give player 1 chain chestplate
				arg 1 is "2":
					give player 1 chain leggings
				arg 1 is "3":
					give player 1 chain boots
				arg 1 is "4":
					give player 1 stone sword
				arg 1 is "5":
					give player 1 diamond pickaxe of unbreaking 1 and efficiency 3
				arg 1 is "6":
					give player 64 cooked porkchop
				arg 1 is "7":
					give player 1 ender chest
				player has permission "vip" or "yt":
					arg 1 is "9":
						give player 1 diamond helmet of protection 5 and unbreaking 3
					arg 1 is "10":
						give player 1 diamond chestplate of protection 5 and unbreaking 3
					arg 1 is "11":
						give player 1 diamond leggings of protection 5 and unbreaking 3
					arg 1 is "12":
						give player 1 diamond boots of protection 5 and unbreaking 3
					arg 1 is "13":
						give player 1 diamond sword of fire aspect 2 and sharpness 4
					arg 1 is "14":
						give player 1 diamond pickaxe of unbreaking 1 and efficiency 3
					arg 1 is "15":
						give player 3 golden apple
					arg 1 is "16":
						give player 1 enchanted golden apple
				player has permission "svip":
					arg 1 is "18":
						give player 1 diamond helmet of protection 6 and unbreaking 3
					arg 1 is "19":
						give player 1 diamond chestplate of protection 6 and unbreaking 3
					arg 1 is "20":
						give player 1 diamond leggings of protection 6 and unbreaking 3
					arg 1 is "21":
						give player 1 diamond boots of protection 6 and unbreaking 3
					arg 1 is "22":
						give player 1 diamond sword of fire aspect 2 and sharpness 6
					arg 1 is "23":
						give player 1 diamond pickaxe of unbreaking 3, efficiency 6 and fortune 3
					arg 1 is "24":
						give player 3 golden apple
					arg 1 is "25":
						give player 1 enchanted golden apple
				player has permission "sponsor":
					arg 1 is "27":
						give player 1 diamond helmet of protection 6 and unbreaking 3
					arg 1 is "28":
						give player 1 diamond chestplate of protection 6 and unbreaking 3
					arg 1 is "29":
						give player 1 diamond leggings of protection 6 and unbreaking 3
					arg 1 is "30":
						give player 1 diamond boots of protection 6 and unbreaking 3
					arg 1 is "31":
						give player 1 diamond sword of fire aspect 2 and sharpness 6
					arg 1 is "32":
						give player 1 diamond pickaxe of unbreaking 3, efficiency 6 and fortune 3
					arg 1 is "33":
						give player 12 golden apple
					arg 1 is "34":
						give player 4 enchanted golden apple
				set {kit.%player%::%arg-1%} to now
				add a day to {kit.%player%::%arg-1%}

Gracze będą widzieli jakie itemy ma vip, svip i sponsor, ale nie będą mogli ich wziąć. Jeżeli natomiast nie chcesz by je widzieli wstaw if player has permission "permisja" w format slot i wytabuj.

skype ktoś, ktokolwiek?

 

Opublikowano
4 minuty temu, DaVkiTM napisał:

Dzieki Ja Sobie Zrobie Jusz Wszystko

ja już ci zrobiłem praktycznie WSZYSTKO...

skype ktoś, ktokolwiek?

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...