You are viewing a potentially older version of this package. View all versions.
Morda-StoreAndCraft-1.3.43 icon

StoreAndCraft

Base that works with you: auto-store, dump, craft from chests, [E] + auto-fill [B], auto-store output [N], F11 log, Storage Displays, Feed Trough, favorites, search. Server + all clients.

Date uploaded a day ago
Version 1.3.43
Download link Morda-StoreAndCraft-1.3.43.zip
Downloads 3062
Dependency string Morda-StoreAndCraft-1.3.43

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 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.2350

README

StoreAndCraft

Your base runs with you.
Loot finds its chest. One key clears your pockets. Craft, upgrade, and build straight from storage. Feed kilns and smelters with [E], or toggle auto-fill with B. Finished bars / food / honey can auto-store with N into matching chests. Tell each station which wood or ore it is allowed to take. F11 activity log. Small / Medium / Large Storage Displays with Shift + left click scale and Shift + right click Classic/Compact layout. Build a Feed Trough so tames eat when hungry. Mark favorites with F, fill a stack with Ctrl + Middle mouse, find a stack with Y, sort with R. Alt+E opens Settings for chests and stations. Carts and ships count too.

Required on the dedicated / hosted server and every PC client (same version). Valheim 1.0 · BepInExPack 5.4.2350+. Console players via crossplay cannot load the mod.

Bug reports: https://github.com/morda0511/StoreAndCraft/issues/1

Discord: https://discord.gg/aVKVVmyzj


Features

Auto-store

  • Ground items are pulled into nearby chests automatically if any one player is in range of the pile. You can walk off; a buddy standing there is enough.
  • Toggle ground vacuum with chat /store disable / /store enable. Dump and middle-click keep working either way.
  • Default: a chest only accepts an item if that type is already inside.
  • Carts and ships count as containers too.
  • Player-built chests only for dump / auto-store (crypts, house spawns, and other world chests are skipped).
  • Ward / private area rules still apply.

Dump & quick store

  • .: dump allowed inventory stacks into matching nearby player-built chests. If the chest cannot take the whole stack, it fills what fits and leaves the rest.
  • Middle mouse (inventory open): store only the hovered item.
  • Ctrl + Middle mouse (inventory open): Pull Stack: fill the hovered stack from matching items in nearby chests.
  • Hotbar can be skipped. Extra inventory rows and quick slots are never dumped or sorted.
  • Favorites are never dumped / hover-stored.

Craft & build from chests

  • Recipes and hammer pieces count nearby chest contents.
  • When you craft / upgrade / build, missing mats are taken from chests directly.
  • Craft / upgrade button enables when mats are in inventory or chests.
  • Yellow tint on requirement text when part of the count comes from a chest.
  • One item stays in each chest by default so auto-store can keep refilling. That leftover cannot be spent.
  • Forge of Potential: upgrades count and spend idols in nearby chests. A single idol in a chest is enough.
  • C + place (hammer): hold C while confirming a hammer build to grab that piece's materials from nearby chests into your inventory (nothing is placed).

Epic Loot

  • Supports Epic Loot: chest craft/build pull, Storage Displays (Dust / Essence / Reagent / Shard / Runestone), and the Enchanting Table use nearby chest stock.
  • Enchanting Table: a single Runestone in a chest still counts.

Station refill [E]

Works on smelters, charcoal kilns, cooking stations, fires / torches, fermenters, turrets, etc.:

  • Pulls fuel / ore / food from nearby chests when you don't have it.
  • Inventory first on manual [E]: if you already hold a valid item, that is used before chest contents.

