hytale-player-death-event

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

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/xDinkyx/Hytale-Colonies-Plugin --skill hytale-player-death-event-xdinkyx
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hytale-player-death-event
Source: https://github.com/xDinkyx/Hytale-Colonies-Plugin/tree/main/.github/skills/hytale-player-death-event
Command: npx skills add https://github.com/xDinkyx/Hytale-Colonies-Plugin --skill hytale-player-death-event-xdinkyx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured way to detect, process, and react to player death events within Hytale plugins, enabling custom game logic for respawning, kill feeds, and death-related effects.

Core Features & Use Cases

  • Player Death Detection: Utilizes the DeathSystems.OnDeathSystem to trigger logic when a player dies.
  • Death Information Retrieval: Accesses details about the death, including the cause and damage amount.
  • Customizable Reactions: Allows for broadcasting death messages, implementing respawn mechanics, or triggering other game events.
  • Use Case: Implement a "kill feed" system that announces player deaths in chat, or create a system that applies a debuff to a player upon respawning.

Quick Start

Create a Java class that extends DeathSystems.OnDeathSystem and register it in your plugin's start method to handle player deaths.

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 and handle player death events in a Hytale plugin?▼

To detect player death events in a Hytale plugin, extend the ECS `DeathSystems.OnDeathSystem` class and register the system within the plugin's start method to trigger custom logic upon death.

Can I retrieve the damage amount and death cause when a player dies in Hytale?▼

Yes, handling player death in Hytale allows retrieval of death information, providing direct access to the specific death cause and damage amount details for custom processing.

How do I create a custom kill feed or broadcast death messages in Hytale?▼

You can build a kill feed and broadcast death messages in Hytale by utilizing the `DeathSystems.OnDeathSystem` to detect player deaths and trigger custom chat announcement logic.

How do I implement custom respawn logic for dead players in Hytale?▼

Implement custom respawn logic in Hytale by extending `DeathSystems.OnDeathSystem` to handle player death detection and build specific respawn mechanics or apply debuffs upon respawn.

Do I need specific dependencies to use the Hytale death event system?▼

No specific dependencies are required to use the Hytale death event system; the mechanism relies solely on extending the ECS `DeathSystems.OnDeathSystem` within your plugin environment.

What is the ECS death system used for in Hytale plugin development?▼

The ECS death system in Hytale provides a structured way to process player death events, enabling custom game logic for respawning, kill feeds, and applying death-related effects.