"commands are of wrong type", pierwsze co mi przychodzi do myśli, że coś z plikem, ponieważ poniżej jest nazwana klasa "PluginDescriptionFile".
commands:
me
do
->
commands:
me:
do:
brakuje ':' po nazwach komend
@edit
nazwa pliku jest nieistotna
Cze
command /pvp [<text>]:
trigger:
if {pvp} is not set:
if player has permission "pvp":
if difference between {cooldown} and now is smaller than 10 minute:
send "Możesz tego użyć co 10 minut" to player
else:
broadcast "&aPVP zostało włączone"
set {pvp} to 180
set {cooldown} to now
else:
send "PVP On jeszcze przez: &c%{pvp}% &7sekund" to player
every 1 seconds:
if {pvp} > 0:
remove 1 from {pvp}
if {pvp} = 0:
clear {pvp}
broadcast "&cPVP zostało wyłączone"
on damage:
if {pvp} is set:
if victim is player:
cancel event
send "&cPVP jest wyłączone" to attacker