Kiln / smelter / cooking auto-fill

  • Look at a kiln, smelter, blast furnace, cooking spit, iron cooking station, stone oven, fermenter, or torch / fire with the inventory closed → B toggles auto-fill for that station.
  • When fuel or ore hits 0, it sends a full load from nearby chests. Auto-fill never takes from your bag; only chests (same link, or both unlinked). Ignored / hide-only chests are skipped. Same for Shift+[E] fill-to-max.
  • Then it waits until that slot is empty again. If chests are empty too, the next chest check is after 20 seconds.
  • Cooking / ovens top up free slots. Stone oven door hover shows the toggle; food is added even if the under-fire is out (baking still needs fire to cook).
  • Filter still applies (Wood OFF stays OFF).
  • Manual [E] refill is unchanged.

Station auto-store (N)

  • Look at a kiln, smelter, blast furnace, cooking spit, iron cooking station, stone oven, fermenter, or beehive with the inventory closed → N toggles auto-store. Independent from B.
  • Finished bars / food / honey go into nearby chests: matching link first, then an unlinked chest that already holds the item; never a chest with a different link. Otherwise the item drops on the ground.
  • Pair with B auto-fill for hands-off refining / cooking.

Station Settings (Alt+E)

  • Look at a kiln, multi-input smelter, cooking station, or similar → Alt+E → Settings.
  • Choose which wood / ore / food types may be pulled (also blocked from your bag on that station).
  • Same menu: l1-l9 station link. Fill pulls only matching linked chests (or untagged when the station has no link).

Storage Display (Hammer)

  • Build Small, Medium, or Large Storage Display.
  • Small: assign with hotbar 1-8 while looking at it. Shift + left click cycles Name + Amount → No name → Icon only.
  • Medium / Large: [E] → type menu. Pick several types at once. Shift + left click cycles Display Scale. Shift + right click toggles Layout Classic ↔ Compact.
  • Food, Ingredients, and Epic Loot expand for subs.
  • Up to 12 categories per Large board.
  • Chests set to Ignore (without Show on Display) are not counted.
  • Place several displays with the same selection next to each other → shared pages (1/2), (2/2), …
  • Alt+R → per-display chest scan range.

Feed Trough (Hammer)

  • Build a Feed Trough (Storage tab).
  • Put carrots, mushrooms, berries, etc. inside. Hungry tames walk to the trough and eat, like drops on the ground. A small sparkle shows when food is inside.
  • Not used by dump, auto-store, craft pull, or Storage Displays.

Favorites

  • Inventory open → hover item → F.
  • Star badge on the item.
  • Skipped by dump and hover-store.

Rename / ignore / hide / link chests

  • Look at a chest → Alt+E opens Settings.
  • Ignore and Show on Display use on/off toggles:
    • Ignore on → skipped by dump / auto-store / craft / auto-fill.
    • Ignore + Show on Display → still skipped by dump/store/craft, but counted on Storage Displays.
  • l1-l9 link grid on the same panel → tag the chest for a station link.
  • Empty renamed chests keep their custom name.

Activity log

  • F11 toggles a short log under the TopLeft status text. Shows recent chest ↔ station moves while you play.

Search

  • Inventory open → hover an item → press Y.
  • Nearest chest that holds it blinks 3 times and gets a map ping.

Sort

  • Inventory open → R.
  • Bag only: sorts your inventory. Open chest: sorts that chest only.
  • Favorites stay put. Sort never moves items into the hotbar.

Multiplayer

  • Install on server + all clients, same version.
  • Server config sync.
  • Safe chest transfers (no ownership steal while someone has a chest open).

Keys (defaults)

Key Action
. Dump inventory into matching nearby chests
Middle mouse Store hovered inventory item (inventory open)
Ctrl + Middle mouse Pull Stack: fill hovered stack from nearby chests
Alt + E Settings for chest or station
F Favorite / unfavorite hovered inventory item
B Toggle auto-fill on the looked-at station (inventory closed)
N Toggle auto-store on kiln / smelter / cooking / fermenter / beehive (inventory closed)
F11 Toggle activity log
Y Find nearest chest with the hovered item (blink + map ping)
R Sort bag or open chest
C + place (hammer) Grab build materials from chests (do not place)
Alt + R Storage Display range
Shift + Left click Storage Display: scale (Medium/Large) or Small view mode
Shift + Right click Storage Display Medium/Large: Classic ↔ Compact layout

