# Events

All events published by the Quests plugin through `SparkEventBus`.

| Event                           | Properties                                                             | Description                       |
| ------------------------------- | ---------------------------------------------------------------------- | --------------------------------- |
| `QuestAcceptedEvent`            | `Quest`, `Actor`                                                       | A quest was accepted              |
| `QuestAbandonedEvent`           | `Quest`, `Actor`                                                       | A quest was abandoned             |
| `QuestCompletedEvent`           | `Quest`, `Actor`                                                       | All objectives completed          |
| `QuestObjectiveProgressedEvent` | `Quest`, `ObjectiveIndex`, `CurrentProgress`, `RequiredCount`, `Actor` | Progress on an objective changed  |
| `QuestTrackedEvent`             | `QuestId`, `Actor`                                                     | Quest set as tracked in UI        |
| `QuestUntrackedEvent`           | `QuestId`, `Actor`                                                     | Quest untracked in UI             |
| `QuestRewardSelectedEvent`      | `Quest`, `RewardIndex`, `Actor`                                        | A selectable reward was chosen    |
| `QuestRewardDeselectedEvent`    | `Quest`, `RewardIndex`, `Actor`                                        | A selectable reward was unchosen  |
| `QuestRewardsGrantedEvent`      | `Quest`, `Actor`                                                       | Quest rewards delivered to player |
| `QuestTurnedInEvent`            | `Quest`, `Actor`                                                       | Quest turned in successfully      |
| `QuestTurnInFailedEvent`        | `Quest`, `Actor`, `Reason`                                             | Quest turn-in failed              |

See [Event System](/documentation/developer-guide/core-systems/event-system.md) for full details on subscribing, publishing, and handling events.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sparkframework.dev/documentation/developer-guide/plugins/quests/events.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
