Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
StoreAndCraft
Base that works with you: auto-store, dump, craft from chests, [E] + auto-fill, cooking auto-drop [N], Storage Displays, Feed Trough, favorites, search. Server + all clients.
| Date uploaded | 19 hours ago |
| Version | 1.3.39 |
| Download link | Morda-StoreAndCraft-1.3.39.zip |
| Downloads | 2968 |
| Dependency string | Morda-StoreAndCraft-1.3.39 |
This mod requires the following mods to function
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.2350README
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. Cooking stations can auto-drop finished food with N so chests pick it up. Tell each station which wood or ore it’s allowed to take. 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. Rename chests with Alt+E (Ignore / Show on Display toggles). 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
StoreRangeof the pile. You can walk off; a buddy standing there is enough. - Toggle ground vacuum with
AutoIntakeEnabledor 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 (
MustHaveExisting). - Carts (
Vagon) 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 (
IgnoreHotbar). Extra inventory rows and quick slots (Haldor / EquipmentAndQuickSlotsPlus Z/V/B) are never dumped or sorted. - Favorites are never dumped / hover-stored (see below).
Craft & build from chests
- Recipes and hammer pieces count nearby chest contents.
- When you craft / upgrade / build, missing mats are taken from chests directly (not dumped into your backpack first — that used to fill free slots and cancel the craft).
- 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.
LeaveOneItem(default on): one item stays in each chest so auto-store can keep refilling. That leftover item cannot be spent (craft, build, plant, or station [E]). Turn the setting off if you want to use the last item.- Forge of Potential (Schmiede / Werkbank des Potenzials): upgrades count and spend idols in nearby chests.
LeaveOneItemdoes not apply there — a single idol in a chest is enough (same as Epic Loot runestones). - 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). Each grab-click can pull another full piece-cost set. Remap with
BuildGrabKey. Shift stays free for vanilla no-snap.
Epic Loot
- Supports Epic Loot — chest craft/build pull, Storage Displays (Dust / Essence / Reagent / Shard / Runestone), and the Enchanting Table (Sacrifice / Enchant / Upgrade / …) use nearby chest stock.
- Enchanting Table spend does not apply
LeaveOneItem(a single Runestone in a chest still counts). Vanilla craft / smelter leave-one is unchanged.
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: if you already hold a valid item (e.g. deer meat), that is used before chest contents (e.g. boar meat).
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 (saved on the station).
- When fuel or ore hits 0, it sends a full load (smelter max, e.g. 10) from inventory first, then chests within
AutoFillRange. SetStationFillSkipInventory = truein config section3 - Craftto skip your bag entirely (chests only — hotbar, extra rows, and Z/V/B quick slots stay untouched). 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 (not only when fully empty). Stone oven door hover shows the toggle; food is added even if the under-fire is out (baking still needs fire to cook).
- No chest scans and no “it’s full” spam while the station is still running. Filter still applies (Wood OFF stays OFF).
- F with inventory open is still favorites. Manual [E] refill is unchanged.
Cooking auto-drop
- Look at a cooking spit, iron cooking station, stone oven, or beehive (inventory closed) → N toggles auto-drop for that piece (saved on the piece).
- Finished food / honey falls off as a ground drop so auto-store can put it in a matching chest.
- Pair with B auto-fill for hands-off cooking / baking (fire under the stone oven still required to cook).
Kiln / smelter pull filter
- Look at a kiln, multi-input smelter, cooking station, or similar → Alt+E.
- Skills-style list with [+] / [-] toggles.
- Choose which wood / ore / food types may be auto-pulled (e.g. turn Wood OFF, leave Core wood ON).
- Same menu: l1–l9 station link (3×3). Chests with matching
[lN]are preferred; l: none = untagged chests only. - Saved per station (ZDO). Manual use from inventory is not blocked for types you hold yourself; auto-select / chest pull respects the filter.
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 (sprite centers when alone). Alt+E still opens the Name / Amount toggle panel if you prefer.
- Medium / Large: [E] → type menu ([+] / [-]). Pick several types at once. Shift + left click cycles Display Scale (−2…+4, 25% per click) on that board only — icon and count scale as one pair (room for 4-digit totals); category labels stay fixed. Shift + right click toggles Layout Classic ↔ Compact (also per board, saved on the piece). Classic keeps category headers / bands; Compact packs category chips + items in a continuous flow. Hover shows e.g.
Display Scale : +3andLayout : Compact. - Food, Ingredients, and Epic Loot expand for subs.
- Up to 12 categories per Large board (yellow message if you try more).
- Large: category bands with labels on the left and dense item rows; overflow shows + when there are more stacks than fit.
- 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 (5–50 m).
Feed Trough (Hammer)
- Build a Feed Trough (Storage tab) — narrow bed-shaped trough for animal food.
- Open it and put carrots, mushrooms, berries, etc. inside. Hungry tames walk to the trough and eat matching food, like drops on the ground. A small sparkle shows when food is inside.
- Not used by dump, auto-store, craft pull, or Storage Displays.
- Config:
FeedTroughEnabled,FeedTroughRange.
Favorites
- Inventory open → hover item → F.
- Gold tint, ★ badge, tooltip line.
- Skipped by dump and hover-store.
- Local file:
StoreAndCraft.favorites.txt(not server-synced).
Rename / ignore / hide / link chests
- Look at a chest → Alt+E (or Shift+E alt-use) opens rename.
- Ignore and Show on Display use the new on/off toggle buttons (not typing prefixes by hand):
- Ignore on → chest is skipped by dump / auto-store / craft / auto-fill (stored as
[I]). - Ignore + Show on Display → still skipped by dump/store/craft, but counted on Storage Displays (stored as
[H]).
- Ignore on → chest is skipped by dump / auto-store / craft / auto-fill (stored as
- l1–l9 link grid on the same panel → tag the chest for a station link (same colors on chest + station hover).
- Empty renamed chests keep their custom name.
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 (not both).
- Favorites stay put. Sort never moves items into the hotbar (even when
IgnoreHotbaris off).
Multiplayer
- Install on server + all clients, same version.
- Server config sync (
LockConfigdefault on). - 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 | Rename looked-at chest (Ignore / Show on Display toggles + l1–l9) or station pull filter / Small Display options |
| F | Favorite / unfavorite hovered inventory item |
| B | Toggle auto-fill on the station you are looking at (inventory closed) |
| N | Toggle auto-drop on a cooking spit / iron station / stone oven / beehive (inventory closed) |
| Y | Hover an inventory item and press — nearest chest with that item blinks 3× + map ping |
| R | Sort: bag open = inventory only; chest open = that chest only |
| C + place (hammer) | Grab build materials from chests (do not place). Remap: BuildGrabKey |
| Alt + R | Storage Display range (while looking at a display) |
| Shift + Left click | Storage Display: Medium/Large cycle scale (−2…+4, 25%/click, that board only); Small cycle Name+Amount / No name / Icon only |
| Shift + Right click | Storage Display Medium/Large: toggle Layout Classic ↔ Compact (that board only) |
All hotkeys are configurable in the .cfg and stay local (not overwritten by server sync).
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 (host/admin also saves + syncs) |
/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 Dump / Store / Storage / Craft / AutoFill ranges + LockConfig |
/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–500. 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 (no YAML):
BepInEx/config/com.morda.storeandcraft.cfg
| Setting | Meaning |
|---|---|
LockConfig |
true = server owns gameplay values; clients receive them on join |
ModEnabled / StoreEnabled / CraftEnabled |
Feature toggles (StoreEnabled = dump / middle-click / take-stack) |
AutoIntakeEnabled |
Ground items auto-store into matching chests (independent of middle-click) |
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 (off by default) |
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: player → station and player → chests (m). Default 20 |
IntakeInterval |
Seconds between ground-item scans |
Hotkeys (DumpKey, TakeStackKey, FavoriteKey, AutoFillKey, SortKey, …) |
Local only |
Dedicated: edit the .cfg on the server, save — it reloads and syncs. Client gameplay edits are ignored while LockConfig is on.
Install
- Install BepInExPack Valheim.
- Drop
StoreAndCraft.dllintoBepInEx/plugins/StoreAndCraft/(or install via Thunderstore / r2modman). - On dedicated servers: install the same version on the server and every client.
CHANGELOG
Changelog
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)