All hotkeys are configurable in the .cfg and stay local.


Chat / console commands

Works in chat (/…) and in the F5 console (with or without leading /).

Changing ranges: host / server admin only. Anyone can view status / help.

Command list (click to expand)
Command Who What it does
/help store Everyone Print help to console (F5)
/help storeandcraft Everyone Same as above
/storehelp Everyone Same as above
/store enable Everyone Turn ground auto-store on
/store disable Everyone Turn ground auto-store off; dump / middle-click still work
/store status Everyone Show ground auto-store on/off
/sac status Everyone Show current ranges
/dumprange <n> Host / admin Set dump / middle-click range (meters)
/storerange <n> Host / admin Set auto-store ground→chest range
/storagerange <n> Host / admin Set take-stack / search / display range
/craftrange <n> Host / admin Set craft / build / station-pull range
/autofillrange <n> Host / admin Set auto-fill station + chest range
/sac dump <n> Host / admin Alias for /dumprange
/sac store <n> Host / admin Alias for /storerange
/sac storage <n> Host / admin Alias for /storagerange
/sac craft <n> Host / admin Alias for /craftrange
/sac autofill <n> Host / admin Alias for /autofillrange

Examples

/sac status
/craftrange 25
/autofillrange 40
/sac dump 10

Ranges are saved to com.morda.storeandcraft.cfg and synced to clients when LockConfig is on. Valid range: 0-1000. Edit the .cfg on the host / server and save, or use the commands: no restart.


Storage Display types

Resources: Wood · Ore · Metals · Stone · Fuel · Hides · Parts · Crops & Seeds · Raw Food · Ingredients · Gems & Coins · Boss / Rare · Other materials

Epic Loot (expandable): Dust · Essence · Reagent · Shard · Runestone

Other: Food · Fish · Trophy · Ammo · Tools · Weapons · Armor · Utility · Misc


Config

One file only:

BepInEx/config/com.morda.storeandcraft.cfg

Setting Meaning
LockConfig Server owns gameplay values; clients receive them on join
ModEnabled / StoreEnabled / CraftEnabled Feature toggles
AutoIntakeEnabled Ground items auto-store into matching chests
MustHaveExisting Chest only accepts item types it already holds
LeaveOneItem Leave 1 in chest when pulling
IgnoreHotbar Dump skips hotbar row
AutoStackEnabled Compact stacks inside chests
PlayerDumpRange Dump / middle-click / pull-stack (m)
StoreRange Auto-store ground items (m)
StorageRange Take-stack / search / displays (m)
CraftRange Craft / build / station [E] (m)
AutoFillRange Auto-fill range (m)
IntakeInterval Seconds between ground-item scans
Hotkeys Local only

Dedicated: edit the .cfg on the server, save. It reloads and syncs.


Install

  1. Install BepInExPack Valheim.
  2. Drop StoreAndCraft.dll into BepInEx/plugins/StoreAndCraft/ (or install via Thunderstore / r2modman).
  3. On dedicated servers: install the same version on the server and every client.

CHANGELOG

Changelog

1.3.44

NEW FEATURES

  • F10 settings panel: sliders and number fields for all ranges, activity log checkbox, Save button, short info on what each range does. On a server only admins (adminlist) can save; in a solo world everyone can
  • New AutoFillChestRange: stations take items from chests around the station, not around the player (0 = same as AutoFillRange)
  • Putting items into a chest wakes nearby stations right away (about 1 s instead of up to 25 s)
  • Changing a station filter or link with Alt+E makes the station react at once

UI IMPROVEMENTS

  • Activity log / settings key moved from F11 to F10 (F11 is the Valheim screenshot key). Old F11 configs switch over automatically

