on death of player:
if attacker has permission "group.gracz":
add 5 to attacker's balance
else if attacker has permission "group.vip":
add 10 to attacker's balance
else:
add 15 to attacker's balance
format slot 3 of player with 1 of diamond sword named "&3&lWzmocnienie Ulepszonego Chinskiego Ostrza Tyra" with lore "&aAby ulepszyc potrzebujesz:||&7Ulepszone Chinskie Ostrze Tyra||&7Papier x8||&7Ksiazke Tajemnic x1||&7Magiczny Metal x1||&7Mistyczny Klejnot x128" to close run [execute player command "cralahlol"]
Jest to plagiat skryptu Itachiego (starego dropu, którego już nie można pobrać). Świadczą o tym nazwy zmiennych. Tak wgl. drop z takimi samymi funkcjami, oprócz topki napisałem w 259 linijkach, jest tam YAML, czyli konfiguracja dropu bez wglądu w kod.
command /bloki:
trigger:
open chest with 1 row named "&aMagiczne Bloki" to player
wait 2 ticks
format slot 0 of player with 1 of sponge named "&aSTONIARKA" to be unstealable
format slot 1 of player with 1 of 24 named "&e&lSandFarmer" to be unstealable
format slot 2 of player with 1 of 120 named "&9&lBoyFarmer" to be unstealable
taka rada chłopaki, przy komendzie używamy "trigger":
command /bloki:
trigger:
open chest with 1 row named "&aMagiczne Bloki" to player
wait 2 ticks
format slot 0 with 1 sponge named "&aSTONIARKA" to be unstealable
format slot 1 with 1 24 named "&e&lSandFarmer" to be unstealable
format slot 2 with 1 120 named "&9&lBoyFarmer" to be unstealable
a spróbuj z:
set {_y} to {_targsloty::%player%}-1
set slot {_y} of player's current inventory to {item%{_targsloty::%player%}%::targ::%player%} named "%{nazwa%{_targsloty::%player%}%::targ::%player%}%" with lore "%{opis%{_targsloty::%player%}%::targ::%player%}%||&cCena: %{cena%{_targsloty::%player%}%::targ::%player%}%"
format slot {_targsloty::%player%}-1 of player with {item%{_targsloty::%player%}%::targ::%player%} named "%{nazwa%{_targsloty::%player%}%::targ::%player%}%" with lore "%{opis%{_targsloty::%player%}%::targ::%player%}%||&cCena: %{cena%{_targsloty::%player%}%::targ::%player%}%" to close
ew: jak masz format slot to daj
set {_x} to {_targsloty::%player%}-1
i format slot {_x} [...]
Po 1 nie ten dział, po 2 masz skrypty, które psują rozgrywkę. Po 3 owszem to byłem ja.
A własnie weź tych swoich "Pomocników" bo 1 [Ciach ~Myszak] typkowi kasę i nie chciał oddać.