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.
模組介紹 作者原文
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
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: