Skocz do zawartości
  • 0

CobbleX


Szki3lko

Pytanie

Siema potrzebuję skrypt na CobbeX:"

Crafting: 9x64cobblestone-można craftować w craftingu lub stworzyć przez komene "/cx" "/cobblex" (najlepiej jak będzie craftować od 1 szt. do 3 szt.) Pod komendą "/cx drop" pokaże się co z cobblex dropi.
Drop: (cobble 16 szt. diamond 5szt. złote jabłko 1szt.)

Odnośnik do komentarza
https://skript.pl/temat/22133-cobblex/
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Spoiler

function KDrop_reloadConfigu():
	if file "plugins/KDrop/drops.yml" doesn't exists:
		create file "plugins/KDrop/drops.yml"
		download from "https://pastebin.com/raw/SEkfXe5g" to "plugins/KDrop/drops.yml"
		set "drops.exp.stone" to "13" in yaml file "plugins/KDrop/messages.yml"
		set "drops.exp.obsidian" to "37" in yaml file "plugins/KDrop/messages.yml"
	if file "plugins/KDrop/config.yml" doesn't exists:
		create file "plugins/KDrop/config.yml"
		set "config.mnoznik.turbo.drop" to "2.0" in yaml file "plugins/KDrop/config.yml"
		set "config.mnoznik.turbo.exp" to "2.0" in yaml file "plugins/KDrop/config.yml"
		set "config.mnoznik.vip" to "1.25" in yaml file "plugins/KDrop/config.yml"
		set "config.mnoznik.svip" to "1.5" in yaml file "plugins/KDrop/config.yml"
		set "config.level.wymagane-punkty-poczatek" to "250" in yaml file "plugins/KDrop/config.yml"
		set "config.level.zwiekszenie-punktow" to "500" in yaml file "plugins/KDrop/config.yml"
		set "config.level.co-ile-informacja" to "10" in yaml file "plugins/KDrop/config.yml"
	set {KDrop::drops::stone::*} to configuration section "drops.stone" get of "plugins/KDrop/drops.yml"
	loop {KDrop::drops::stone::*}:
		set {KDrop::%loop-value%::przedmiot} to single value "drops.stone.%loop-value%.przedmiot" get of "plugins/KDrop/drops.yml" parsed as item
		set {KDrop::%loop-value%::szansa} to single value "drops.stone.%loop-value%.szansa" get of "plugins/KDrop/drops.yml" parsed as number
		set {KDrop::%loop-value%::wysokosc-y} to single value "drops.stone.%loop-value%.wysokosc-y" get of "plugins/KDrop/drops.yml" parsed as number
		set {KDrop::%loop-value%::bonus-za-level} to single value "drops.stone.%loop-value%.bonus-za-level" get of "plugins/KDrop/drops.yml" parsed as number
		set {KDrop::%loop-value%::ilosc-max} to single value "drops.stone.%loop-value%.ilosc-max" get of "plugins/KDrop/drops.yml" parsed as number
		set {KDrop::%loop-value%::ilosc-min} to single value "drops.stone.%loop-value%.ilosc-min" get of "plugins/KDrop/drops.yml" parsed as number
		set {KDrop::%loop-value%::punkty} to single value "drops.stone.%loop-value%.punkty" get of "plugins/KDrop/drops.yml" parsed as number
		set {KDrop::%loop-value%::fortuna} to single value "drops.stone.%loop-value%.fortuna" get of "plugins/KDrop/drops.yml"
		set {KDrop::%loop-value%::przedmiot-wiadomosc} to single value "drops.stone.%loop-value%.przedmiot-wiadomosc" get of "plugins/KDrop/drops.yml"
		set {KDrop::%loop-value%::wiadomosc} to single value "drops.stone.%loop-value%.wiadomosc" get of "plugins/KDrop/drops.yml"
	set {KDrop::drops::cobblex::*} to configuration section "drops.cobblex" get of "plugins/KDrop/drops.yml"
	loop {KDrop::drops::cobblex::*}:
		set {KDrop::cobblex::%loop-value%::przedmiot} to single value "drops.cobblex.%loop-value%.przedmiot" get of "plugins/KDrop/drops.yml"
		set {KDrop::cobblex::%loop-value%::ilosc-min} to single value "drops.cobblex.%loop-value%.ilosc-min" get of "plugins/KDrop/drops.yml"
		set {KDrop::cobblex::%loop-value%::ilosc-max} to single value "drops.cobblex.%loop-value%.ilosc-max" get of "plugins/KDrop/drops.yml"
		set {KDrop::cobblex::%loop-value%::przedmiot-wiadomosc} to single value "drops.cobblex.%loop-value%.przedmiot-wiadomosc" get of "plugins/KDrop/drops.yml"
function KDrop_reloadPlayer(player: player):
	wait 1 tick
	if value "players.%{_player}'s uuid%.nickname" get of "plugins/KDrop/players.yml" is not set:
		set "players.%{_player}'s uuid%.nickname" to "%{_player}%" in yaml file "plugins/KDrop/players.yml"
		send "[KDrop] Stworzono sekcje gracza %{_player}% (%{_player}'s uuid%) w pliku KDrop/players.yml" to console
	loop {KDrop::drops::stone::*}:
		if value "players.%{_player}'s uuid%.statistics.%{KDrop::%loop-value%::przedmiot}%" get of "plugins/KDrop/players.yml" is not set:
			set "players.%{_player}'s uuid%.statistics.%{KDrop::%loop-value%::przedmiot}%" to "0" in yaml file "plugins/KDrop/players.yml"
	loop {KDrop::drops::stone::*}:
		if value "players.%{_player}'s uuid%.drop.%{KDrop::%loop-value%::przedmiot}%" get of "plugins/KDrop/players.yml" is not set:
			set "players.%{_player}'s uuid%.drop.%{KDrop::%loop-value%::przedmiot}%" to "true" in yaml file "plugins/KDrop/players.yml"
	if value "players.%{_player}'s uuid%.statistics.cobblestone" get of "plugins/KDrop/players.yml" is not set:
		set "players.%{_player}'s uuid%.statistics.cobblestone" to "0" in yaml file "plugins/KDrop/players.yml"
	if value "players.%{_player}'s uuid%.statistics.lvl" get of "plugins/KDrop/players.yml" is not set:
		set "players.%{_player}'s uuid%.statistics.lvl" to "0" in yaml file "plugins/KDrop/players.yml"
	if value "players.%{_player}'s uuid%.statistics.exp" get of "plugins/KDrop/players.yml" is not set:
		set "players.%{_player}'s uuid%.statistics.exp" to "0" in yaml file "plugins/KDrop/players.yml"
	if value "players.%{_player}'s uuid%.statistics.do-next-level" get of "plugins/KDrop/players.yml" is not set:
		set "players.%{_player}'s uuid%.statistics.do-next-level" to "250" in yaml file "plugins/KDrop/players.yml"
	if value "players.%{_player}'s uuid%.drop.cobblestone" get of "plugins/KDrop/players.yml" is not set:
		set "players.%{_player}'s uuid%.drop.cobblestone" to "true" in yaml file "plugins/KDrop/players.yml"
	if value "players.%{_player}'s uuid%.schowek.cobblestone" get of "plugins/KDrop/players.yml" is not set:
		set "players.%{_player}'s uuid%.schowek.cobblestone" to "0" in yaml file "plugins/KDrop/players.yml"
	if value "players.%{_player}'s uuid%.schowek.cobblex" get of "plugins/KDrop/players.yml" is not set:
		set "players.%{_player}'s uuid%.schowek.cobblex" to "0" in yaml file "plugins/KDrop/players.yml"
