on armor change:
if player's helmet is gold helmet
set the maximum health of the player to 100 #dowolna liczba
on armor change:
if player's helmet is not gold helmet
set the maximum health of the player to 20
on armor change:
if player's helmet is gold helmet
set the maximum health of the player to 100 #dowolna liczba
on armor change:
if player's helmet is not gold helmet
set the maximum health of the player to 20
on portal:
if (now formatted as "HH" parsed as integer) is not between 9 and 19:
cancel event
#kod co jeśli wchodzi o 9-19
else:
#kod co jeśli wejdzie poza 9-19
A ten kod?
on mine of any ore:
send "&e%player% wykopal %event-block% &7(%location of event-block%)" to all players where [player input has permission "ore.notify"]
nie zapomnij dodać sobie permisję ore.notify