> For the complete documentation index, see [llms.txt](https://zessentials.groupez.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zessentials.groupez.dev/developpers/events.md).

# 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>
