hytale-events-api

hytale-events-api is a skill for Claude Code, Codex from MnkyArts/hytale-skills. It costs 55 tokens per session (3,728 once invoked), scanned A, original, MIT.

A guide to reacting to events on a Hytale server, such as player actions, world changes, entity activity, and custom events.

In plain words
What is it for?
Use it to respond to connections, chat, interactions, block changes, damage, deaths, spawns, and other server activity.
Why use it?
It shows how to register listeners and control whether events are handled, cancelled, or processed in a particular order.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to respond to connections, chat, interactions, block changes, damage, deaths, spawns, and other server activity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mnkyarts/hytale-skills/hytale-events-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MnkyArts/hytale-skills --skill hytale-events-api
Clone the repo
git clone --depth 1 https://github.com/MnkyArts/hytale-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hytale-events-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/mnkyarts/hytale-skills/hytale-events-api/github.svg)](https://agentmods.dev/skills/mnkyarts/hytale-skills/hytale-events-api)
Your own site
<a href="https://agentmods.dev/skills/mnkyarts/hytale-skills/hytale-events-api"><img src="https://agentmods.dev/badge/skills/mnkyarts/hytale-skills/hytale-events-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hytale-events-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/mnkyarts/hytale-skills/hytale-events-api"><img src="https://agentmods.dev/badge/skills/mnkyarts/hytale-skills/hytale-events-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,728 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.03728
Opus 5.5 $0.00022 $0.01491
Sonnet 5.5 $0.00011 $0.00746
Haiku 4.5 $0.00006 $0.00373

Measured 2mo ago against content hash 406208786c33, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hytale-events-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/hytale-events-api/SKILL.md · 709 lines

How it starts

The opening of the file, as written. The whole thing — 709 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hytale Events API

Complete guide for handling server events and creating custom event systems.

When to use this skill

Use this skill when:

  • Listening for player actions (connect, chat, interact)
  • Reacting to world changes (blocks, chunks)
  • Handling entity events (damage, death, spawn)
  • Creating custom events
  • Managing event priorities and cancellation
  • Implementing async event handlers

Event System Architecture

Hytale has two event systems:

  1. General Event Bus - Server-wide events (players, worlds, assets)
  2. ECS Event System - Entity-specific events (damage, interactions)

General Event Bus

Event Registration

Register in plugin setup():

@Override
protected void setup() {
    // Global listener - receives ALL events of this type
    getEventRegistry().registerGlobal(
        PlayerConnectEvent.class, 
        this::onPlayerConnect
    );
    
    // Keyed listener - receives events with specific key
    getEventRegistry().register(
        AddPlayerToWorldEvent.class, 
        "world_name", 
        this::onPlayerAddToWorld
    );
    
    // Priority listener
    getEventRegistry().registerGlobal(
        EventPriority.FIRST, 
        SomeEvent.class, 
        this::onSomeEvent
    );
    
    // Unhandled listener - only if no keyed handler processed
    getEventRegistry().registerUnhandled(
        SomeEvent.class, 
        this::onUnhandledEvent
    );
}

Event Priorities

public enum EventPriority {
    FIRST((short)-21844),   // Runs first
    EARLY((short)-10922),
    NORMAL((short)0),       // Default
    LATE((short)10922),
    LAST((short)21844);     // Runs last
}

Handlers execute in priority order. Use custom short values for fine-grained control.

Event Cancellation

For cancellable events:

private void onPlayerInteract(PlayerInteractEvent event) {
    if (shouldBlock(event)) {
        event.setCancelled(true);
    }
}

Check cancellation:

private void onEvent(SomeEvent event) {
    if (event instanceof ICancellable cancellable && cancellable.isCancelled()) {
        return; // Already cancelled by earlier handler
    }
    // Process event
}

Read the full file on GitHub · 709 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 709 lines · 55 tokens per session scan A 406208786c33

Subscribe to this mod's changes

hytale-events-api is a skill published in the GitHub repository MnkyArts/hytale-skills (5 stars, last pushed 9mo ago), licensed MIT. It adds 55 tokens to every session and 3,728 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

hytale-events-api compared with skills from other repositories

hytale-events-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hytale-events-apiMnkyArts/hytale-skillsSkill59mo agoMITA55Claude Code, Codex
scenario-godot-multiplayerscenario-labs/skillsSkill3.2kyesterdayMITA132Claude Code
league-akari-sgp-data-sourceLeagueAkari/LeagueAkariSkill4.7k5d agoMITA50Claude Code, Codex
csharp-godotjame581/GodotPrompterSkill9295d agoMITA34Claude Code
web-servicesjame581/GodotPrompterSkill9295d agoMITA44Claude Code
gamedev-multiplayerericrisco/rsc-harnessSkill5032d agoMITA86Claude Code, Codex
cloudflare-durable-objectssecondsky/claude-skillsSkill2456d agoMITA43Claude Code