MegaStacks is a Hytale server mod that increases the maximum stack size of items in player inventories and containers — making resource management smoother and less tedious.
⭐ Features
- Increases stack size for all items up to a configurable limit (default: 200)
- Per-category control — lock weapons, armor, tools, and benches to stack size 1
- Per-item overrides — set any item to any stack size with full priority
- Smart exceptions — consumables like arrows, bombs, repair kits, and potions are handled correctly out of the box
- Safe guard — values of 0 or below are automatically set to 1, preventing engine issues
- Zero performance impact — runs once at server startup, no ticking
⬇️ Installation
- Download the latest MegaStacks.jar
- Place it in your server's UserData/Mods/ folder
- Start the server — MegaStacks.json will be generated automatically
⚙️ Configuration
The file MegaStacks.json is generated automatically on first startup:
{
"DefaultMaxStack": 200,
"CategoryValues": {
"Weapon_": 1,
"Armor_": 1,
"Tool_": 1,
"Bench_": 1
},
"ItemOverrides": {}
}
DefaultMaxStack — stack limit applied to all items not covered by a category or override.
CategoryValues — stack limit per item category prefix. Set to 1 to prevent stacking, or any higher value to allow it.
ItemOverrides — stack limit per exact item ID. Takes priority over everything else.
{
"DefaultMaxStack": 200,
"CategoryValues": {
"Weapon_": 1,
"Armor_": 1,
"Tool_": 1,
"Bench_": 1
},
"ItemOverrides": {
"Soil_Grass": 300,
"Rock_Stone": 500
}
}
> Changes take effect after a server restart.
🔍 Built-in Exceptions
Some items use category prefixes that don't match their actual behavior. MegaStacks handles these automatically:
| Item | Default Stack |
|------------------------------------------------------|-----------------|
| Arrows (Weapon_Arrow*) | DefaultMaxStack |
| Bombs (Weapon_Bomb*) | 100 |
| Darts (Weapon_Dart*) | DefaultMaxStack |
| Rekindle Embers (Weapon_Spellbook_Rekindle_Embers) | 100 |
| Repair Kits (Tool_Repair_Kit*) | 100 |
| Growth Potions (Tool_Growth_Potion*) | DefaultMaxStack |
| Trap Bait (Tool_Trap_Bait*) | DefaultMaxStack |
| Fishing Traps (Tool_Fishing_Trap*) | DefaultMaxStack |
| Feedbag (Tool_Feedbag*) | DefaultMaxStack |
| Fertilizer Crystal (Tool_Fertilizer_Crystal*) | DefaultMaxStack |
These can always be overridden via ItemOverrides.
✔️ Compatibility
- No dependencies
- Compatible with other mods

