> For the complete documentation index, see [llms.txt](https://nightlabmc.gitbook.io/infinitedungeons/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nightlabmc.gitbook.io/infinitedungeons/dungeon-modules/trigger.md).

# Trigger

The triggers are the elements that will enable the functions to be activated. When the events and conditions match they activate the function.

### Trigger list

<table><thead><tr><th width="76">Icon</th><th width="105">Category</th><th width="162">Name</th><th>Description</th></tr></thead><tbody><tr><td></td><td>Dungeon</td><td>Generation</td><td>Activates when the dungeon finish the generation.</td></tr><tr><td></td><td>Dungeon</td><td>Start</td><td>Activates when the dungeon start.</td></tr><tr><td></td><td>Dungeon</td><td>End</td><td>Activates when the dungeon end.</td></tr><tr><td></td><td>Dungeon</td><td>Time</td><td>Activates when a specific time reached.</td></tr><tr><td></td><td>Dungeon</td><td>Score</td><td>Activates when a specific score is reached.</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td>Player</td><td>Enter</td><td>Activates when player enter in room/door.</td></tr><tr><td></td><td>Player</td><td>Leave</td><td>Activates when player leave in room/door.</td></tr><tr><td></td><td>Player</td><td>Click</td><td>Activates when player click at location.</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td>Location</td><td>Block</td><td>Activates when the correct block is placed/break in the location.</td></tr><tr><td></td><td>Location</td><td>Redstone</td><td>Activates when receiving a redstone signal at the location.</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td>Tool</td><td>Message</td><td>Activates when player send specific message.</td></tr><tr><td></td><td>Tool</td><td>Repeater</td><td>Activates at interval.</td></tr><tr><td></td><td>Tool</td><td>Signal</td><td>Activates when receiving a signal.</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td>Logic</td><td>And</td><td>Activates when all of several other configured triggers are activated.</td></tr><tr><td></td><td>Logic</td><td>Or</td><td>Activates when one of several other configured triggers is activated.</td></tr></tbody></table>
