HytaleKit
Simple Stack Size Manager

Simple Stack Size Manager

by Pandrux

gameplayutility

Customize stack sizes for all items. Default sets everything to 999999 stacks. Configure individual item overrides in the config file to set specific items to lower stack sizes.

Simple Stack Size Manager A lightweight plugin to customize stack sizes for all items with configurable overrides.

Features include

Sets default stack size for all items (default: 999999) Configure individual item overrides Applies changes when items are loaded Simple JSON configuration No commands or permissions required

How It Works

The plugin listens for the item loading event and modifies the maximum stack size for each item using reflection. All items receive the default stack size unless specifically overridden in the configuration.

Configuration

All settings are stored in SimpleStackSizeManager_config/config.json

DefaultStackSize The default stack size applied to all items. Default: 999999

ItemOverrides A map of item IDs to their specific stack sizes. Items listed here will use the specified stack size instead of the default.

Example Configuration

{   “DefaultStackSize”: 999999,   “ItemOverrides”: {     “hytale:ender_pearl”: 16,     “hytale:potion”: 1,     “hytale:diamond_sword”: 1,     “hytale:bucket”: 16   } }