on damage:
victim is a player
attacker is a player
time played of victim <= 30 minutes:
cancel event
stop
time played of attacker <= 30 minutes:
cancel event
command /odlicz [<text>]:
trigger:
set {_} to 5
loop 5 times:
send player title "&2Prosze czekać: &7%{_}%&k## &7sekund" with subtitle ""
remove 1 from {_}
wait 1 second
command /test:
trigger:
set {_book} to a new book
set {_component} to a new text component with "Test"
add text component {_component} to book {_book}
open book {_book} to player
takie coś czy co?
on load:
set {drops::*} to iron ingot, diamond, dirt
function losowy(p:player):
drop (random element out of {drops::*}) 2 meters above and 2 meters horizontally in front of {_p}
every 4 minutes:
amount of all players >= 1
losowy(random element out of all online players)