function KDrop_toggleDrop(player: player, item: text):
	if {_item} is not "all/on" or "all/off":
		set {_value} to value "players.%{_player}'s uuid%.drop.%{_item}%" get of "plugins/KDrop/players.yml"
		if {_value} is "true":
			set "players.%{_player}'s uuid%.drop.%{_item}%" to "false" in "plugins/KDrop/players.yml"
		if {_value} is "false":
			set "players.%{_player}'s uuid%.drop.%{_item}%" to "true" in "plugins/KDrop/players.yml"
	else if {_item} is "all/on":
		loop {KDrop::drops::stone::*}:
			set "players.%{_player}'s uuid%.drop.%{KDrop::%loop-value%::przedmiot}%" to "true" in "plugins/KDrop/players.yml"
	else if {_item} is "all/off":
		loop {KDrop::drops::stone::*}:
			set "players.%{_player}'s uuid%.drop.%{KDrop::%loop-value%::przedmiot}%" to "false" in "plugins/KDrop/players.yml"
	wait 3 ticks
	execute {_player} command "drop"
command /drop [<text>]:
	trigger:
		set {guiwyjmowanie::%player%} to "%player%"
		if arg 1 is set:
			execute player command "drop"
		if arg 1 is not set:
			open chest with 4 rows named "&7Drop ze stone" to player
			wait 0.0001 ticks
			set {_slot} to -1
			loop {KDrop::drops::stone::*}:
				add 1 to {_slot}
				if {KDrop::%loop-value%::wiadomosc} is set:
					if {KDrop::%loop-value%::fortuna} is "tak":
						set {_fortuna-text} to "&a&l✔"
					else:
						set {_fortuna-text} to "&c&l✖"
					if {KDrop::%loop-value%::ilosc-min} is {KDrop::%loop-value%::ilosc-max}:
						set {_ilosc-text} to 1
					else:
						set {_ilosc-text} to "%{KDrop::%loop-value%::ilosc-min}%-%{KDrop::%loop-value%::ilosc-max}%"
					set {_value} to value "players.%player's uuid%.drop.%{KDrop::%loop-value%::przedmiot}%" get of "plugins/KDrop/players.yml"
					if {_value} is "true":
						set {_aktywny} to "&a&l✔"
					if {_value} is "false":
						set {_aktywny} to "&c&l✖"
					set {_cobblestone-text-raw} to value "players.%player's uuid%.drop.cobblestone" get of "plugins/KDrop/players.yml"
					if {_cobblestone-text-raw} is "true":
						set {_cobblestone-text} to "&a&l✔"
						set {_cobblestone-text-tryb} to "&eWyrzucanie cobblestone na ziemie"
					if {_cobblestone-text-raw} is "false":
						set {_cobblestone-text} to "&c&l✖"
						set {_cobblestone-text-tryb} to "&eDodawanie cobblestone do schowka"
					set {_nazwa} to loop-value
					set {_turbodrop} to ""
					set {_szansa} to "%{KDrop::%loop-value%::szansa}%" parsed as number
					set {_lvl} to value "players.%player's uuid%.statistics.lvl" get of "plugins/KDrop/players.yml" parsed as number
					set {_bonus} to {KDrop::%loop-value%::bonus-za-level} * {_lvl}
					add {_bonus} to {_szansa}
					if player has permission "drop.vip":
						if player don't have permission "drop.svip":
							set {_mnoznik} to value "config.mnoznik.vip" get of "plugins/KDrop/config.yml" parsed as number
							set {_szansa} to {_szansa} * {_mnoznik}
							set {_premium} to "&2(+VIP)"
					if player has permission "drop.svip":
						set {_mnoznik} to value "config.mnoznik.svip" get of "plugins/KDrop/config.yml" parsed as number
						set {_szansa} to {_szansa} * {_mnoznik}
						set {_premium} to "&2(+SVIP)"
					if {KDrop::turbodrop::drop::all} or {KDrop::turbodrop::drop::%player%} is set:
						set {_mnoznik} to value "config.mnoznik.turbo.drop" get of "plugins/KDrop/config.yml" parsed as number
						set {_szansa} to {_szansa} * {_mnoznik}
						set {_turbodrop} to "&2(+TURBODROP) "
					set {_exp-stone} to value "drops.exp.stone" get of "plugins/KDrop/messages.yml" parsed as integer
					if {KDrop::turbodrop::exp::all} or {KDrop::turbodrop::exp::%player%} is set:
						set {_mnoznik} to value "config.mnoznik.turbo.exp" get of "plugins/KDrop/config.yml" parsed as number
						set {_exp-stone} to {_exp-stone} * {_mnoznik}
					set {_exp-obsidian} to value "drops.exp.obsidian" get of "plugins/KDrop/messages.yml" parsed as integer
					if {KDrop::turbodrop::exp::all} or {KDrop::turbodrop::exp::%player%} is set:
						set {_mnoznik} to value "config.mnoznik.turbo.exp" get of "plugins/KDrop/config.yml" parsed as number
						set {_exp-obsidian} to {_exp-obsidian} * {_mnoznik}
					format slot {_slot} of player with 1 of {KDrop::%loop-value%::przedmiot} named "&e&l%{KDrop::%{_nazwa}%::przedmiot-wiadomosc}%" with lore "&8» &7Szansa: &a%{_szansa}%%% &2(+%{_bonus}%%%) %{_turbodrop}%%{_premium}%||&8» &7Wysokosc: &a%{KDrop::%loop-value%::wysokosc-y}%||&8» &7Ilosc: &a%{_ilosc-text}%||&8» &7Punkty: &a%{KDrop::%loop-value%::punkty}%||&8» &7Fortuna: %{_fortuna-text}%||&8» &7Aktywny: %{_aktywny}%" to close then run "drop_toggle %player% %{KDrop::%{_nazwa}%::przedmiot}%"
			format slot 27 of player with 1 of green wool named "&2&lWlacz wszystkie" with lore "&7Kliknij aby wlaczyc wszystkie dropy ze stone" to close then run "drop_toggle %player% all/on"
			format slot 28 of player with 1 of red wool named "&4&lWylacz wszystkie" with lore "&7Kliknij aby wylaczyc wszystkie dropy ze stone" to close then run "drop_toggle %player% all/off"
			format slot 29 of player with 1 of paper named "&7&lInformacje:" with lore "&7Turbo drop/exp jak i rangi kupisz na stronie: &6mojastrona.pl" to close then run [do [wait 3 ticks]->[execute player command "drop"]]
			format slot 31 of player with 1 of diamond pickaxe named "&6&lTurbo INFO:" with lore "||&7&lDrop:||&8» &7GRACZ: &c&l✖||&8» &7SERWER: &a%{random}%||||&7&lExp:||&8» &7GRACZ: &a3 minuty 15 sekund||&8» &7SERWER: &c&l✖" to close then run [do [wait 3 ticks]->[execute player command "drop"]]
			format slot 34 of player with 1 of experience bottle named "&7&lExp z:" with lore "&7Stone: &a%{_exp-stone}%||&7Obsydian: &a%{_exp-obsidian}%" to close then run [do [wait 3 ticks]->[execute player command "drop"]]
			format slot 35 of player with 1 of cobblestone named "&7&lCobblestone" with lore "&7Aktywny: %{_cobblestone-text}%||&7Tryb: %{_cobblestone-text-tryb}%" to close then run "drop_toggle %player% cobblestone"
		wait 20 ticks
		clear {guiwyjmowanie::%player%}
