# Events

The API offers multiple events.

<table><thead><tr><th width="304.45458984375">Event name</th><th width="363.6969807942708">Description</th><th>Version</th></tr></thead><tbody><tr><td><a href="https://odailyquests.ordwen-dev.com/javadoc/com/ordwen/odailyquests/api/events/QuestCompletedEvent.html">QuestCompletedEvent</a></td><td>Called when a quest is completed.</td><td>2.1.0</td></tr><tr><td><a href="https://odailyquests.ordwen-dev.com/javadoc/com/ordwen/odailyquests/api/events/AllQuestsCompletedEvent.html">AllQuestsCompletedEvent</a></td><td>Called when a player completes all his quests.</td><td>2.1.0</td></tr><tr><td><a href="https://odailyquests.ordwen-dev.com/javadoc/com/ordwen/odailyquests/api/events/AllCategoryQuestsCompletedEvent.html">AllCategoryQuestsCompletedEvent</a></td><td>Called when a player completed all his quests from a category.</td><td>2.1.0</td></tr><tr><td><a href="https://odailyquests.ordwen-dev.com/javadoc/com/ordwen/odailyquests/api/events/QuestProgressEvent.html">QuestProgressEvent</a></td><td>Called when a quest is about to progress.</td><td>2.2.4</td></tr><tr><td><a href="https://odailyquests.ordwen-dev.com/javadoc/com/ordwen/odailyquests/api/events/TotalRewardReachedEvent.html">TotalRewardReachedEvent</a></td><td>Called when a player reaches a global milestone (X total quests completed).</td><td>3.0.0</td></tr><tr><td><a href="https://odailyquests.ordwen-dev.com/javadoc/com/ordwen/odailyquests/api/events/CategoryTotalRewardReachedEvent.html">CategoryTotalRewardReachedEvent</a></td><td>Called when a player reaches a milestone in a specific category (e.g., 5 quests completed in that category).</td><td>3.0.0</td></tr><tr><td><a href="https://odailyquests.ordwen-dev.com/javadoc/com/ordwen/odailyquests/api/events/ODQReloadEvent.html">ODQReloadEvent</a></td><td>Called during the plugin reload process to indicate the current reload phase (files, configs, database, content, players, etc.).</td><td>3.0.2</td></tr></tbody></table>

All these events are cancellable (except the ODQReloadEvent) and have multiple methods to get objects involved. Please refer to the Javadoc.

If you need more events, feel free to make a suggestion on the Discord server!


---

# 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://ordwenplugins.gitbook.io/odailyquests/api/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.
