Valheim
Install with App

Details

Latest version
0.3.0
Last Updated
First Uploaded
Downloads
315
Likes
0
Size
964KB
Dependants
ADDatHost Valheim hosting
30% off

Cofferforge 0.3.0

Beta: tested locally, not yet validated on a dedicated server. In multiplayer, Fulla can skip an unlocked chest if another player's game still controls it, even after they close it. Items that could not be placed stay in the ward. Test on a backup or disposable world before using shared storage.

Fulla's Ward

Build Fulla's Ward with the Hammer at the same station as the reinforced chest. It costs 20 Fine Wood, 10 Iron, and 1 Ancient Seed. It is a storage piece, not a protection ward. Walk up to the open coffer, interact as you would with a chest, deposit your items and close it. Its 8 × 7 grid holds 56 stacks on the tested Valheim 1.0.30 build, six more than the 50-slot vanilla wardrobe.

  • Fulla looks for eligible, loaded vanilla chests within 12 m. Chests already holding the exact item prefab come first. A chest with a matching category sign can accept the item even if empty.
  • Mount one sign near the center of each chest face. With Runestone Signs, the displayed design's category ID wins over the text it replaced. Restoring vanilla switches back to the regular sign text. A sign between two chests or conflicting labels on one chest do not qualify it for category sorting.
  • Fulla does not bypass personal chest access, vanilla wards or Cofferforge locks. The chest placer can sort into their own locked chest if vanilla permissions allow. Fulla skips busy and out-of-range chests. It also skips chests another player's game is currently handling, regardless of who built them or whether they are unlocked. Unmatched items and unfinished stacks stay in the ward; reopen it to retrieve them or close it again to retry.
  • Back up your world. Every client and the server need this version. Empty and dismantle the ward before uninstalling; the game cannot load a custom storage prefab without the mod.

Server category file

After one startup, edit BepInEx/config/Cofferforge.FullaCategories.txt on the server (or the host for local/hosted play). The mod is designed to use the server copy in multiplayer; dedicated-server delivery to clients is not yet verified. Changes are picked up on the next local sort or subsequent client sync. The sorter keeps the last valid rules if a file edit is malformed.

# Category ID | optional sign alias = exact item prefab names, comma-separated
berries | Fruit Basket = Raspberry,Blueberries,Cloudberry
stone-plus | Masonry = Stone,BlackMarble,Grausten

Matching is case-insensitive. This build includes 87 category IDs. Each maps to specific item prefab names, so labels such as food do not automatically match every food. Keep the original supported Runestone category ID on the left if you want existing artwork to keep working. Add aliases for plain signs, new categories and prefab IDs from other mods as needed. Restore the default file by stopping the server, moving the edited file aside, and restarting.

Lock controls

Look at a closed chest and press Shift + E to cycle Unlocked -> Soft -> Hard -> Unlocked. The hover text shows the current state and the next action. Configure ToggleShortcut under [Locks] in BepInEx/config/SmeagsMods.Cofferforge.cfg. CycleOrder = HardFirst changes the cycle to Unlocked -> Hard -> Soft -> Unlocked; SoftFirst is the default.

Mode Manual access Automatic crafting/building pulls Automatic machines
Unlocked Vanilla rules Normal Valheim Plus rules Normal Valheim Plus rules
Soft Anyone permitted by vanilla privacy and wards Chest placer only Machines placed by the chest placer only
Hard Chest placer only, with vanilla restrictions Chest placer only Machines placed by the chest placer only

Soft locks do not make personal chests public or bypass wards. Use an ordinary public chest when you want other players to open it manually. A player who can manually withdraw items can then use those items from their own inventory; soft locking only prevents automatic chest pulls.

Only the original placer character may change modes, and the chest must be closed. Ownership uses persistent character IDs, not display names, Steam accounts or the peer simulating a chest. Missing creators are never claimed by the first opener. Unknown machine creators cannot pull from locked chests. Locked personal chests remain discoverable by their placer's machines, subject to Valheim Plus's configured shared-ward checks.

