hytale-player-death-event

Detect player death events in Hytale plugins using DeathSystems.OnDeathSystem.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/Reign-software/hyforged --skill hytale-player-death-event-reign-software
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hytale-player-death-event
Source: https://github.com/Reign-software/hyforged/tree/main/.github/skills/hytale-player-death-event
Command: npx skills add https://github.com/Reign-software/hyforged --skill hytale-player-death-event-reign-software

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Documents how to detect and react to player death events in Hytale plugins using DeathSystems.OnDeathSystem. Provides guidance on responding to death, reading death cause and damage, broadcasting death messages, and implementing respawn logic.

Core Features & Use Cases

  • Detect player death using DeathSystems.OnDeathSystem and DeathComponent.
  • Access death damage info and broadcast messages.
  • Integrate with proper respawn or kill-feed logic.

Quick Start

Implement a DeathSystem by extending DeathSystems.OnDeathSystem, register it in your plugin, and handle onComponentAdded to react to DeathComponent.

Frequently Asked Questions about hytale-player-death-event

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect player death in a Hytale plugin?

You detect Hytale player death by extending DeathSystems.OnDeathSystem and registering it in your plugin. This provides the DeathComponent needed to trigger death events and execute custom logic.

How does the death event system handle damage info and death messages?

The death event system reads damage info directly from the DeathComponent. You can then access this damage data to broadcast customized death messages or feed information into a kill-feed system.

Can I implement respawn logic using the Hytale death event system?

Yes, you can implement respawn logic using the Hytale death event system. By handling the onComponentAdded event for DeathComponent, your plugin can trigger custom respawn sequences when a player dies.

Do I need ECS utilities to track player death in Hytale?

Yes, you need ECS utilities along with DeathSystems and DeathComponent to track player death in Hytale. These ECS components are required for the death detection system to function within your plugin's lifecycle.

What is the best way to react to player death events in Hytale plugins?

The best way to react to player death events is extending DeathSystems.OnDeathSystem. This integrates directly with the ECS architecture, allowing you to read damage info and execute death or respawn logic efficiently.