Safe Item Move

Updated a week ago

Join our Discord: discord.gg/haSwxPa9GU to report bugs, request features or other mods, or give feedback.


← All mods in Inventory and QoL

Safe Item Move

Switch: F1 → 0 - Sub-mods → Safe Item Move (on by default).

When a stack is dropped onto a slot holding a different item, Valheim removes the dragged stack first, moves the other item away, and only then adds the dragged stack to the slot. If anything interferes in between (a full inventory, a mod refusing the slot), the dragged stack is gone without an error.

Features

  • Counts the items involved before and after every drag and drop in your inventory and backpacks.
  • Anything that vanished is given back (to your inventory, or dropped at your feet if there is no room).
  • Writes what happened to the BepInEx log, so the cause can be found.
  • Moves into or out of world chests are only logged (they can finish later over the network and must not be duplicated).
  • No phantom items: Valheim keeps showing the last chest in the container panel after the inventory closes and only updates it a frame after it opens again, so the opening briefly showed that chest's items (in your backpack panel, or in the next chest). The panel now shows the right contents from the first frame.
  • No accidental Place stacks: holding E on a chest opened it, put every stack you carry of an item the chest already holds into it and closed it again. Now holding E just opens the chest, and its hover text no longer says "(Hold to stack)". The Place stacks button in the chest window still works.
  • Place stacks leaves your hotbar alone: the game only skipped equipped items, so a spare tool or a stack on the hotbar went into the chest.

Notes

  • Client-side.

Settings (F1)

In F1 these are under Safe Item Move - ..., below the switches.

General

Setting Default What it does
Hold E to stack off Holding E on a chest puts every stack you carry of an item the chest already holds into it, and closes the chest again (the game's own hold). Off: holding E just opens the chest. The Place stacks button still works.
Place stacks keeps the hotbar on Place stacks in a chest window never takes what lies on your hotbar (the top row of your inventory).