hytale-events

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

13|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/JBurlison/Hytale-Mod-Agent --skill hytale-events
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hytale-events
Source: https://github.com/JBurlison/Hytale-Mod-Agent/tree/main/.github/skills/hytale-events
Command: npx skills add https://github.com/JBurlison/Hytale-Mod-Agent --skill hytale-events

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

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

Core Features & Use Cases

  • Event Handling: Learn to register and manage global, asynchronous, and ECS-based events.
  • Event Categories: Understand IEvent, IAsyncEvent, and EcsEvent for different game occurrences.
  • Use Case: Implement a plugin that triggers a special effect when a player joins the game, cancels a crafting recipe if specific ingredients are used, or logs detailed information when an entity takes damage.

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 register a listener for player join events in a Hytale plugin?

Hytale's event system uses IEvent for standard synchronous game events like player joins and chat. You register global listeners to monitor these occurrences and execute plugin logic whenever they happen during gameplay.

What is the difference between IEvent, IAsyncEvent, and EcsEvent in Hytale?

IEvent handles standard synchronous game events, IAsyncEvent manages asynchronous operations, and EcsEvent processes ECS entity and block interactions. Each category targets specific game occurrence types for plugin development.

How do I handle block interactions and entity death in a Hytale plugin?

You handle block interactions and entity death by registering EcsEvent listeners. This ECS-based event system enables your plugin to detect and respond to specific entity damage or block manipulation occurrences in the game.

Can I cancel a crafting recipe in Hytale based on specific ingredients used?

Yes, you can cancel crafting recipes by listening to game events. The event system allows your plugin to inspect crafting occurrences and cancel the recipe if specific ingredients are used during the process.

When should I use asynchronous events instead of standard events for plugin development?

Use IAsyncEvent for asynchronous events when your plugin requires non-blocking operations. Standard IEvent handles synchronous tasks, while asynchronous events prevent performance hits during complex plugin logic processing.