command /drop_toggle [<player>] [<text>]:
	trigger:
		if sender is console:
			KDrop_toggleDrop(player-arg, "%arg 2%")
command /level [<offlineplayer>]:
	aliases: pkt, punkty, poziom, lvl
	trigger:
		if arg 1 is not set:
			set {_lvl} to value "players.%player's uuid%.statistics.lvl" get of "plugins/KDrop/players.yml"
			set {_punkty} to value "players.%player's uuid%.statistics.exp" get of "plugins/KDrop/players.yml"
			set {_nextlvl} to value "players.%player's uuid%.statistics.do-next-level" get of "plugins/KDrop/players.yml"
			send "&8===============&9LEVEL&8==============="
			send "&7&lTwoje statystyki:"
			send "&8» &7Level kopania: &a%{_lvl}%"
			send "&8» &7Punkty kopania: &a%{_punkty}%&a/%{_nextlvl}%"
			send "&8===============&9LEVEL&8==============="
		if arg 1 is set:
			if arg 1 is player:
				set {_lvl} to value "players.%arg-1's uuid%.statistics.lvl" get of "plugins/KDrop/players.yml"
				set {_punkty} to value "players.%arg-1's uuid%.statistics.exp" get of "plugins/KDrop/players.yml"
				set {_nextlvl} to value "players.%arg-1's uuid%.statistics.do-next-level" get of "plugins/KDrop/players.yml"
				send "&8===============&9LEVEL&8==============="
				send "&7&lStatystyki &e%arg-1%:"
				send "&8» &7Level kopania: &a%{_lvl}%"
				send "&8» &7Punkty kopania: &a%{_punkty}%&a/%{_nextlvl}%"
				send "&8===============&9LEVEL&8==============="
			else if arg 1 is not player:
				send "&7Poprawne uzycie: &6/level (nick)"
command /cobblex [<text>]:
	aliases: cx
	trigger:
		if arg 1 is set:
			execute player command "cobblex"
		if arg 1 is not set:
			wait 3 ticks
			set {_cobblex} to value "players.%player's uuid%.schowek.cobblex" get of "plugins/KDrop/players.yml"
			set {_cobblestone} to value "players.%player's uuid%.schowek.cobblestone" get of "plugins/KDrop/players.yml"
			open chest with 3 rows named "&7Schowek Cobblestone" to player
			loop 27 times:
				format slot loop-number -1 of player with 1 of light green glass named "&0" to close
			format slot 10 of player with 1 of cobblestone named "&7Cobblestone" with lore "&7W schowku: &e%{_cobblestone}%||||&7Kliknij aby wyplacic cobblestone'a." to close then run "console %player% cobblestone"
			format slot 10 of player with 1 of cobblestone named "&7Cobblestone" with lore "&7W schowku: &e%{_cobblestone}%||||&7Kliknij aby wyplacic cobblestone'a." to close then run "console %player% cobblestone"
			format slot 4 of player with 1 of workbench named "&7Zrob CobbleX" with lore "&7Potrzebujesz: &e576 cobblestone (9 stackow)||||&7Kliknij aby wytworzyc cobblex'a." to close then run "console %player% zrob"
			format slot 16 of player with 1 of mossy cobblestone named "&7CobbleX" with lore "-&7W schowku: &e%{_cobblex}%||||&7Kliknij aby wyplacic cobblex'y." to close then run "console %player% cobblex"
			format slot 22 of player with 1 of dispenser named "&7Drop z CobbleX'a" with lore "||&7Kliknij aby otworzyc menu dropow z CobbleX'a." to close then run "console %player% dropy"
