hytale-events

Document Hytale event handling for IEvent, IAsyncEvent, and EcsEvent plugins.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive documentation and examples for handling various game events within Hytale plugins, enabling developers to create dynamic and responsive gameplay experiences.

Core Features & Use Cases

  • Event Handling: Covers global, asynchronous, and ECS-based events for a wide range of in-game occurrences.
  • Event Types: Details IEvent, IAsyncEvent, and EcsEvent with their registration patterns and use cases.
  • Use Case: A plugin developer needs to react when a player breaks a block. They can use this Skill to find the correct EcsEvent (BreakBlockEvent) and implement a system to log the event or trigger a custom effect.

Quick Start

Use the hytale-events skill to register a listener for when a player joins the game.

Frequently Asked Questions about hytale-events

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

FAQPage Schema
How do I handle player join and disconnect events in a Hytale plugin?

Register an event listener for PlayerChatEvent via the IEvent interface and registerGlobal method to intercept and process player chat messages within your Hytale server plugin.

How do I listen for block break and place events in Hytale?

Use CancellableEcsEvent to intercept and cancel block break or place actions in Hytale, allowing you to prevent unwanted block modifications by extending the EcsEvent listener pattern.

What is the difference between IEvent and IAsyncEvent in Hytale?

The difference between IEvent and IAsyncEvent in Hytale is that IEvent handles synchronous global events, while IAsyncEvent manages asynchronous events using registerAsync for non-blocking server operations.

How do I trigger custom effects when an entity dies in Hytale?

Trigger custom effects when an entity dies in Hytale by utilizing DeathSystems and implementing an OnDeathSystem event listener to capture entity death events and execute custom logic.