ItemStacks
Increases item stack size and reduces item weight. Configurable
About this mod Author’s original text
ItemStacks Plugin for Valheim
Increases item stack size (10x by default) and item weight (x0.1 by default).
Loading up a world without the mod installed or reducing item stack size will cause any items in a stack above the new stack size to be lost.
Configuration entries are generated based on the items in the ObjectDB instance.
You must join a world for it to create the individual item config entries.
You may choose to enable/disable the stack size or weight modification by setting the respective enabled flag.
Item weights and stack sizes can be individually set, setting these values above 0 will have it ignore the multiplier and use the given value instead.
Installation
- Download and install BepInEx Valheim
- Download this mod and move the ItemStacks.dll into \BepInEx\plugins
- Launching the game and joining a world will generate a config file at \BepInEx\config
Configuration
/BepInEx/config/net.mtnewton.itemstacks.cfg
[ItemStacks.ItemMultipliers]
Multiply the original item stack size by this value
Minimum resulting stack size is 1
Overwritten by individual item _stack_size values.
Setting type: Single
Default value: 10
stack_size_multiplier = 10
Multiply the original item weight by this value
Overwritten by individual item _weight values.
Setting type: Single
Default value: 0.1
weight_multiplier = 0.1
[ItemStacks.ItemStackSize]
Should item stack size be modified?
Setting type: Boolean
Default value: true
enabled = true
Set above 0 to use this value instead of the stack size multiplier
Game default: 20
Setting type: Int32
Default value: 0
amber_stack_size = 0
Set above 0 to use this value instead of the stack size multiplier
Game default: 50
Setting type: Int32
Default value: 0
amberpearl_stack_size = 0...
[ItemStacks.ItemWeight]
Should item weight be modified?
Setting type: Boolean
Default value: true
enabled = true
Set above 0 to use this value instead of the weight multiplier
Game default: 0.1
Setting type: Single
Default value: 0
amber_weight = 0
Set above 0 to use this value instead of the weight multiplier
Game default: 0.1
Setting type: Single
Default value: 0
amberpearl_weight = 0...
Changelog
- v1.2.0
- added config option for stack and weight multiplier
- specific item configs now default to 0
- setting these above 0 will cause the weight or stack size to be set to this value instead of being multiplied.
- previous versions set item specific values, these will need to be deleted or set to 0 for a custom multiplier different than the previously default 10x/0.1x to take effect
- v1.1.3
- item weight toggle was using wrong config value
- v1.1.2
- update readme, config path
- v1.1.1
- fix readme typos
- v1.1.0
- readme changes - installation steps and changelog
- refactor code for simplification
- v1.0.0
- initial mod creation
- configurable item stack size and item weight (defaults to 10x base item stack size and 0.1x item weight)
Source Code
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: