hytale-plugin-config

Define and manage Hytale plugin configuration data with Config<T> and BuilderCodec.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the complexity of managing plugin configuration in Hytale projects by providing a clear pattern using Config<T>, BuilderCodec, and withConfig for defining, loading, and persisting settings across restarts.

Core Features & Use Cases

  • Define config classes with BuilderCodec<T> and a default constructor.
  • Register and load configuration in the plugin lifecycle using withConfig and config.save().
  • Access and mutate configuration values from various classes at runtime, with automatic persistence.

Quick Start

Define a configuration class with a BuilderCodec, register it with withConfig, and call save in setup to create and persist the config file.

Frequently Asked Questions about hytale-plugin-config

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

FAQPage Schema
How do I persist and load Hytale plugin configuration files across server restarts?

Access and mutate configuration values at runtime from various classes by utilizing the Config<T> structure, which supports automatic persistence and runtime updates when you apply changes through the established withConfig pattern.

What is the best way to define Hytale plugin settings using BuilderCodec?

The best way to define Hytale plugin settings is creating a configuration class with a BuilderCodec<T> and a default constructor, using capitalized keys to ensure proper serialization and loading via the plugin lifecycle.

Do I need a default constructor to manage Hytale plugin config data?

Yes, you need a default constructor to manage Hytale plugin config data. The configuration pattern requires a default constructor alongside capitalized keys and the withConfig field initializer to properly create and save the config file in the server mods folder.

Why does my Hytale plugin config file fail to generate in the server mods folder?

Your Hytale plugin config file fails to generate if you do not use withConfig as a field initializer. Applying withConfig correctly ensures the config file is automatically created and persisted in the server mods folder during plugin setup.

Can I access and update Hytale plugin configuration values from multiple classes at runtime?

Yes, you can access and mutate Hytale plugin configuration values from multiple classes at runtime. The Config<T> pattern supports runtime updates and automatic persistence when you call config.save() during the plugin lifecycle setup.