command /console [<player>] [<text>]:
	trigger:
		if sender is console:
			if arg 2 is not "zrob" or "dropy":
				set {KDrop::wyplacanie::%text-arg%::%player-arg%} to "%player%"
				send "&7Aby wyplacic &e%arg-2% &7wpisz ilosc na chacie!" to player-arg
				loop 10 times:
					wait 1 second
				clear {KDrop::wyplacanie::%text-arg%::%player-arg%}
			if arg 2 is "zrob":
				set {_cobblestone} to value "players.%player-arg's uuid%.schowek.cobblestone" get of "plugins/KDrop/players.yml" parsed as number
				add number of cobblestone in player-arg's inventory to {_cobblestone}
				if {_cobblestone} >= 576:
					remove all cobblestone from player-arg's inventory
					remove 576 from {_cobblestone}
					set {_i} to random integer between 1 and 3
					set {_cobblex} to value "players.%player-arg's uuid%.schowek.cobblex" get of "plugins/KDrop/players.yml" parsed as number
					loop {_i} times:
						add 1 to {_cobblex}
					set "players.%player-arg's uuid%.schowek.cobblex" to "%{_cobblex}%" in yaml file "plugins/KDrop/players.yml"
					set "players.%player-arg's uuid%.schowek.cobblestone" to "%{_cobblestone}%" in yaml file "plugins/KDrop/players.yml"
					send "&7Wytworzyles &e%{_i}%&e cobblex'y!"  to player-arg
				else:
					send "&7Nie posiadasz &e576 (9 stackow) cobblestone'a&7!" to player-arg
			if arg 2 is "dropy":
				wait 3 ticks
				open chest with 3 rows named "&7Drop z CobbleX'a" to arg-1
				format slot 26 of player-arg with 1 of red wool named "&cPowrot" to close then run [make player-arg execute "cobblex"]
				set {_slot} to 0
				loop {KDrop::drops::cobblex::*}:
					set {_przedmiot} to {KDrop::cobblex::%loop-value%::przedmiot} parsed as item
					set {_ilosc-min} to {KDrop::cobblex::%loop-value%::ilosc-min} parsed as integer
					set {_ilosc-max} to {KDrop::cobblex::%loop-value%::ilosc-max} parsed as integer
					if {_ilosc-min} = {_ilosc-max}:
						set {_ilosc} to "%{_ilosc-max}%"
					else:
						set {_ilosc} to "%{_ilosc-min}%-%{_ilosc-max}%"
					format slot {_slot} of player-arg with 1 of {_przedmiot} named "&e%{KDrop::cobblex::%loop-value%::przedmiot-wiadomosc}%" with lore "&7Ilosc: &a%{_ilosc}%" to close
					add 1 to {_slot}
command /turbo [<text>] [<text>] [<text>] [<integer>] [<text>]:
	usage: /turbo <drop/exp> <all/gracz> <gracz> <czas> <m/h>
	trigger:
		if player has permission "kdrop.turbo" or "kdrop.*":
			if arg 1 is "drop":
				if arg 2 is "all":
					if arg 3 is set:
						if arg 4 is integer:
							if arg 5 is "m":
								set {_czas} to now
								loop arg 4 times:
									add 1 minute to {_czas}
								set {KDrop::turbo::drop::all} to {_czas}
								if arg 4 is 1:
									set {_okreslenie} to "MINUTE"
								if arg 4 is 2 or 3 or 4:
									set {_okreslenie} to "MINUTY"
								set {_s} to arg 4
								if {_s} >= 5:	
									set {_okreslenie} to "MINUT"
								broadcast "&8========================="
								broadcast ""
								broadcast "&6Na serwerze zostal aktywowany:"
								broadcast "          &cTURBODROP"
								broadcast "       &aDLA WSZYSTKICH!"
								broadcast "       &aNA: &2%arg 4% %{_okreslenie}%!"
								broadcast ""
								broadcast "&8========================="
								stop
							else if arg 5 is "h":
								set {_czas} to now
								loop arg 4 times:
									add 1 hour to {_czas}
								set {KDrop::turbo::drop::all} to {_czas}
								if arg 4 is 1:
									set {_okreslenie} to "GODZINE"
								if arg 4 is 2 or 3 or 4:
									set {_okreslenie} to "GODZINY"
								set {_s} to arg 4
								if {_s} >= 5:	
									set {_okreslenie} to "GODZIN"
								broadcast "&8========================="
								broadcast ""
								broadcast "&6Na serwerze zostal aktywowany:"
								broadcast "          &cTURBODROP"
								broadcast "       &aDLA WSZYSTKICH!"
								broadcast "       &aNA: &2%arg 4% %{_okreslenie}%!"
								broadcast ""
								broadcast "&8========================="
								stop
							else:
								send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
						else:
							send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
					else:
						send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
				if arg 2 is "gracz":
					if arg 3 is set:
						if arg 4 is integer:
							if arg 5 is "m":
								set {_czas} to now
								loop arg 4 times:
									add 1 minute to {_czas}
								set {KDrop::turbo::drop::%arg 3%} to {_czas}
								if arg 4 is 1:
									set {_okreslenie} to "MINUTE"
								if arg 4 is 2 or 3 or 4:
									set {_okreslenie} to "MINUTY"
								set {_s} to arg 4
								if {_s} >= 5:	
									set {_okreslenie} to "MINUT"
								broadcast "&8========================="
								broadcast ""
								broadcast "&6Na serwerze zostal aktywowany:"
								broadcast "          &cTURBODROP"
								broadcast "       &aDLA: &2%arg 3%!"
								broadcast "       &aNA: &2%arg 4% %{_okreslenie}%!"
								broadcast ""
								broadcast "&8========================="
								stop
							else if arg 5 is "h":
								set {_czas} to now
								loop arg 4 times:
									add 1 hour to {_czas}
								set {KDrop::turbo::drop::%arg 3%} to {_czas}
								if arg 4 is 1:
									set {_okreslenie} to "GODZINE"
								if arg 4 is 2 or 3 or 4:
									set {_okreslenie} to "GODZINY"
								set {_s} to arg 4
								if {_s} >= 5:	
									set {_okreslenie} to "GODZIN"
								broadcast "&8========================="
								broadcast ""
								broadcast "&6Na serwerze zostal aktywowany:"
								broadcast "          &cTURBODROP"
								broadcast "       &aDLA: &2%arg 3%!"
								broadcast "       &aNA: &2%arg 4% %{_okreslenie}%!"
								broadcast ""
								broadcast "&8========================="
								stop
							else:
								send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
						else:
							send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
					else:
						send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
				else:
					send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
			if arg 1 is "exp":
				if arg 2 is "all":
					if arg 3 is set:
						if arg 4 is integer:
							if arg 5 is "m":
								set {_czas} to now
								loop arg 4 times:
									add 1 minute to {_czas}
								set {KDrop::turbo::exp::all} to {_czas}
								if arg 4 is 1:
									set {_okreslenie} to "MINUTE"
								if arg 4 is 2 or 3 or 4:
									set {_okreslenie} to "MINUTY"
								set {_s} to arg 4
								if {_s} >= 5:	
									set {_okreslenie} to "MINUT"
								broadcast "&8========================="
								broadcast ""
								broadcast "&6Na serwerze zostal aktywowany:"
								broadcast "          &cTURBODEXP"
								broadcast "       &aDLA WSZYSTKICH!"
								broadcast "       &aNA: &2%arg 4% %{_okreslenie}%!"
								broadcast ""
								broadcast "&8========================="
								stop
							else if arg 5 is "h":
								set {_czas} to now
								loop arg 4 times:
									add 1 hour to {_czas}
								set {KDrop::turbo::exp::all} to {_czas}
								if arg 4 is 1:
									set {_okreslenie} to "GODZINE"
								if arg 4 is 2 or 3 or 4:
									set {_okreslenie} to "GODZINY"
								set {_s} to arg 4
								if {_s} >= 5:	
									set {_okreslenie} to "GODZIN"
								broadcast "&8========================="
								broadcast ""
								broadcast "&6Na serwerze zostal aktywowany:"
								broadcast "          &cTURBOEXP"
								broadcast "       &aDLA WSZYSTKICH!"
								broadcast "       &aNA: &2%arg 4% %{_okreslenie}%!"
								broadcast ""
								broadcast "&8========================="
								stop
							else:
								send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
						else:
							send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
					else:
						send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
				if arg 2 is "gracz":
					if arg 3 is set:
						if arg 4 is integer:
							if arg 5 is "m":
								set {_czas} to now
								loop arg 4 times:
									add 1 minute to {_czas}
								set {KDrop::turbo::exp::%arg 3%} to {_czas}
								if arg 4 is 1:
									set {_okreslenie} to "MINUTE"
								if arg 4 is 2 or 3 or 4:
									set {_okreslenie} to "MINUTY"
								set {_s} to arg 4
								if {_s} >= 5:	
									set {_okreslenie} to "MINUT"
								broadcast "&8========================="
								broadcast ""
								broadcast "&6Na serwerze zostal aktywowany:"
								broadcast "          &cTURBOEXP"
								broadcast "       &aDLA: &2%arg 3%!"
								broadcast "       &aNA: &2%arg 4% %{_okreslenie}%!"
								broadcast ""
								broadcast "&8========================="
								stop
							else if arg 5 is "h":
								set {_czas} to now
								loop arg 4 times:
									add 1 hour to {_czas}
								set {KDrop::turbo::exp::%arg 3%} to {_czas}
								if arg 4 is 1:
									set {_okreslenie} to "GODZINE"
								if arg 4 is 2 or 3 or 4:
									set {_okreslenie} to "GODZINY"
								set {_s} to arg 4
								if {_s} >= 5:	
									set {_okreslenie} to "GODZIN"
								broadcast "&8========================="
								broadcast ""
								broadcast "&6Na serwerze zostal aktywowany:"
								broadcast "          &cTURBOEXP"
								broadcast "       &aDLA: &2%arg 3%!"
								broadcast "       &aNA: &2%arg 4% %{_okreslenie}%!"
								broadcast ""
								broadcast "&8========================="
								stop
							else:
								send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
						else:
							send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
					else:
						send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
				else:
					send "&7Uzycie: &a/turbo <drop/exp> <gracz/all> <gracz> <czas> <m/h>"
