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.