# Lifecycle Hooks

> Configure pre-start, post-start, pre-stop, post-stop, and server-crash pipelines.

## Identity

| Field | Value |
| --- | --- |
| Route | `/server/[uuidShort]/lifecycle-hooks` |
| Area | server |
| Audience | Server owners / subusers with the relevant server permission |
| Component | `ServerLifecycleHooksPage` |
| Source | `src/app/(app)/server/[uuidShort]/lifecycle-hooks/page.tsx` |
| Dynamic | yes |
| Params | `uuidShort` |
| Title i18n key | `lifecycleHooks.title` |
| Description i18n key | `lifecycleHooks.description` |




## Summary (for AI)

**Lifecycle Hooks** Configure pre-start, post-start, pre-stop, post-stop, and server-crash pipelines. Key UI: Payload unavailable; No plain message content; Databases; All databases; Specific databases; Lifecycle hooks are disabled.

## How to guide users

1. Open Server sidebar (open a server first).
2. Go to **Lifecycle Hooks**.
3. Direct URL: `/server/[uuidShort]/lifecycle-hooks`.
4. Replace path params `uuidShort` with the real resource id(s).

## Sections on this page

_None extracted._

## Notable UI actions / labels

- Payload unavailable
- No plain message content
- Databases
- All databases
- Specific databases
- Lifecycle hooks are disabled
- Active pipeline
- Add your first step to this hook pipeline.
- Edit
- Delete
- Delete lifecycle step
- This action cannot be undone.

## Widget slugs

- [`server-lifecycle-hooks`](../widgets/server-lifecycle-hooks.md)

## Related APIs / hooks

_None detected in page source._

Hooks: `usePluginWidgets`, `useServerPermissions`