on script load:
	KDrop_reloadConfigu()
on script unload:
	clear {KDrop::*}
	clear {KCobblex::*}
on join:
	KDrop_reloadPlayer(player)
	clear {guiwyjmowanie::%player%}
	while player is online:
		set {KLvl::lvl::%player%} to value "players.%player's uuid%.statistics.lvl" get of "plugins/KDrop/players.yml"
		wait 3 minutes
every 1 minute:
	if now is bigger than {KDrop::turbodrop::drop::all}:
		broadcast "&8========================="
		broadcast ""
		broadcast "          &cTURBODROP"
		broadcast "       &aDLA WSZYSTKICH!"
		broadcast "      &aSIE ZAKONCZYL :(!"
		broadcast ""
		broadcast "&8========================="
		clear {KDrop::turbodrop::drop::all}
	if now is bigger than {KDrop::turbodrop::exp::all}:
		broadcast "&8========================="
		broadcast ""
		broadcast "          &cTURBOEXP"
		broadcast "       &aDLA WSZYSTKICH!"
		broadcast "      &aSIE ZAKONCZYL :(!"
		broadcast ""
		broadcast "&8========================="
		clear {KDrop::turbodrop::exp::all}
	loop all players:
		if now is bigger than {KDrop::turbodrop::drop::%loop-player%}:
			send "&8=========================" to loop-player
			send "" to loop-player
			send "          &cTURBODROP" to loop-player
			send "       &aDLA CIEBIE!" to loop-player
			send "      &aSIE ZAKONCZYL :(!" to loop-player
			send "" to loop-player
			send "&8=========================" to loop-player
			clear {KDrop::turbodrop::drop::%loop-player%}
		if now is bigger than {KDrop::turbodrop::exp::%loop-player%}:
			send "&8=========================" to loop-player
			send "" to loop-player
			send "          &cTURBOEXP" to loop-player
			send "       &aDLA CIEBIE!" to loop-player
			send "      &aSIE ZAKONCZYL :(!" to loop-player
			send "" to loop-player
			send "&8=========================" to loop-player
			clear {KDrop::turbodrop::exp::%loop-player%}
on item spawn of cobblestone:
	if {KDrop::doUsuniecia} is set:
		clear {KDrop::doUsuniecia}
		cancel event