Existing 0.2.0/0.2.1 locks remain hard locked when upgraded. The new mode is stored separately while both locked modes retain the legacy lock flag. Invalid/inconsistent mode data fails closed. Do not mix versions or downgrade with locked chests. EnableNewLocks = false prevents new locks/mode changes while allowing the owner to unlock an existing lock directly.

Supported storage and compatibility

All seven ordinary buildable chest prefabs in inspected Valheim 1.0.21: piece_chest_wood, piece_chest, piece_chest_private, piece_chest_barrel, piece_chest_blackmetal, piece_chest_grausten, piece_chest_warderobe.

Eight corner snap points allow compact rows and stacks. Rotate chests normally with narrow ends facing the aisle. Mixed sizes align at edges/corners within native collision/support limits. Walls and floors cannot use chests as structural support. Loot containers and unrelated storage are excluded. Vanilla inventories, stack sizes, recipes, costs, damage and recovery rules remain in effect.

Requires BepInExPack Valheim 5.4.2360, the declared and tested dependency. Automatic access integration supports only the inspected Grantapher Valheim Plus 10.4.0.0 DLL (Thunderstore package 10.4.0). Unsupported binaries disable new locks and must not be used to protect existing locked storage. Without Valheim Plus, manual locks remain available; unrelated automatic-pull mods are unverified.

For manual installation, replace the previous Cofferforge DLL with plugins/Cofferforge/Cofferforge.dll under BepInEx. Keep only one Cofferforge DLL. No dependencies, game files, configs or private harness are included. Enable the desired Valheim Plus features in your profile. Valheim Plus is optional and is not installed by this package.

Every client and server needs matching compatible versions. There is no version handshake or anti-cheat guarantee. Unmodded/uncooperative clients may bypass these gameplay rules. Normal damage, destruction and drops still apply. Before removing/downgrading, unlock and empty chests, then dismantle upper rows or support them normally. Removing the mod removes lock enforcement and may collapse unsupported stacks.

Verification and limits

The exact included DLL passed 21 local checks, including native capacity, sign sorting, partial overflow, access restrictions and save behavior.

Fulla’s Ward has been exercised in an isolated Valheim 1.0.30 local world, using BepInExPack 5.4.2360. Dedicated-server category propagation and real two-player inventory concurrency still need a multiplayer test. Chests controlled by another network peer are skipped rather than forcibly taken over; these items stay in the coffer. The checks below document the earlier stacking and lock release.

The exact 0.2.2 DLL passed 483 native checks in a closed disposable Valheim 1.0.21 world: both lock modes' normal/single-ingredient crafting and exact costs, native building requirement/consumption paths, matching/foreign machine auto-input and fuel, unknown-owner oven/fireplace refusal, wards, busy chests, modifier-first shortcut hints/actions and native input gating. All seven chest types were covered for migration and access policy. Six public types additionally passed native foreign-player open/take-all RPCs and exact-count manual split/deposit, while automatic pulls stayed denied with the GUI open. Personal-chest privacy remained intact. Existing chest placement/support regression checks passed.

Seven save fixtures and 35 normal-restart checks verified all three modes, creator identities, manual/automatic access and exact contents. Together with seven save preparation checks, this totals 525 native checks, zero failures. The same DLL also passed 1,934 offline policy assertions and a compiled-code routing audit. No production code change followed the runtime tests.

Still unverified: real two-client/dedicated-server ownership transfer and concurrent inventory races/disconnects; unrelated mods; every machine variant and production timing. The author reports that the latest update works perfectly in hands-on testing; this does not establish multiplayer coverage. Automated tests did not synthesize physical keyboard/mouse input. The local tests simulate distinct persistent creator identities within one process; they are not multiplayer proof. Building resource methods were exercised directly rather than a complete player-driven placement session. Manual split/deposit used native inventory methods, not automated physical mouse input.

Test owner/nonowner actions on disposable clients first, including changes during a craft timer and a restart. Do not treat these tests as a cross-peer inventory transaction or anti-cheat guarantee.

Support: SmeagsMods Discord.

License

MIT, copyright (c) 2026 SmeagsMods, to the extent rights apply. See LICENSE and THIRD-PARTY-NOTICES.md. Game assets, dependencies, decompiled code and the private test harness are excluded.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.