> For the complete documentation index, see [llms.txt](https://enchantedmobs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enchantedmobs.superiormc.cn/for-ultimatequest/configuration/triggers/lifecycle.md).

# Tick and Lifecycle Triggers

Each section documents the current event context. PLAYER is the player credited with quest progress; TARGET is not automatically PLAYER. Missing values remain absent. All of these triggers observe progress and do not expose mutable damage/drop results.

## Configuration example

```yaml
source:
  trigger: tick
  amount: 10
```

## `tick`

Runs every game tick for an observed online player.

| Context              | Value                                     |
| -------------------- | ----------------------------------------- |
| Event / payload      | `TriggerRuntime.PlayerTick`               |
| Availability         | Paper and Spigot                          |
| PLAYER               | Player associated with this event         |
| SOURCE               | Quest player                              |
| TARGET               | Absent                                    |
| LOCATION             | Player location                           |
| TRIGGER\_ITEM / slot | Absent                                    |
| BLOCK                | Event block or movement destination block |

This trigger runs automatically while a matching objective is active.

## `spawn`

Runs after player join data is ready, and after respawn. It is not a generic mob-spawn counter.

| Context              | Value                                     |
| -------------------- | ----------------------------------------- |
| Event / payload      | `Event`                                   |
| Availability         | Paper and Spigot                          |
| PLAYER               | Player associated with this event         |
| SOURCE               | Quest player                              |
| TARGET               | Absent                                    |
| LOCATION             | Join/respawn location                     |
| TRIGGER\_ITEM / slot | Absent                                    |
| BLOCK                | Event block or movement destination block |

## `respawn`

Runs after player respawn through the player scheduler.

| Context              | Value                                     |
| -------------------- | ----------------------------------------- |
| Event / payload      | `PlayerRespawnEvent`                      |
| Availability         | Paper and Spigot                          |
| PLAYER               | Player associated with this event         |
| SOURCE               | Quest player                              |
| TARGET               | Absent                                    |
| LOCATION             | Respawn location                          |
| TRIGGER\_ITEM / slot | Absent                                    |
| BLOCK                | Event block or movement destination block |

[Trigger overview](/for-ultimatequest/configuration/triggers.md) · [Event conditions](/for-ultimatequest/configuration/conditions.md)