on chat:
	if {KDrop::wyplacanie::cobblestone::%player%} is set:
		set {_ilosc} to message parsed as integer
		if {_ilosc} is not "<none>" or 0:
			set {_cobblestone} to value "players.%player's uuid%.schowek.cobblestone" get of "plugins/KDrop/players.yml" parsed as number
			if {_ilosc} <= {_cobblestone}:
				remove {_ilosc} from {_cobblestone}
				set "players.%player's uuid%.schowek.cobblestone" to "%{_cobblestone}%" in yaml file "plugins/KDrop/players.yml"
				set {_ilosc} to "%{_ilosc}% cobblestone" parsed as item type
				if player can hold {_ilosc}:
					add {_ilosc} to player
				else:
					drop {_ilosc} at player
				send "&7Wyplaciles &e%{_ilosc}%&7!"
			else:
				send "&7Nie posiadasz tyle cobblestone'a w schowku!"
		else:
			send "&7Musisz podac liczbe cobblestone'a do wyplacenia!"
	if {KDrop::wyplacanie::cobblex::%player%} is set:
		set {_ilosc} to message parsed as integer
		if {_ilosc} is not "<none>" or 0:
			set {_cobblex} to value "players.%player's uuid%.schowek.cobblex" get of "plugins/KDrop/players.yml" parsed as number
			if {_ilosc} <= {_cobblex}:
				remove {_ilosc} from {_cobblex}
				set "players.%player's uuid%.schowek.cobblex" to "%{_cobblex}%" in yaml file "plugins/KDrop/players.yml"
				loop {_ilosc} times:
					if player can hold 1 mossy cobblestone of thorns 10 named "&aCobbleX" with lore "&7Postaw na ziemi i rozwal!":
						add 1 mossy cobblestone of thorns 10 named "&aCobbleX" with lore "&7Postaw na ziemi i rozwal!" to player
					else:
						drop 1 mossy cobblestone of thorns 10 named "&aCobbleX" with lore "&7Postaw na ziemi i rozwal!" at player
				send "&7Wyplaciles &e%{_ilosc}% &ecobblex'ow&7!"
			else:
				send "&7Nie posiadasz tyle cobblex'a w schowku!"
		else:
			send "&7Musisz podac liczbe cobblex'a do wyplacenia!"
		cancel event
		clear {KDrop::wyplacanie::cobblex::%player%}
on rightclick:
	if {guiwyjmowanie::%player%} is set:
		cancel event
		send coloured ""
		send coloured "         &c&lBlad: &cAnty-Kopiowanie zaczekaj chwile!."
		send coloured ""
on place:
	if tool of player is mossy cobblestone of thorns 10:
		send "&aPostawiles CobbleX'a!"
		add location of event-block to {KCobbleX::cobblexy::*}
