hytale-commands

Document Hytale command types, arguments, validators, and permissions for plugin registration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Commands in Hytale plugins can be verbose and error-prone; this Skill provides a structured blueprint for implementing and registering command types, arguments, validators, and permissions.

Core Features & Use Cases

  • Define command types (AbstractAsyncCommand, AbstractPlayerCommand, AbstractTargetPlayerCommand, AbstractTargetEntityCommand, AbstractCommandCollection) and a clear registration flow.
  • Configure argument handling with required, optional, default, and flag args using ArgTypes, plus support for validators and custom validators.
  • Manage permissions with per-command or per-subcommand rules, including public subcommands and mixed permission models.
  • Create variants and aliases, and organize commands with subcommand collections and nested structures.
  • Register commands via CommandRegistry in plugin setup to enable in-game usage.

Quick Start

Create a new command by extending a base command class, implement the execute logic, and register it with the command registry in your plugin setup.

Frequently Asked Questions about hytale-commands

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

FAQPage Schema
How do I structure and register Hytale plugin commands?

To structure and register Hytale plugin commands, extend base command classes like AbstractAsyncCommand or AbstractPlayerCommand, implement the execution logic, and register them via the CommandRegistry during your plugin setup.

What are the base command classes available for Hytale plugins?

The base command classes for Hytale plugins include AbstractAsyncCommand, AbstractPlayerCommand, AbstractTargetPlayerCommand, AbstractTargetEntityCommand, and AbstractCommandCollection for organizing nested subcommand structures.

How do I handle command arguments and validators in Hytale?

Handle Hytale command arguments by configuring required, optional, default, and flag args using the ArgTypes system, and enforce input integrity by applying built-in validators or creating custom validators.

Can I set different permissions for individual subcommands in a Hytale plugin?

Yes, you can manage permissions with per-command or per-subcommand rules in Hytale plugins, allowing for public subcommands and mixed permission models across different command contexts.

Does this approach support command variants and aliases in Hytale?

Yes, this command structuring approach supports creating command variants and aliases, and allows you to organize complex commands using subcommand collections and nested structures.

Why use a structured blueprint for Hytale command implementation?

A structured blueprint for Hytale command implementation prevents verbose and error-prone code by providing clear patterns for command types, argument handling, validators, permissions, and the registration flow.