> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Mob Kill Player

> Triggers when a MythicMob kills a player.

The **Mob Kill Player** event fires when a MythicMob is the cause of a player's death. This can be used to trigger special failure sequences or story beats.

## Configuration

| Key             | Type    | Description                                                                                              |
| :-------------- | :------ | :------------------------------------------------------------------------------------------------------- |
| `mythicMobType` | `Regex` | (Optional) A regular expression to match the killing mob's name. If omitted, triggers for any MythicMob. |

## Usage Examples

### Specific Death Sequence

If "TheVoidReaper" kills the player, send them to a specific jail dimension.

```yaml theme={null}
id: killed_by_reaper
type: mythicmobs_kill_player_event
mythicMobType: TheVoidReaper
triggers:
  - send_to_void_jail
```

### Any Mythic Death

Trigger a generic message when any MythicMob kills the player.

```yaml theme={null}
id: mythic_death_feedback
type: mythicmobs_kill_player_event
triggers:
  - play_failure_sound
```
