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

# API

DeadlyDisasters exposes a Java API for starting disasters, listening for disaster lifecycle events, and registering your own disaster classes.

This section documents the current API structure used by the plugin. The guide is split into focused pages so you can jump directly to the part you need.

## Pages

* [Setup](/deadlydisasters/developers/api/setup.md)
* [Core Classes](/deadlydisasters/developers/api/core-classes.md)
* [Listening For Disasters](/deadlydisasters/developers/api/listening-for-disasters.md)
* [Starting And Stopping Disasters](/deadlydisasters/developers/api/starting-and-stopping.md)
* [Creating Disasters](/deadlydisasters/developers/api/creating-disasters.md)
* [Behavior Overrides](/deadlydisasters/developers/api/behavior-overrides.md)
* [Protection And Helper APIs](/deadlydisasters/developers/api/protection-and-helpers.md)
* [Weather Disasters](/deadlydisasters/developers/api/weather-disasters.md)
* [Best Practices](/deadlydisasters/developers/api/best-practices.md)

## Scope

DeadlyDisasters focuses on disaster lifecycle, selection, protection checks, events, and disaster utility methods.

Custom items, enchantments, ability items, and custom mobs are handled by UIFramework and UltimateContent. DeadlyDisasters may hook into those plugins when they are installed, but new item or mob development should use those projects instead.
