Hytale-documentation.github.io
Hytale Server Source Analysis
This directory contains a comprehensive technical analysis of the Hytale Server source code.
Community & Resources
Join our Discord
- Get help, share your plugins, and discuss Hytale modding
Plugin Template
- Quick-start template for creating Hytale plugins
Architecture
Boot Sequence
: Analysis of the server startup process.
Threading Model
: Overview of threads and concurrency.
Protocols & Networking
Network Protocol
: Packet structure, handshake, and key packet types.
Registry System
Registries Overview
: How the game registers content (Blocks, Items, Entities).
Using Registries
: Code examples for registering content.
Modding & Plugins
Plugin API
: How plugins are structured and accessed.
Plugin Lifecycle
: Setup, Start, and Shutdown methods.
Runtime Environment
: Classloading and security for plugins.
Game Systems
ECS Architecture
: Data-oriented Entity Component System analysis.
World Management
: Chunk loading, generation, and world hierarchy.
Content Formats
: JSON schemas for Blocks, Items, and Recipes.
Movement States
: Player movement tracking and physics on the server.
Interaction System
: Data-driven player actions and effects.
Tick System
: Core game loop driving all time-based updates.
Event System
: Handling functionality via EventBus.
Command System
: Registering and executing commands.