Source-checkedWeapons, items & crafting

McAutoStore

by McLovin · for Valheim

One key stores your inventory into nearby containers, and dropped items are pulled in when a container already holds them. No item loss.

2.1KDownloads
51d agoLast updated
BepInExLoaders
ThunderstoreSource

About McAutoStore

From Thunderstore

One key stores your inventory into nearby containers, and dropped items are pulled in when a container already holds them. No item loss.

McAutoStore

One key stores your inventory into nearby containers. Dropped items on the ground are pulled in too — but only into a container that already holds that same item.

What it does

Store on keypress. Press . (configurable) and every item in your inventory goes into the nearest container that can take it.

Ground pickup. Items lying near you are moved into containers automatically. The rule is strict on purpose: a container must already hold that item, otherwise the item is left on the ground. Your loot never gets scattered into random chests.

What it does NOT do

Stated up front so nobody installs it expecting something else:

  • No hotkey to store a single hovered item
  • No search command to find where an item ended up
  • No favourite / lock system for slots
  • No per-container YAML rules
  • No ServerSync between server and clients

If you want that full feature set, AzuAutoStore does all of it and is a mature mod.

Configuration

BepInEx/config/joaorodrigues.valheim.mcautostore.cfg

| Option | Default | What it does | |---|---|---| | StoreKey | . | Key that stores your inventory | | Range | 12 | Container search radius, in meters | | OnlyMatchingContainers | true | Only store into a container that already holds that item. With false, any container with free space is used | | SkipHotbar | true | Never store the first inventory row | | SkipEquipped | true | Never store equipped items | | IgnoredItems | Hammer,Hoe,Cultivator,SledgeStagbreaker | Prefab names that are never stored | | ShowMessage | true | Show how many items were stored | | PullFromGround | true | Pull dropped items into containers that already hold them | | GroundRange | 12 | Radius scanned for dropped items, in meters | | GroundScanInterval | 2 | Seconds between ground scans | | GroundMinAgeSeconds | 3 | How long an item must lie on the ground first, so items you drop on purpose are not vacuumed instantly |

Why it does not lose items

This is the hard part of any auto-store mod, and it is worth explaining.

A container's inventory is a local cache. The truth is a serialized blob inside the ZDO, and Container only writes that blob when you own the ZDO:

private void OnContainerChanged()
{
    if (!m_loading && IsOwner()) Save();
}

If a mod writes into a container's inventory without owning it, Save() never runs, the item exists only in local memory, and the container's CheckForChanges() — which ticks every second — reloads the blob over it. If the mod already removed the item from the player, the item is gone.

McAutoStore follows the same protocol the game itself uses in RPC_TakeAllResponse:

  1. nview.ClaimOwnership() — take ownership
  2. ZDOMan.instance.ForceSendZDO(...) — force the latest blob to sync
  3. invalidate m_lastRevision and call Load() — re-read the real state before writing
  4. only then AddItem, and only remove from the player when AddItem returned true

Step 3 is what keeps you from wiping what another player stored seconds earlier.

For ground pickup the same care applies to the item itself: ownership of the dropped item's ZDO is claimed after a matching container is found and before the drop is destroyed, so an item is never destroyed without having landed in a container first.

Multiplayer

Every player needs the mod. It works through ZDO ownership of the container, so it behaves correctly with other players around, but installing it only on the server does nothing.

Respects

  • Wards (m_checkGuardStone + PrivateArea.CheckAccess)
  • Private containers (creator only) and group containers (never)
  • Containers currently open by someone
  • Ships and carts (vehicle layer)

Compatibility

  • Valheim 1.0.12 (network 40)
  • BepInEx 5.4.2350

License

MIT.

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 51d ago.

McAutoStore on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.2.2, released 2026-09-14

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 4 recorded builds of McAutoStore.

Recent builds

BuildReleasedGame versionsLoaders
1.2.22026-09-14n/aBepInEx
1.2.12026-09-14n/aBepInEx
1.2.02026-09-13n/aBepInEx
1.1.02026-09-13n/aBepInEx

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run McAutoStore on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Content”

Weapons, items & crafting

New weapons, gear, items and the recipes to make them.

Compatibility

Game
Valheim
Loaders
BepInEx
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-01Open ↗
  • ✓AuthorMcLovin, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

McAutoStore, answered

Generated from the mod’s own source data.

Which loaders does it support?

BepInEx.

Is it free?

Yes. McAutoStore is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run McAutoStore on a Valheim server.

Deploy in about a minute from $9.99 a month, then add McAutoStore in one click.