Command System
Hytale has a comprehensive command system with argument parsing, permissions, and suggestions.
Package: com.hypixel.hytale.server.core.command.system
com.hypixel.hytale.server.core.command.systemBase Classes
CommandBase
Base class for custom commands - extend this
AbstractCommand
Abstract command implementation
AbstractPlayerCommand
Command requiring player sender
AbstractWorldCommand
Command requiring world context
AbstractTargetEntityCommand
Command targeting entities
AbstractAsyncCommand
Async command execution
AbstractCommandCollection
Group related commands
Command System
CommandManager
Manages command registration
CommandRegistry
Registry of commands
CommandContext
Execution context
CommandSender
Who sent the command
CommandUtil
Command utilities
CommandOwner
Command ownership
Argument System
Argument
Base argument class
RequiredArg
Required argument
OptionalArg
Optional argument
FlagArg
Flag argument
DefaultArg
Default value argument
Argument Types
ArgumentType
Argument type interface
SingleArgumentType
Single value
ListArgumentType
List of values
EnumArgumentType
Enum values
AssetArgumentType
Asset references
GameModeArgumentType
Game modes
RelativeIntPosition
Relative coordinates
Exceptions
CommandException
Base command exception
NoPermissionException
Permission denied
SenderTypeException
Wrong sender type
Built-in Commands
See Built-in Commands for the full list.
Usage Example
Last updated
Was this helpful?