Mob Kill 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.
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.
id: mythic_death_feedback
type: mythicmobs_kill_player_event
triggers:
- play_failure_sound