# Setting: `server_lifecycle_hooks_enabled`

- **Constant:** `ConfigInterface::SERVER_LIFECYCLE_HOOKS_ENABLED`
- **Category:** `servers`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|max:255`
- **Placeholder / default hint:** `false`

## Description

Show the Lifecycle Hooks page in server navigation and allow configuration. Uses the same schedule permissions as tasks (schedule.read / schedule.update). When disabled, the menu entry is hidden, hooks do not run on power actions or server crashes, and API changes are rejected. Independent of schedules: you can enable hooks without enabling cron schedules.

## Allowed options

- `true`
- `false`

## Change via CLI

```bash
featherpanel saas getsetting server_lifecycle_hooks_enabled
featherpanel saas setsetting server_lifecycle_hooks_enabled "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "server_lifecycle_hooks_enabled": "<value>" }
```
