# Triggers

### What is this?

Triggers are what will be executed upon any actions specified in the boss configuration

**table of actions that can be used in specific triggers**

<table><thead><tr><th width="224.5">Trigger type</th><th>Action list</th></tr></thead><tbody><tr><td>BOSS_SPAWN</td><td>[message], [broadcast], [summon], [console], [broadcast_title], [broadcast_sound], [drop_item], [particle]</td></tr><tr><td>BOSS_DEATH</td><td>ALL</td></tr><tr><td>TIMER</td><td>[message], [broadcast], [summon], [console], [broadcast_title], [broadcast_sound], [drop_item], [particle]</td></tr><tr><td>NEARBY_PLAYERS</td><td>ALL</td></tr><tr><td>DAMAGE_BY_PLAYER</td><td>ALL</td></tr><tr><td>DAMAGE_BY_BOSS</td><td>ALL</td></tr><tr><td>PLAYER_INTERACT_BOSS</td><td>ALL</td></tr></tbody></table>

### Trigger structure

```yaml
trigger-name: # there can be absolutely any name
  type: TIMER
  requirements:
  - '[condition] %beacmcboss_example:time-to-start% == 30'
  actions:
  - '[broadcast] 30 seconds left before the boss starts'
```