FIX

  • Auto-fill stopped for kilns, smelters and windmills when many torches or fires were in range
  • All stations now get a fair turn, so a large base no longer starves stations at the end of the list
  • Two players near the same station no longer fill it twice at the same time
  • A cooking station with no allowed food no longer blocks auto-fill for other stations

1.3.43

NEW FEATURES

  • Auto-store (N) on the fermenter: finished mead goes into a nearby chest (ground only if no matching chest)
  • Fire and torch hover shows the remaining burn time in minutes, in green next to the name
  • F11 activity log shows every mod action: dump, store, take stack, auto-store from the ground, craft and build pulls, build grab, station [E], feed trough, sort, auto-stack, B / N toggles, station filter and link, chest rename, config changes

UI IMPROVEMENTS

  • Fires and torches no longer show Alt+E Settings (they only take wood or resin)

FIX

  • Shift+E on fires fills to max again instead of adding only 1 wood
  • Range settings are limited to 0-1000 m in the config file and in chat commands
  • Fires and torches ignore station links and take fuel from unlinked chests

1.3.42

NEW FEATURES

  • F11 toggles an activity log (up to 10 lines under the TopLeft status text, same font as "You are cold"; starts off). Lines like Chest 10x Tin -> Smelter / Kiln 5x Coal -> Chest
  • Auto-store (N): finished kiln / smelter / blast-furnace bars, cooking food, and beehive honey go into nearby chests (independent from Auto-fill B)
  • Station Alt+E filter also blocks manually inserting denied wood / ore / food from your bag (not only chest pull)

UI IMPROVEMENTS

  • Station output toggle (N) labeled Auto-store / Auto-Lagern
  • Alt+E labeled Settings everywhere (chest, station, hover)
  • Station Settings: Display-style item cells (sprite + name + toggle, 2 per row); link grid (l1-l9) in Valheim bronze style, sized and placed in the parchment margin
  • Chest rename link grid sits a few pixels higher (no panel-edge clip)
  • Large Storage Display category labels show the full name again (Scale / Layout); Medium/Large keep readable amounts

FIX

  • Auto-store (N) deposit order: matching linked chest first (item already inside); if full, unlinked chest that already holds the item; never a different link - otherwise ground drop
  • Auto-fill (B) never takes from your bag - chests only (matching link, or both unlinked). Removed StationFillSkipInventory config
  • Auto-fill uses chests around the station (not only around the player) while you stay in range; reacts faster and retries once on a stale chest view
  • Station link l1-l9: kiln/smelter/oven/fire no longer pull from the wrong channel
  • Removed Remote Automation completely (including background keep-alive / zone scans)
  • Opening rename chest no longer spams LiberationSans font missing warnings

1.3.41

FIX

  • Station auto-fill / Shift+[E] fill-to-max no longer take from your bag by default (StationFillSkipInventory defaults to on). Set it to false in config if you want bag-first

1.3.40

FIX

  • Storage Displays no longer flicker when changing Scale or Layout
  • Kiln / smelter chest pull no longer takes wood or ore from unlinked chests
  • Food Preparation Table: Raw Fish (and other only-one-ingredient recipes) craft from nearby chests and remove the fish from the chest

1.3.39

UI IMPROVEMENTS

  • Station hover prompts use one order everywhere: vanilla actions, then two-key shortcuts, then single keys

FIX

  • Cooking: raw meat from the hotbar or chests (including Volture meat) works on cooking stations again
  • Cooking auto-fill places food on the spit/oven instead of treating it as not allowed
  • Stone oven no longer shows a third empty hover on the body (food door and wood only)

1.3.38

FIX

  • Cooking from chests: raw meat (including Vulture meat) cooks on the spit/oven again instead of only appearing in your bag
  • Remote Automation temporarily disabled (unstable when far from the station)
  • Shift+[E] Fill to max works on fireplaces and torches (and cooking-station fuel)

