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

# API

Available API for developers.

The current API is very basic, and needs to be documented more. However, there are a couple of events.

**ArenaAnvilBreakEvent** Fires when an anvil is broken. Contains the arena, anvil owner, anvil block, and the player who broke it.

**ArenaAnvilPlaceEvent** Fires when an anvil is placed. Contains the arena, anvil owner and anvil block.

**ArenaEndEvent** Fires when an arena ends. Contains the arena and winner. If the winner is null, then the arena ended in a draw.

**ArenaKitGiveEvent** Fires when a kit is given to a player on arena start, or on respawn. Contains the arena, player and kit.

**ArenaStartEvent** Fires when the arena starts. Contains the arena.

**ArenaWallsFallEvent** Fires when the walls fall. Contains the arena.
