hytale-inventory

Automate Hytale inventory management using Inventory, ItemStack, and PageManager APIs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hytale plugin developers face repetitive, error-prone inventory handling, item creation, and UI navigation. This Skill provides a structured guide for programmatic inventory management using the Inventory, ItemStack, ItemContainer, and PageManager APIs to streamline plugin development.

Core Features & Use Cases

  • Access and modify a Player's Inventory through the Inventory object, including storage, hotbar, armor, backpack, and utility containers.
  • Create ItemStack objects with quantity, optional metadata (BsonDocument), and optional durability, and place them in any container.
  • Open and switch UI pages via PageManager and Page, enabling in-game flows like Inventory, Bench, Map, and ToolsSettings.

Quick Start

Open a player's inventory and add an ItemStack to storage.

Frequently Asked Questions about hytale-inventory

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

FAQPage Schema
How do I manage Hytale inventory containers in plugin development?

Hytale inventory management is handled through the Inventory API, providing programmatic access to modify player storage, hotbar, armor, backpack, and utility containers. Developers can automate repetitive container manipulation tasks across various plugin scenarios.

How do I create an ItemStack with custom metadata and durability in Hytale?

To create an ItemStack for Hytale, define the item quantity, attach optional metadata using a BsonDocument, and set optional durability values. The generated ItemStack can then be programmatically placed into any accessible inventory container.

What is the best way to open and switch UI pages in a Hytale plugin?

The best way to switch UI pages in Hytale is using the PageManager and Page APIs to open and navigate in-game flows. This enables seamless transitions between interfaces like Inventory, Bench, Map, and ToolsSettings pages.

Do I need a specific file format to define Hytale plugin inventory configurations?

Yes, you must define a YAML frontmatter configuration containing at least a name and a description to properly register and utilize the inventory, item stack, and page management APIs within your Hytale plugin.

Why does my Hytale ItemContainer modification not save item metadata correctly?

ItemContainer modifications require proper ItemStack construction, meaning optional metadata must be passed as a valid BsonDocument during item creation. Ensuring the correct data structure is applied prevents inventory handling errors during storage manipulation.