Source-checkedAdmin & protection

ItemStacksItemWeights

by shudnal · for Valheim

Control item stack sizes and weights. Dynamic server-to-client synchronization. Works globally or per item.

37KDownloads
55d agoLast updated
BepInExLoaders
ThunderstoreSource

About ItemStacksItemWeights

From Thunderstore

Control item stack sizes and weights. Dynamic server-to-client synchronization. Works globally or per item.

ItemStacksItemWeights

Control item stack sizes and weights. Dynamic server-to-client synchronization. Works globally or per item.

The mod creates a shudnal.ItemStacksItemWeights.yml file in the BepInEx/config/shudnal.ItemStacksItemWeights folder and populates it with default values on first launch.

You can edit this file to change item stack sizes and weights.

In multiplayer, install this mod and Conditional Config Sync on the server and all clients. Edit the stack and weight configuration on the server.

After each file update, all settings are synchronized automatically and item properties are updated accordingly.

File structure

The configuration file is a simple YAML structure consisting of four main sections:

WeightMultiplier:
  Global: 1
WeightAmount:
  ItemName1: 2
StackMultiplier:
  Global: 1
StackSize:
  ItemName1: 50
  ItemName2: 100

Sections

  • WeightMultiplier -- Defines a multiplier applied to the base weight of items.
  • WeightAmount -- Defines an absolute weight value for items. This value will override weight multiplier value for the item.
  • StackMultiplier -- Defines a multiplier applied to base stack sizes.
  • StackSize -- Defines an absolute stack size for items. This value will override stack multiplier value for the item.

Keys

  • Global -- applies to all items unless overridden.
  • <PrefabName> -- applies only to a specific item.

Automatically generated documentation

When you start a world, an Items stacks and weights.txt file will be generated in the BepInEx/config/shudnal.ItemStacksItemWeights directory.

This file contains all items available in your current game session. Use it to find the exact item names.

You can regenerate this file manually at any time using the iwisdocs console command.

Installation (manual)

extract ItemStacksItemWeights.dll to your BepInEx\plugins\ folder.

Configurating

The best way to handle configs is Configuration Manager.

Or Official BepInEx Configuration Manager.

Large stacks and save compatibility

Valheim 1.0.7 stores the built-in stack count in a 16-bit field. This mod preserves counts above 65,535 in the item's custom data and restores them when loading the item. Keep this mod installed on every peer that can save or load these items. Removing it while oversized stacks exist can reduce their saved counts.

The loader also accepts legacy StackCount metadata. New saves use the canonical FullStack key. Split oversized stacks into stacks of at most 65,535 before removing the mod.

Keep configured stack limits large enough for existing stacks: the game's inventory loader still enforces the active limit. This update cannot recover counts that were already truncated in an earlier save. Back up the world and characters before updating.

Dependencies

Install ConditionalConfigSync as a separate dependency; do not copy its DLLs into this mod's package.

Donation

Buy Me a Coffee

Discord

Join server

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Dependencies

Needs 3 other projects installed alongside it.

ItemStacksItemWeights on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Optional on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.1.1, released 2026-09-10

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 9 recorded builds of ItemStacksItemWeights.

Recent builds

BuildReleasedGame versionsLoaders
1.1.12026-09-10n/aBepInEx
1.0.72026-03-18n/aBepInEx
1.0.62026-01-15n/aBepInEx
1.0.52026-01-15n/aBepInEx
1.0.42026-01-15n/aBepInEx
1.0.32026-01-14n/aBepInEx

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run ItemStacksItemWeights on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Admin”

Admin & protection

Permissions, moderation, anti-cheat and land protection for the people running the server.

Works on a server

From source side support

Thunderstore lists server-side support for ItemStacksItemWeights as optional: it can run on a server, but isn’t required there.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serveroptional on the server
Requires
One-click install needs a BepInEx server. 3 other projects installed alongside it.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-02Open ↗
  • ✓Authorshudnal, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

ItemStacksItemWeights, answered

Generated from the mod’s own source data.

Do my players need to install ItemStacksItemWeights?

Thunderstore lists server-side support for ItemStacksItemWeights as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

BepInEx.

Is it free?

Yes. ItemStacksItemWeights is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run ItemStacksItemWeights on a Valheim server.

Deploy in about a minute from $9.99 a month, then add ItemStacksItemWeights in one click.