Event powers
Six power types that run actions when something happens to the holder. They run on the server.
| Id | Runs when | Holder |
|---|---|---|
action_on_death | the holder dies | any living entity |
action_on_join | the holder joins the server | a player |
action_on_disconnect | the holder leaves the server | a player |
action_on_start_tracking | the server starts sending an entity to the holder | a player |
action_on_mob_conversion | the holder turns into another mob | a mob |
action_on_sleep_start | the holder falls asleep | a player or villager |
All six accept Origins' usual condition field. In bi-entity actions and conditions, the actor is always the holder.