
StackIT
Server-synced stack, weight and pickup control for Valheim. Tune stacks per resource (wood 3x, metal 2x), cut item weights by a percentage, raise carry capacity, and hold Shift to harvest a whole berry patch📦 StackIT
Forty trips to the cart. Forty times bent over the same berry patch. The gods gave the Viking two strong arms and a back like a longship's keel, and then, for reasons of their own, a pocket that holds fifty logs. StackIT has words with the gods.
Carry more of it, carry it further, and take the whole patch at once.
StackIT decides two numbers for every item in the game: how many fit in a slot, and what one of them weighs. Set one multiplier for each and forget them — or tune them per category, per resource and per item, with exclusions and a hard ceiling.
It also stops you pressing E forty times in a berry patch: hold Shift and the whole patch comes up at once. The server owns every number and players sync to it, so nobody compares config files. And it never makes weapons, armour or tools stackable — on purpose.
Wood and metal stop sharing one number. The game files both under Materials, but wood is bulk you burn through building and metal is a chain of ore, scrap and smelting. Now each gets its own multiplier.
| Resource | Covers | Vanilla stack |
|---|---|---|
| 🪵 Wood | Wood, Finewood, Corewood, Yggdrasil Wood, Ancient Bark, Ashwood, Timberwood | 50 |
| 🪨 Stone | Stone, Grausten, Black Marble | 50 |
| ⛓️ Metal | every ore and scrap the smelter and blast furnace take, and every bar they give back — copper, tin, bronze, iron, silver, black metal, flametal and bloodgold | 30 |
| 🦌 Leather | hides, pelts, leather scraps and leather straps | 50 (Troll Hide 20) |
🔹 Stack Multiplier Overrides — a multiplier for one item, modded items included · 🔹 Weight Reduction Bonus (%) — one dial that takes a percentage off every weight in the game · 🔹 Verbose Logging now says exactly what it applied
| If… | Then… | |
|---|---|---|
| 🪶 | you add it to an existing world | stacks are 3× and items weigh half from the first launch. That is deliberate — bigger stacks are only worth having if you can carry them. Set Weight Multiplier = 1.0 for vanilla weights. |
| 🏃 | you sprint with Shift | Shift is also the Harvest All key: press Use on a bush while still running and you take the whole patch. Change Harvest All Modifier, or set Harvest All = false. |
| 🤝 | you play on a server | install it on the server and every player. The server asks for its own StackIT version, so a player on an older one is asked to update rather than play with different numbers. |
| 🔄 | you update an older StackIT | your settings carry over, and the per-resource, per-item and weight-bonus settings ship switched off. Nothing moves until you set them. |
| 🛡️ | you want stackable swords | StackIT will never stack weapons, armour or tools. Chapter I says why. |
One multiplier for everything that stacks — then as fine as you like.
| 📦 Stack Multiplier | 3× by default: 50 wood becomes 150, 20 trophies become 60 |
| 🧱 Max Stack Size | a ceiling (default 9999) applied last, so a big multiplier never makes a silly number |
| 🗂️ Per category | Materials, Consumables, Ammo, Trophies, Fish and Misc each take their own multiplier |
| 🪵 Per resource | Wood, Stone, Metal and Leather split out of Materials |
| 🎯 Per item | an absolute size, a multiplier, or held at vanilla |
| 🔁 Always from vanilla | sizes are recomputed from the vanilla value, so turning the multiplier down really brings stacks down |
📖 Read the saga — which setting wins, and why gear never stacks
The most specific setting wins. For any item, StackIT takes the first of these that applies:
- Excluded Items — held at the vanilla stack size.
- Stack Size Overrides — an absolute size.
- Stack Multiplier Overrides — that one item's own multiplier.
- Per resource — the item's resource group, if it is set.
- Per category — the item's category, if it is set.
- Stack Multiplier — the global default.
Max Stack Size clamps whatever comes out. A category or resource left at 0 follows the next one down the list, so nothing changes until you set it. Push a new config from the server ten times and you get the same answer ten times.
Why gear never stacks. Valheim decides whether two items can merge by comparing name, quality and world level — never durability. If gear could stack, a sword at full durability dropped onto a pile of worn ones would simply become a worn one: the game keeps one durability value for the whole stack, and the better item's is thrown away without a word. There is no setting for it, because there is no version of it that is not silent data loss. The same goes for anything that does not stack in vanilla; point an override at one and StackIT ignores it and says so once in the log. Weight reduction still applies to gear in full.
Bigger stacks are only worth having if you can carry them.
| 🪶 Weight Multiplier | 0.5 by default — everything weighs half of vanilla |
| ➖ Weight Reduction Bonus (%) | a further percentage off every item, on top of the multipliers |
| 🗂️ Per category | all nine categories, weapons, armour and tools included, take their own weight multiplier |
| 🎯 Per item | an exact weight, or held at vanilla |
| 🧮 Minimum Item Weight | a floor (default 0.01) so nothing rounds down to free by accident |
| 🎒 Extra Carry Weight | a flat allowance on top of vanilla's 300 and Megingjord |
📖 Read the saga — how the weight dials stack up
Weightless stays weightless. Items that weigh nothing in vanilla are meant to be free, and stay that way. Everything else is held above the minimum-weight floor.
The bonus is never replaced. A category with its own multiplier replaces the global one, but the Weight Reduction Bonus still applies on top, so it is the one dial that moves every weight in the game at once. Set it to 25 and everything is 25% lighter than the multipliers alone make it: at the default multiplier of 0.5, a log that weighs 2 in vanilla ends up at 0.75. Weight Overrides and Excluded Items name an exact weight and are exempt; the floor still holds, so 100 leaves everything at the floor rather than at nothing.
Carry weight agrees with itself. Extra Carry Weight hooks the same call the encumbrance check and the inventory readout use, so the number in the corner of your inventory and the point where you start to waddle always match. It ships at 0 — the stack and weight multipliers usually get you there on their own.
Hold Shift, press Use, and the whole patch comes up.
| You | It |
|---|---|
| Shift + E on a raspberry bush | picks every bush nearby, not just one |
| Shift + E on mushrooms, thistle, dandelion, flint, branches, stone | the same — anything the game calls a pickable |
| E on its own | exactly what it always did |
| Look at a plant | [Shift + E] Harvest all sits under vanilla's [E] Pick up, follows your key, and hides on a gamepad |
📖 Read the saga — pickup range and the two guards
Harvests drop on the ground. Picking a plant puts its items where the plant stood — fine for one bush, useless for forty. Auto Pickup Range is the radius loose items are pulled in from: 2 in vanilla, up to 64 here. Raise it and a harvest collects itself. Vanilla's rules still hold: nothing is pulled in while you are out of slots or over your carry limit.
Max Count (default 50) caps one harvest and takes the nearest plants first. If a harvest hits the cap you are told so in the corner — it never quietly stops and lets you believe the patch is empty.
Same Type Only (default off) takes only plants that drop the item you actually picked, for when you want the berries out of a clearing and the mushrooms left alone.
Plants sitting in tar are skipped quietly, and Excluded Items keeps named plants out of every harvest.
First ten minutes: install it on the server and every player → launch once to make BepInEx/config/wubarrk.stackit.cfg → set your multipliers → walk up to a berry patch → Shift + E.
| Key | |
|---|---|
| Shift + E | Harvest All — the key is Harvest All Modifier, and yours alone |
🛠️ Triple wood, double metal
[3 - Stack Resources]
Wood = 3
Metal = 2
Wood stacks go 50 → 150 and metal 30 → 60, each independent of the other and of the Materials category. The exact prefab names in each group are listed in the config file's comments, ready to copy into an exclusion or override list.
🎯 Set single items
Three comma-separated lists. The first two set absolute values that ignore every multiplier; the third scales the vanilla stack:
Stack Size Overrides = Wood:500, Stone:500, Coins:9999
Weight Overrides = Wood:0.1, Iron:4, BlackMetal:3
Stack Multiplier Overrides = Coal:4, Flint:2
The multiplier list is separate so that Coal:4 can only ever mean "four times the vanilla stack", never "four per stack". It is also where modded items go, since they belong to no built-in group. Entries of zero or less, and NaN or infinity, are ignored with a warning.
🚫 Keep items at vanilla
[2 - Settings] Excluded Items = Coins, SurtlingCore
[4 - Weight] Excluded Items = Ymirremains
[7 - Pickup] Excluded Items = Dandelion
Every list takes either the prefab name (Wood) or the shared name token ($item_wood), because item dumps and tooltips disagree on which one you are looking at. All are case-insensitive and read the same on every machine, whatever its decimal separator. Verbose Logging prints what was applied, so you can see the mod read your config the way you meant it.
| Works on its own | Decided by the server | Yours alone |
|---|---|---|
| single player and dedicated servers, no extra setup | every stack, weight, carry and pickup setting — pushed on connect and again whenever an admin changes one, no restart | Harvest All Modifier |
⚠️ Versions must match. The server asks for its own StackIT version; a player on an older one is asked to update.
Lock Configuration(on by default) stops players editing their own copy for bigger stacks. StackIT touches item prefabs only — it never writes to your save.
Configuration Manager (F1) in game, or BepInEx/config/wubarrk.stackit.cfg.
🔒 Server-synced — set on the server
| Section | Setting | |
|---|---|---|
| 1 - General | Lock Configuration |
only admins change the settings |
| 1 - General | Verbose Logging |
log what was applied on each re-apply |
| 2 - Settings | Stack Multiplier |
the global stack multiplier (3.0) |
| 2 - Settings | Max Stack Size |
the ceiling (9999) |
| 2 - Settings | Excluded Items · Stack Size Overrides · Stack Multiplier Overrides |
the per-item stack lists |
| 3 - Stack Categories | Materials · Consumables · Ammo · Trophies · Fish · Misc |
0 follows the global multiplier |
| 3 - Stack Resources | Wood · Stone · Metal · Leather |
0 follows the category, then the global multiplier |
| 4 - Weight | Weight Multiplier |
the global weight multiplier (0.5) |
| 4 - Weight | Weight Reduction Bonus (%) |
a percentage off every weight (0) |
| 4 - Weight | Minimum Item Weight |
the floor (0.01) |
| 4 - Weight | Excluded Items · Weight Overrides |
the per-item weight lists |
| 5 - Weight Categories | Materials · Consumables · Ammo · Trophies · Fish · Misc · Weapons · Armor · Tools |
0 follows the global multiplier |
| 6 - Carry Weight | Extra Carry Weight |
added to every player's carry limit (0) |
| 7 - Pickup | Auto Pickup Range |
pickup radius in metres (2, vanilla) |
| 7 - Pickup | Harvest All · Harvest All Radius · Harvest All Max Count · Harvest All Same Type Only |
on, 8 m, 50 plants, off |
| 7 - Pickup | Excluded Items |
plants never mass-harvested |
🖥️ Local to your game — yours alone
| Section | Settings |
|---|---|
| 7 - Pickup | Harvest All Modifier (LeftShift) — a keybind is a matter of taste and keyboard, not balance |
Needs: BepInExPack Valheim 5.4.2360 (the mod loader; it also provides HarmonyX). Install with a mod manager, or unzip into BepInEx/plugins — on a dedicated server too, since the server's copy decides.
ServerSync.csby Blaxxun is compiled into the DLL for server-synced settings. It is not covered by StackIT's MIT grant and stays under its author's own terms.
🔗 Also by me: TortalPortal · VikingOS · Fatty · LetItGrow · Shadows of Midgard · AwayFromHome · Njord · Wings of the Valkyrie · Dvergr Allies · Blighted World Heart · Runebound Rest · Mists of Avalor · The Eye
Made by Wubarrk — ravenirongames.com. Bug reports and suggestions genuinely wanted on Discord. License: MIT — fork it, ship it, sell it, put it in your modpack; keep the copyright notice. Full text in LICENSE.md.