on break:
	if event-block is mossy cobblestone:
		loop {KCobbleX::cobblexy::*}:
			if location of event-block is loop-value:
				remove location of event-block from {KCobbleX::cobblexy::*}
				cancel event
				set event-block to air
				set {_cos} to random element out of {KDrop::drops::cobblex::*}
				set {_przedmiot} to {KDrop::cobblex::%{_cos}%::przedmiot} parsed as item
				set {_ilosc-min} to {KDrop::cobblex::%{_cos}%::ilosc-min} parsed as integer
				set {_ilosc-max} to {KDrop::cobblex::%{_cos}%::ilosc-max} parsed as integer
				set {_ilosc} to random integer between {_ilosc-min} and {_ilosc-max}
				set {_przedmiot} to "%{_ilosc}% %{_przedmiot}%" parsed as item
				add {_przedmiot} to player
				send "&7Wylosowales: &e%{_ilosc}% &e%{KDrop::cobblex::%{_cos}%::przedmiot-wiadomosc}%"
	if event-block is stone:
		set {_value} to value "players.%player's uuid%.drop.cobblestone" get of "plugins/KDrop/players.yml"
		if {_value} is "false":
			set {KDrop::doUsuniecia} to true
			set {_cobblestone} to value "players.%player's uuid%.schowek.cobblestone" get of "plugins/KDrop/players.yml" parsed as number
			add 1 to {_cobblestone}
			set "players.%player's uuid%.schowek.cobblestone" to "%{_cobblestone}%" in yaml file "plugins/KDrop/players.yml"
		loop {KDrop::drops::stone::*}:
			set {_szansa} to "%{KDrop::%loop-value%::szansa}%" parsed as number
			set {_lvl} to value "players.%player's uuid%.statistics.lvl" get of "plugins/KDrop/players.yml" parsed as number
			set {_bonus} to {KDrop::%loop-value%::bonus-za-level} * {_lvl}
			add {_bonus} to {_szansa}
			if player has permission "drop.vip":
				if player don't have permission "drop.svip":
					set {_mnoznik} to value "config.mnoznik.vip" get of "plugins/KDrop/config.yml" parsed as number
					set {_szansa} to {_szansa} * {_mnoznik}
			if player has permission "drop.svip":
				set {_mnoznik} to value "config.mnoznik.svip" get of "plugins/KDrop/config.yml" parsed as number
				set {_szansa} to {_szansa} * {_mnoznik}
			if {KDrop::turbodrop::drop::all} is set:
				set {_mnoznik} to value "config.mnoznik.turbo.drop" get of "plugins/KDrop/config.yml" parsed as number
				set {_szansa} to {_szansa} * {_mnoznik}
			chance of {_szansa}%:
				set {_value} to value "players.%player's uuid%.drop.%{KDrop::%loop-value%::przedmiot}%" get of "plugins/KDrop/players.yml"
				if {_value} is "true":
					set {_wys} to "%y-coordinates of event-block%" parsed as number
					remove 0.5 from {_wys}
					if {_wys} <= {KDrop::%loop-value%::wysokosc-y}:
						if player's tool is any pickaxe of fortune 1:
							chance of 10%:
								set {_ilosc-min} to {KDrop::%loop-value%::ilosc-min}
								set {_ilosc-min} to {_ilosc-min} parsed as integer
								set {_ilosc-max} to {KDrop::%loop-value%::ilosc-max}
								set {_ilosc-max} to {_ilosc-max} parsed as integer
								set {_przedmiot} to {KDrop::%loop-value%::przedmiot}
								set {_punkty} to {KDrop::%loop-value%::punkty}
								set {_punkty} to {_punkty} parsed as integer
								set {_ilosc} to random integer between {_ilosc-min} and {_ilosc-max}
								set {_punkty} to {_punkty} * {_ilosc}
								set {_apunkty} to value "players.%player's uuid%.statistics.exp" get of "plugins/KDrop/players.yml" parsed as integer
								add {_punkty} to {_apunkty}
								set "players.%player's uuid%.statistics.exp" to "%{_apunkty}%" in yaml file "plugins/KDrop/players.yml"
								set {_przedmiotx} to "%{_ilosc}% %{_przedmiot}%" parsed as item type
								set {_wiad} to {KDrop::%loop-value%::wiadomosc}
								if {_wiad} is not "brak":
									replace all "{przedmiot}" with "%{KDrop::%loop-value%::przedmiot-wiadomosc}%" in {_wiad}
									replace all "{pkt}" with "%{_punkty}%" in {_wiad}
									replace all "{ilosc}" with "%{_ilosc}%" in {_wiad}
									send "%coloured {_wiad}%"
								if player can hold {_przedmiotx}:
									add {_przedmiotx} to player
								else:
									drop {_przedmiotx} at player
								set {_apunkty} to {_punkty} + {_apunkty}
								set "players.%player's uuid%.statistics.exp" to "%{_apunkty}%" in yaml file "plugins/KDrop/players.yml"
							else:
								set {_ilosc} to {KDrop::%loop-value%::ilosc-min}
								set {_ilosc} to {_ilosc} parsed as integer
								set {_przedmiot} to {KDrop::%loop-value%::przedmiot}
								set {_punkty} to {KDrop::%loop-value%::punkty}
								set {_punkty} to {_punkty} parsed as integer
								set {_apunkty} to value "players.%player's uuid%.statistics.exp" get of "plugins/KDrop/players.yml" parsed as integer
								add {_punkty} to {_apunkty}
								set "players.%player's uuid%.statistics.exp" to "%{_apunkty}%" in yaml file "plugins/KDrop/players.yml"
								set {_wiad} to {KDrop::%loop-value%::wiadomosc}
								if {_wiad} is not "brak":
									replace all "{przedmiot}" with "%{KDrop::%loop-value%::przedmiot-wiadomosc}%" in {_wiad}
									replace all "{pkt}" with "%{_punkty}%" in {_wiad}
									replace all "{ilosc}" with "%{_ilosc}%" in {_wiad}
									send "%coloured {_wiad}%"
								set {_przedmiotx} to "%{_ilosc}% %{_przedmiot}%" parsed as item type
								if player can hold {_przedmiotx}:
									add {_przedmiotx} to player
								else:
									drop {_przedmiotx} at player
						if player's tool is any pickaxe of fortune 2:
							chance of 20%:
								set {_ilosc-min} to {KDrop::%loop-value%::ilosc-min}
								set {_ilosc-min} to {_ilosc-min} parsed as integer
								set {_ilosc-max} to {KDrop::%loop-value%::ilosc-max}
								set {_ilosc-max} to {_ilosc-max} parsed as integer
								set {_przedmiot} to {KDrop::%loop-value%::przedmiot}
								set {_punkty} to {KDrop::%loop-value%::punkty}
								set {_punkty} to {_punkty} parsed as integer
								set {_ilosc} to random integer between {_ilosc-min} and {_ilosc-max}
								set {_punkty} to {_punkty} * {_ilosc}
								set {_apunkty} to value "players.%player's uuid%.statistics.exp" get of "plugins/KDrop/players.yml" parsed as integer
								add {_punkty} to {_apunkty}
								set "players.%player's uuid%.statistics.exp" to "%{_apunkty}%" in yaml file "plugins/KDrop/players.yml"
								set {_przedmiotx} to "%{_ilosc}% %{_przedmiot}%" parsed as item type
								set {_wiad} to {KDrop::%loop-value%::wiadomosc}
								if {_wiad} is not "brak":
									replace all "{przedmiot}" with "%{KDrop::%loop-value%::przedmiot-wiadomosc}%" in {_wiad}
									replace all "{pkt}" with "%{_punkty}%" in {_wiad}
									replace all "{ilosc}" with "%{_ilosc}%" in {_wiad}
									send "%coloured {_wiad}%"
								if player can hold {_przedmiotx}:
									add {_przedmiotx} to player
								else:
									drop {_przedmiotx} at player
								set {_apunkty} to {_punkty} + {_apunkty}
								set "players.%player's uuid%.statistics.exp" to "%{_apunkty}%" in yaml file "plugins/KDrop/players.yml"
							else:
								set {_ilosc} to {KDrop::%loop-value%::ilosc-min}
								set {_ilosc} to {_ilosc} parsed as integer
								set {_przedmiot} to {KDrop::%loop-value%::przedmiot}
								set {_punkty} to {KDrop::%loop-value%::punkty}
								set {_punkty} to {_punkty} parsed as integer
								set {_apunkty} to value "players.%player's uuid%.statistics.exp" get of "plugins/KDrop/players.yml" parsed as integer
								add {_punkty} to {_apunkty}
								set "players.%player's uuid%.statistics.exp" to "%{_apunkty}%" in yaml file "plugins/KDrop/players.yml"
								set {_wiad} to {KDrop::%loop-value%::wiadomosc}
								if {_wiad} is not "brak":
									replace all "{przedmiot}" with "%{KDrop::%loop-value%::przedmiot-wiadomosc}%" in {_wiad}
									replace all "{pkt}" with "%{_punkty}%" in {_wiad}
									replace all "{ilosc}" with "%{_ilosc}%" in {_wiad}
									send "%coloured {_wiad}%"
								set {_przedmiotx} to "%{_ilosc}% %{_przedmiot}%" parsed as item type
								if player can hold {_przedmiotx}:
									add {_przedmiotx} to player
								else:
									drop {_przedmiotx} at player
						if player's tool is any pickaxe of fortune 3:
							chance of 30%:
								set {_ilosc-min} to {KDrop::%loop-value%::ilosc-min}
								set {_ilosc-min} to {_ilosc-min} parsed as integer
								set {_ilosc-max} to {KDrop::%loop-value%::ilosc-max}
								set {_ilosc-max} to {_ilosc-max} parsed as integer
								set {_przedmiot} to {KDrop::%loop-value%::przedmiot}
								set {_punkty} to {KDrop::%loop-value%::punkty}
								set {_punkty} to {_punkty} parsed as integer
								set {_ilosc} to random integer between {_ilosc-min} and {_ilosc-max}
								set {_punkty} to {_punkty} * {_ilosc}
								set {_apunkty} to value "players.%player's uuid%.statistics.exp" get of "plugins/KDrop/players.yml" parsed as integer
								add {_punkty} to {_apunkty}
								set "players.%player's uuid%.statistics.exp" to "%{_apunkty}%" in yaml file "plugins/KDrop/players.yml"
								set {_przedmiotx} to "%{_ilosc}% %{_przedmiot}%" parsed as item type
								set {_wiad} to {KDrop::%loop-value%::wiadomosc}
								if {_wiad} is not "brak":
									replace all "{przedmiot}" with "%{KDrop::%loop-value%::przedmiot-wiadomosc}%" in {_wiad}
									replace all "{pkt}" with "%{_punkty}%" in {_wiad}
									replace all "{ilosc}" with "%{_ilosc}%" in {_wiad}
									send "%coloured {_wiad}%"
								if player can hold {_przedmiotx}:
									add {_przedmiotx} to player
								else:
									drop {_przedmiotx} at player
								set {_apunkty} to {_punkty} + {_apunkty}
								set "players.%player's uuid%.statistics.exp" to "%{_apunkty}%" in yaml file "plugins/KDrop/players.yml"
							else:
								set {_ilosc} to {KDrop::%loop-value%::ilosc-min}
								set {_ilosc} to {_ilosc} parsed as integer
								set {_przedmiot} to {KDrop::%loop-value%::przedmiot}
								set {_punkty} to {KDrop::%loop-value%::punkty}
								set {_punkty} to {_punkty} parsed as integer
								set {_apunkty} to value "players.%player's uuid%.statistics.exp" get of "plugins/KDrop/players.yml" parsed as integer
								add {_punkty} to {_apunkty}
								set "players.%player's uuid%.statistics.exp" to "%{_apunkty}%" in yaml file "plugins/KDrop/players.yml"
								set {_wiad} to {KDrop::%loop-value%::wiadomosc}
								if {_wiad} is not "brak":
									replace all "{przedmiot}" with "%{KDrop::%loop-value%::przedmiot-wiadomosc}%" in {_wiad}
									replace all "{pkt}" with "%{_punkty}%" in {_wiad}
									replace all "{ilosc}" with "%{_ilosc}%" in {_wiad}
									send "%coloured {_wiad}%"
								set {_przedmiotx} to "%{_ilosc}% %{_przedmiot}%" parsed as item type
								if player can hold {_przedmiotx}:
									add {_przedmiotx} to player
								else:
									drop {_przedmiotx} at player
					if player's tool is any pickaxe of fortune 0:
						set {_ilosc} to {KDrop::%loop-value%::ilosc-min}
						set {_ilosc} to {_ilosc} parsed as integer
						set {_przedmiot} to {KDrop::%loop-value%::przedmiot}
						set {_punkty} to {KDrop::%loop-value%::punkty}
						set {_punkty} to {_punkty} parsed as integer
						set {_apunkty} to value "players.%player's uuid%.statistics.exp" get of "plugins/KDrop/players.yml" parsed as integer
						add {_punkty} to {_apunkty}
						set "players.%player's uuid%.statistics.exp" to "%{_apunkty}%" in yaml file "plugins/KDrop/players.yml"
						set {_wiad} to {KDrop::%loop-value%::wiadomosc}
						if {_wiad} is not "brak":
							replace all "{przedmiot}" with "%{KDrop::%loop-value%::przedmiot-wiadomosc}%" in {_wiad}
							replace all "{pkt}" with "%{_punkty}%" in {_wiad}
							replace all "{ilosc}" with "%{_ilosc}%" in {_wiad}
							send "%coloured {_wiad}%"
						set {_przedmiotx} to "%{_ilosc}% %{_przedmiot}%" parsed as item type
						if player can hold {_przedmiotx}:
							add {_przedmiotx} to player
						else:
							drop {_przedmiotx} at player
			set {_lvl} to value "players.%player's uuid%.statistics.lvl" get of "plugins/KDrop/players.yml" parsed as integer
			set {_punkty} to value "players.%player's uuid%.statistics.exp" get of "plugins/KDrop/players.yml" parsed as integer
			set {_nextlvl} to value "players.%player's uuid%.statistics.do-next-level" get of "plugins/KDrop/players.yml" parsed as integer
			set {_zwiekszanie} to value "config.level.zwiekszenie-punktow" get of "plugins/KDrop/config.yml" parsed as integer
			if {_punkty} >= {_nextlvl}:
				remove {_nextlvl} from {_punkty}
				add 1 to {_lvl}
				add {_zwiekszanie} to {_nextlvl}
				set "players.%player's uuid%.statistics.lvl" to "%{_lvl}%" in yaml file "plugins/KDrop/players.yml"
				set "players.%player's uuid%.statistics.exp" to "%{_exp}%" in yaml file "plugins/KDrop/players.yml"
				set "players.%player's uuid%.statistics.do-next-level" to "%{_nextlvl}%" in yaml file "plugins/KDrop/players.yml"
				send "&7Awansowales na kolejny poziom kopania!"
