You are viewing a potentially older version of this package. View all versions.
SmeagsMods-Cofferforge-0.1.2 icon

Cofferforge

BETA: Compact rows and direct stacking for all seven vanilla buildable chest types. Chest-on-chest support with normal inventory, permissions and structural limits.

Date uploaded a week ago
Version 0.1.2
Download link SmeagsMods-Cofferforge-0.1.2.zip
Downloads 111
Dependency string SmeagsMods-Cofferforge-0.1.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351

README

Cofferforge

Build compact storage rows and stack vanilla chests directly on other chests, without shelves between them.

Rotate chests normally so their narrow ends face the aisle, then use the hammer's normal automatic or manual snapping. Cofferforge adds snap points across each chest's bottom and closed top. The same points work along a lower row, up to a second row, and across that upper row. There is no extra clearance for opening lids; overlapping lid animations do not change container interaction.

With automatic snapping, aim at a chest's top to stack above it, or at a side to continue that row at the same bottom height. Flat-floor placement uses the chest's closed bottom, avoiding sideways offsets from rounded barrels or sloped lids. Manual corner selection remains available through the normal snap controls.

Supported storage

All seven enabled chest prefabs in the Valheim 1.0.21 hammer table are covered:

Chest Vanilla prefab
Wooden chest piece_chest_wood
Reinforced chest piece_chest
Personal chest piece_chest_private
Barrel storage piece_chest_barrel
Black metal chest piece_chest_blackmetal
Grausten chest piece_chest_grausten
Wardrobe storage piece_chest_warderobe

Mixed sizes align at their corners and edges. Manual snapping can help choose the desired corner. Larger upper chests may overhang smaller ones; vanilla collision and structural limits still apply.

What changes

  • Chests gain eight native corner snap points, based on their closed geometry. Four corners on each of the top and bottom keep rows aligned without half-width snap positions.
  • A chest may accept another chest as support. Walls, floors and other building pieces still see the original support restriction.
  • Automatic chest-to-chest side placement may continue a level row. The native restriction on tilted surfaces remains for manual/free placement, slopes and unrelated pieces.
  • Vanilla inventory size, item stacks, recipes, station requirements, personal ownership, wards, damage, material strength, removal checks and resource refunds remain in charge.
  • Loot chests, pots, gifts, carts and other containers are outside this mod's scope. No new build pieces or save-data formats are added.

Installation and multiplayer

Requires BepInExPack Valheim 5.4.2351 (denikson-BepInExPack_Valheim-5.4.2351). Put Cofferforge.dll in BepInEx/plugins/Cofferforge.

Install the same version on every player and the server. The mod preserves Valheim's normal ownership and support calculations rather than adding a network protocol; it does not enforce matching installs. A peer without the mod can evaluate a stack using vanilla rules and destroy unsupported upper chests.

Before disabling or removing Cofferforge, empty and dismantle the upper rows, or add ordinary supports under them. Saved chests remain vanilla objects, but vanilla does not support chest-on-chest stacks. Normal destruction and item/resource drops remain active.

Beta status

Package 0.1.2 is an icon-only update to the public beta. It contains the unchanged, tested runtime DLL version 0.1.1, which still appears as 0.1.1 in BepInEx. That runtime was tested on Valheim 1.0.21: automated native checks passed, and the hands-on reinforced-chest snapping retest was successful. No gameplay changes are included in 0.1.2.

Real multiplayer and dedicated-server ownership transfer have not yet been validated. Exact hammer resource consumption, refund amounts and item-drop counts have not been independently measured. The all-peers/server installation requirement and uninstall precautions above still apply.

Support and feedback: SmeagsMods Discord.

License

Original Cofferforge code, documentation and supplied project artwork are MIT licensed, copyright (c) 2026 SmeagsMods, to the extent rights apply. See LICENSE and THIRD-PARTY-NOTICES.md. Game assets and runtime dependencies retain their owners' rights and are not redistributed.

CHANGELOG

0.2.2

  • Add configurable owner locks to all seven supported buildable chest types. Shift + E cycles unlocked, soft and hard; CycleOrder can reverse the locked-state order.
  • Soft locks retain manual access under vanilla privacy/ward rules while restricting supported automatic pulls to the placer and matching-creator machines. Hard locks also restrict manual access.
  • Preserve existing lock data as hard locked; reject stale/invalid state changes and retain native access, ownership and busy-chest checks.
  • Integrate with the inspected Grantapher Valheim Plus 10.4.0.0 binary, including cached counts and actual consumption. Valheim Plus remains optional.
  • Display modifiers first in the shortcut hint and show the next lock action.
  • Retain the approved icon, MIT license and chest stacking behavior. Exact delivered DLL: 525 native checks and 1,934 offline policy checks passed. Author's hands-on retest accepted.
  • Multiplayer/dedicated ownership and concurrent inventory access remain beta limitations; no anti-cheat guarantee.

Versions 0.2.0 and 0.2.1 were private development iterations; 0.2.2 is the packaged lock update.

0.1.2

  • Update the package icon to the approved artwork revision, with two blue-highlighted chests and an open upper-right space.
  • Icon-only packaging update. Runtime DLL version 0.1.1 is byte-identical to the tested 0.1.1 release; gameplay, dependencies and validation caveats are unchanged.

0.1.1

  • Public beta: automated native checks and the hands-on reinforced-chest snapping retest passed. Multiplayer/dedicated-server ownership transfer and exact resource/refund/item-drop counts remain unvalidated.
  • Reduce the chest snap layout from 18 grid points to eight corners, preventing automatic half-width snap positions inside neighboring chests.
  • Stabilize automatic preview alignment on flat floors and chest tops; aim at a chest side to continue its row at the same height.
  • Permit that automatic chest-to-chest row alignment without relaxing tilt restrictions for manual/free placement, slopes or unrelated pieces.
  • Keep the existing chest-only support behavior, closed dimensions, inventories, costs and permissions unchanged.
  • Add native hammer-preview sweep tests across compact lower and upper rows.

0.1.0

  • Initial implementation: compact native snapping and direct chest stacking for all seven current buildable chest types.
  • Scoped support exceptions keep walls, floors and other pieces from using chests as foundations.
  • Mixed-size bottom/top grids preserve closed geometry and vanilla collision checks.