hytale-inventory

Manage player inventories in Hytale plugins using Inventory and ItemStack APIs.

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/xDinkyx/Hytale-Colonies-Plugin --skill hytale-inventory-xdinkyx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hytale-inventory
Source: https://github.com/xDinkyx/Hytale-Colonies-Plugin/tree/main/.github/skills/hytale-inventory
Command: npx skills add https://github.com/xDinkyx/Hytale-Colonies-Plugin --skill hytale-inventory-xdinkyx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the management of player inventories within Hytale plugins, simplifying item manipulation, container access, and UI interactions.

Core Features & Use Cases

  • Inventory Access: Retrieve and manipulate player inventories, hotbars, armor, and storage.
  • Item Management: Create, add, and remove ItemStack objects, including those with custom metadata and durability.
  • UI Control: Open and close various inventory-related pages for players.
  • Use Case: Automatically equip a player with starting gear on login by adding specific ItemStack objects to their hotbar and storage containers.

Quick Start

Use the hytale-inventory skill to give the player a stone item stack with a quantity of 64.

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 player inventories in a plugin?

You can programmatically equip a player with starting gear on login by instantiating ItemStack objects with specific quantities and inserting them directly into hotbar and storage slots using the Inventory API.

Can I attach custom metadata to items in a Hytale plugin?

ItemStack objects support attaching custom metadata and setting durability values, enabling deterministic item manipulation and distinct item behaviors within the Hytale game environment.

How do I open inventory pages for players using Hytale APIs?

Opening and closing inventory-related pages is handled by the PageManager API, which controls UI state and allows plugins to display various interactive inventory screens to players.

Does the Hytale inventory API support adding and removing items from specific slots?

The Hytale inventory API supports adding and removing ItemStack objects from specific container slots, allowing precise manipulation of player hotbars, armor, and storage contents.

What are the limitations of manipulating Hytale inventory UI state?

Inventory manipulation is bound to the PageManager API for opening and closing pages, meaning UI state changes are constrained to predefined inventory-related screens within the Hytale environment.