command /reset [<player>]:
	permission: drop.reset
	permission message: &cNie posiadasz uprawnien!
	trigger:
		set "players.%arg-player's uuid%.statistics.lvl" to "0" in yaml file "plugins/KDrop/players.yml"
		set "players.%arg-player's uuid%.statistics.exp" to "0" in yaml file "plugins/KDrop/players.yml"
		set "players.%arg-player's uuid%.statistics.do-next-level" to "250" in yaml file "plugins/KDrop/players.yml"

 

Jak chcesz przerób sobie

Odnośnik do komentarza
https://skript.pl/temat/22133-cobblex/#findComment-151036
Udostępnij na innych stronach

  • 0
3 minuty temu, MasterNW napisał:

https://code.skript.pl/CBfnJlWP/

Powiedz mi czy coś z tego rozumiesz? I czy będziesz umiał to przerobić? Jeżeli nie to jutro ci to zrobię tak jak chcesz :-) 

Nie chodzi mi o taki xD chodzi mi o to aby stworzyło się randomowa ilość cx, gui to już mogę sam zrobić z dropem. Tylko ja nwm czy w tym skrypcie nie jest tak że dany przedmio będzie driopił z innym np. wyleci z cx diax to czy nie wyleci z nim cos innego mi chodzi o to że ma wylatywać dana jedna rzecz (np. 16 diamentow lub złote jabłko A nie złote jabłko i 16 diamentów). Rozumiesz?

 

Odnośnik do komentarza
https://skript.pl/temat/22133-cobblex/#findComment-151037
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ę...