1.3.36

NEW FEATURES

  • Ballista (Mistlands turret) auto-fill: press [B] to load ammo from bag and nearby chests

UI IMPROVEMENTS

  • Kiln / smelter hover: no duplicate Auto-fill / Fill to max; order is Add ? Fill to max ? Chest pull filter ? Auto-fill
  • Favorites: star badge only ? no gold tint on the item icon

FIX

  • Station auto-fill finds items in nearby chests again when chest inventories looked empty after the wipe-guard (Frost Foundry / smelters / kilns)
  • Frost Foundry casts (and other max-stack-1 items) can be pulled from chests again ? LeaveOne no longer blocks the only copy

1.3.35

FIX

  • Cooking auto-fill (campfire sticks / spit / oven) pulls food from chests again like pressing [E]; stone ovens still fall back to network add when the under-fire is out

1.3.34

NEW FEATURES

  • Hold Shift and press [E] on a kiln, smelter, or blast furnace to fill fuel or ore to max from your bag and nearby chests

FIX

  • Storage Displays no longer clear nearby chest contents when counting items (stronger empty-load guard)
  • Feed Trough keeps food visible and usable after you put carrots or other animal food inside
  • Config sync no longer loops forever when the server handshake works but the config package fails; the client keeps local settings and warns once

1.3.33

FIX

  • Forge of Potential: chest idols now count and can be spent. LeaveOne does not apply there (one idol in a chest is enough)

1.3.32

FIX

  • Select Types menu opens without a long freeze (no full item-list rebuild for every category)

1.3.31

NEW FEATURES

  • Station auto-fill: new config StationFillSkipInventory ? when on, kilns, smelters, ovens, and fires take from chests only, never from your bag
  • Feed Trough: hungry tames walk up to the trough and eat there, like food on the ground
  • Auto-drop (N) also works on beehives ? honey drops on the ground for auto-store

UI IMPROVEMENTS

  • Feed Trough shows a small food sparkle when it has food inside (hidden when empty)
  • Storage Display scale: Shift+LMB steps 25% (?2?+4); icon and count stay one pair with room for 4-digit totals; category labels stay fixed
  • Storage Display layout: Shift+RMB toggles Classic ? Compact on Medium/Large (saved per board). Compact starts each category on its own row (label + items)
  • Storage Display type menu: categories on top with on/off toggles, items for the selected category below (icon + one toggle each); faster scroll

FIX

  • Storage Displays no longer wipe nearby chests when counting items (iron chests included)
  • Dump / sort / auto-fill leave equipment and quick-slot mod overflow alone (e.g. EquipmentAndQuickSlotsPlus Z V B); Wider / Deeper Pockets bag rows work like normal inventory
  • Coming back to base after a raid no longer saves empty reinforced chests (lag spike / unload race)
  • Feed Trough hover tells you to put food inside
  • Storage Display: switching Compact ? Classic no longer flickers / blanks the board (Medium header strip restored)
  • Storage Display only reads chests ? no re-Load over a full bag and no empty Save if a count briefly shows 0
  • Large Classic scale grows icon and count together (taller rows); categories pack without overlapping numbers
  • Select Types menu uses Valheim fonts (no LiberationSans missing-font spam)

1.3.30

NEW FEATURES

  • Storage Display scale: Shift + left click on Medium / Large cycles -10..+10 (icons and counts); Small cycles Name + Amount / No name / Icon only
  • Feed Trough: hammer piece (Storage tab) - put animal food inside; nearby hungry tames eat from it

UI IMPROVEMENTS

  • Chest rename: Ignore and Show on Display use the new on/off toggle buttons (plus l1-l9 link grid)

FIX

  • Safer chest saves so items no longer vanish when a chest briefly looks empty on load
  • Empty chests keep their custom rename (no longer lose the name / show broken empty titles)