Tak:
on damage:
attacker is player
if attacker has permission "poziom1":
set damage to damage * 5.0
else:
if attacker has permission "poziom2":
set damage to damage * 10.0
# Itp...
Chyba ogarniesz. Tak?
On Portal Enter
- Called when a player enters a nether portal and the swirly animation starts to play.
[on] portal enter
[on] entering [a] portal
Radzę tobie chociaż zerknąć na dokumentacje skript
Użyj tego
on rightclick on entity:
entity's display name is "SKLEP": # NPC MUSI POSIADAĆ NAZWĘ "SKLEP"
run player command "cc open sklep" as op # JEŻELI CHCIAŁBYŚ ZROBIĆ SKLEP Z KUPOWANIEM POLECAM PLUGIN CHESTCOMMANDS.