Valheim ItemInfiniteStack
Eliminates item stack limits while strictly preserving 1-item-per-slot for equipment, durability items, and quality gear. Includes clean UI numbers, split wheel controls, and stack consolidation.
About this mod Author’s original text
Valheim.ItemInfiniteStack
A modern, high-performance, and intelligent Valheim mod that eliminates stack size limitations for resources, materials, consumables, and ammo — while strictly preserving 1 item per slot for weapons, armor, tools, and items with durability or upgrade tiers.
🌟 Key Features
- ♾️ Safe Infinite / Unlimited Stacking
- Stack Wood, Stone, Metals, Ores, Food, Potions, Arrows, and Trophies up to 999,999,999 in a single slot.
- Fully protected against 32-bit arithmetic overflow — safe pickup and crafting even when moving millions of items.
- Works across player inventories, storage chests, personal chests, carts, ships, and obliterator containers.
- 🛡️ Intelligent "1-Per-Slot" Protection (ยกเว้นไอเทมที่ต้องเก็บ 1 ชิ้น)
Items that possess unique properties or states never stack, preventing data loss:
- Durability Preservation: Any item with durability (swords, maces, bows, pickaxes, axes, torches) is strictly protected at 1 item per slot.
- Quality Tier Preservation: Weapons, armor, and tools with upgrade levels (Tier 1–4) remain strictly 1 per slot to prevent upgrade level collisions.
- Equipment Safety: Helmets, Chest armor, Leg armor, Capes/Shoulders, Shields, and Utility belts (Megingjord, Wishbone) are strictly exempt.
- Custom Blacklist & Whitelist: Effortlessly add custom modded items to either list through simple comma-separated config entries.
- 🎨 Clean, Clutter-Free UI
- Eliminates the ugly vanilla 15/999999999 text format!
- AmountOnly Mode (Default): Shows clean RPG-style numbers (e.g. 150, 2,500).
- Compact Mode: Automatically formats large numbers cleanly (e.g. 1.5k, 25M).
- Slots with a single item (stack == 1) keep the number hidden, preserving pristine vanilla aesthetics.
- 🎚️ Split Dialog Usability Overhaul
- Mouse Scroll Wheel Support: Scroll on the split dialog slider to adjust counts with ease.
- Precision Modifiers: Hold Shift for $10\times$ speed, Ctrl for $100\times$ speed, or both for $1,000\times$ speed.
- Quick Jump Keys: Press Home for 1 item, End for Max stack, and H or Space for Half stack ($50\%$).
- Formats slider numbers cleanly to eliminate UI text clipping.
- 📦 Stack Consolidation (One-Key Merge)
- Consolidates fragmented duplicate stacks of the same item into single slots with a single keypress (Default: Delete key).
- Optional EnableAutoConsolidateOnOpen automatically combines duplicate slots whenever you open a chest or inventory.
- ⚖️ Optional Stack Weight Scaling
- Stacking 10,000 stones without weight adjustments would immediately encumber the player ($20,000\text{ kg}$).
- Configurable StackableWeightMultiplier: reduce weight by $50\%$ (0.5), $90\%$ (0.1), or make materials completely weightless (0.0).
- Equipment and combat gear retain their standard weight, keeping combat balance intact.
📥 Installation
Via Mod Manager (r2modman)
- Search for Valheim.ItemInfiniteStack in your mod manager.
- Click Download with Dependencies.
- Launch the game through the manager!
Manual Installation
- Install BepInExPack Valheim.
- Download Valheim.ItemInfiniteStack.dll.
- Place Valheim.ItemInfiniteStack.dll into your /BepInEx/plugins/ directory.
- Start the game. The config file will be created in /BepInEx/config/ckforgame.ItemInfiniteStack.cfg.
⚙️ Configuration Overview
Config file: BepInEx/config/ckforgame.ItemInfiniteStack.cfg
[1 - General]
Master switch to enable or disable the mod.
Enabled = true
Verbose debug logging.
LoggingEnabled = false
[2 - Stack Settings]
Maximum stack limit for stackable items (safe bound: 999,999,999).
InfiniteStackLimit = 999999999
Multiplier of vanilla stack size (0 = use InfiniteStackLimit).
GlobalStackMultiplier = 0
[3 - Exceptions (1-Per-Slot)]
Protect items with durability (weapons, armor, tools).
ProtectDurabilityItems = true
Protect upgradable items (max quality > 1).
ProtectQualityItems = true
Protect equipment types (weapons, shields, armor, accessories).
ProtectEquipment = true
Preserve vanilla stack size of 1.
P
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: