# Events

The Hologram and Scoreboard modules have an option to use an event for updating a line. This allows you to update your holograms or scoreboard without having to use a task. Your event must include a player, except for the following events:

To use an event you must also specify the event package and not just its name. For example, the event[`BlockBreakEvent`](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/block/BlockBreakEvent.html) will be`org.bukkit.event.block.BlockBreakEvent`

To find the list of events please visit the spigot javadocs: <https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/package-summary.html>

## Discord

<table data-full-width="true"><thead><tr><th>Event</th><th>Description</th></tr></thead><tbody><tr><td><code>fr.maxlego08.essentials.api.event.events.economy.DiscordLinkEvent</code></td><td>This event is triggered when a user's discord account is linked.</td></tr><tr><td><code>fr.maxlego08.essentials.api.event.events.economy.DiscordUnLinkEvent</code></td><td>This event is triggered when a user's discord account is unlinked.</td></tr></tbody></table>

## Economy

<table data-full-width="true"><thead><tr><th>Event</th><th>Description</th></tr></thead><tbody><tr><td><code>fr.maxlego08.essentials.api.event.events.economy.EconomyBaltopUpdateEvent</code></td><td>This event is triggered when the economy's baltop is updated.</td></tr></tbody></table>

## Step

<table data-full-width="true"><thead><tr><th>Event</th><th>Description</th></tr></thead><tbody><tr><td><code>fr.maxlego08.essentials.api.event.events.step.StepCreateEvent</code></td><td>This event is triggered when a new step is created for a user.</td></tr><tr><td><code>fr.maxlego08.essentials.api.event.events.step.StepFinishEvent</code></td><td>This event is triggered when a step is finished by a user.</td></tr></tbody></table>

## User

<table data-full-width="true"><thead><tr><th>Event</th><th>Description</th></tr></thead><tbody><tr><td><code>fr.maxlego08.essentials.api.event.events.user.UserEconomyPostUpdateEvent</code></td><td>This event is triggered when a user's economy is updated.</td></tr><tr><td><code>fr.maxlego08.essentials.api.event.events.user.UserEconomyUpdateEvent</code></td><td>This event is triggered when a user's economy is updated.</td></tr><tr><td><code>fr.maxlego08.essentials.api.event.events.user.UserFirstJoinEvent</code></td><td>This event is triggered when a user first joins the server.</td></tr><tr><td><code>fr.maxlego08.essentials.api.event.events.user.UserJoinEvent</code></td><td>This event is triggered when a user joins the server.</td></tr><tr><td><code>fr.maxlego08.essentials.api.event.events.user.UserQuitEvent</code></td><td>This event is triggered when a user quits the server.</td></tr><tr><td><code>fr.maxlego08.essentials.api.event.events.user.UserVoteEvent</code></td><td>This event is triggered when a user votes on a website.</td></tr></tbody></table>

## Vote

<table data-full-width="true"><thead><tr><th>Event</th><th>Description</th></tr></thead><tbody><tr><td><code>fr.maxlego08.essentials.api.event.events.vote.VotePartyEvent</code></td><td>This event is triggered when a vote party is updating</td></tr><tr><td><code>fr.maxlego08.essentials.api.event.events.vote.VotePartyStartEvent</code></td><td>This event is triggered when a vote party is starting</td></tr></tbody></table>


---

# 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://zessentials.groupez.dev/developpers/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.
