You are viewing a potentially older version of this package. View all versions.
ComputerMods-Computer_AutoLootbag-0.0.27 icon

Computer AutoLootbag

Loot from kills, trees, rocks and picking goes into your personal loot bag (key J) instead of onto the ground. Split evenly between players nearby; every player needs the mod.

Date uploaded 3 days ago
Version 0.0.27
Download link ComputerMods-Computer_AutoLootbag-0.0.27.zip
Downloads 38
Dependency string ComputerMods-Computer_AutoLootbag-0.0.27

This mod requires the following mods to function

ValheimModding-Jotunn-2.30.1 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.1

README

Bug reports, feedback and support

For bugs, issues or questions, or if you'd like to support my mods, join my Discord:

https://discord.gg/sBdp6uNFyh


Computer Auto Lootbag

Send drops from kills, trees, rocks, breakables and picking into personal loot bags, share eligible loot with nearby players, and take out only what you need.

Version 0.0.27. Requires BepInEx and Jotunn 2.30.1+. Install matching versions on the server and every player.

Open and manage the bag

  • Press J by default, or use Loot bag below the native inventory. The inventory button docks the window beneath the inventory/chest. The bag key is rebindable.
  • Take out 1 / 10 / a stack / all, or Take all. Items that cannot fit remain in the bag.
  • When a row does not fit your inventory, the bag offers the rest to a nearby chest you hold or a Magic Storage / Lite Heart you can use (also one held by another player or the server). Nothing moves until you confirm; Heart items wait safely until the Heart confirms, or come back to the bag.
  • The ON/OFF switch controls new bag collection, preserving stored contents. OFF removes you from ordinary bag sharing: other eligible bag-on players receive those ordinary drops. If no eligible bag remains, the drops stay on the ground. One-per-player boss items still reserve ground delivery for players without a bag.
  • Delete removes a row after confirmation; never-expire items ask twice. The configured Delete key acts on the hovered row.
  • With compatible Alchemy, eligible rows show Turn to Azoth (yield) beside Delete; Turn all into Azoth (total) sits in the bottom row.

Compact item rows retain the item, amount, expiry, take controls and actions without a separate conversion bar.

Capacity, sharing and expiry

Default capacity is 1,000 per item. New ordinary overflow goes onto the ground. Each delivery has its own 60 minutes of play-time; only the expiring batch is removed. Trophies, boss/quest items and nonstacking rare items do not expire.

The final five minutes show a persistent red countdown for the next expiring batch, respecting personal warnings and HUD/window visibility. Later deliveries retain their own timers.

Loot is split evenly among eligible nearby players, 100 m by default; odd pieces rotate. If nobody is in range, the nearest eligible bag receives it. Share loot: off (the saved Do not share preference) keeps attributed kills/harvesting/picking for you while still allowing incoming shares. Anonymous API drops and legacy unattributed sources retain normal sharing. Boss one-per-player rewards remain separate.

Remote shares use durable one-time receipts. A disconnected recipient's share waits and retries when both games can communicate again, including after reconnect/relog. Unknown recipient items are returned to ground delivery instead of silently discarded. Large ground spills drain over several frames; closing the world before that queue drains remains a limitation.

Death and sealed recovery

By default the bag stays at your body with its timers paused. Use (E by default) performs normal own-corpse recovery and restores your own Computer bag. Native/Azu inventory rules still apply. Without a tombstone, return to the marked death spot.

If the recovered bag cannot merge into your active cap, the whole bag becomes Recovered Computer Lootbag in J. Make room and choose Unseal; no recovery overflow is spilled onto the floor.

For another player's corpse, hold Shift + your native Use key to open it. Plain Use shows a hint and takes nothing. To carry their Computer bag, deliberately click Take Computer Lootbag inside the opened corpse. Initial pickup requires the owner online. J holds it sealed for the original owner, with frozen timers and no ordinary inventory-slot cost.

Use Return to owner while the owner is online/alive in the original world. The owner can Recall bag if the carrier lost the receipt. A full owner bag keeps the return sealed; a carrier cannot withdraw it as their own loot. Server settings can disable leaving new bags on death without deleting older recovery records.

Optional Alchemy conversion

With Computer Alchemy 0.0.55+ / checked API v4, explicitly click a row's Turn to Azoth or the footer's Turn all into Azoth. Opening J never converts anything.

Only eligible whole batches from the original active bag are inputs. Sealed/recovery bags, player inventory, chests, worn items and new pickups outside the plan are excluded. Alchemy owns values, exclusions and XP. Full Azoth output must fit your inventory. Refused/stale batches stop with an accurate partial-success summary; uncertain exchanges are held for inspection instead of replayed.

Settings and compatibility

Server settings control capture sources, sharing range, item cap, expiry, exclusions and death retention. Personal settings control bag use/key, outgoing sharing, Delete key, loot feed and expiry warnings. The bag saves with your character; native independent world/character rollback limits remain.

Compatible Drop More Loot/Instant Monster Drop output can be captured. AzuCraftyBoxes does not use bag contents for crafting: withdraw them first. Optional Computer QOL supplies compatible styling, messages and inventory-button placement. Ground items you throw, chests, player-built objects and ordinary tombstone inventories are not automatically swept into the bag.

Live UI at different scales, corpse/foreign-bag permissions, multiplayer delivery, relog/save recovery, large spills and checked Alchemy transactions remain gameplay checks.

See the package CHANGELOG and listing for released version notes.

CHANGELOG

Changelog

0.0.27

  • J no longer stays ignored after a hidden text field kept focus.
  • When your inventory is full, a nearby Magic Storage or Lite Heart can take the rest, also one held by another player or the server. The items wait safely until the Heart confirms.

0.0.26

  • The inventory Loot bag button and switch sit behind Split Stack while it is open.
  • When a selected row cannot fit in your inventory, you can confirm sending the remainder that fits to a nearby accessible chest or a Magic Storage Heart held by your game.

0.0.25

  • Clearer log lines for shared loot, waiting shares, corpse bags, taking items out and full bags. No gameplay change.
  • Diagnostic lines moved out of the console into the log file.

0.0.24

  • The Loot bag button and switch under the inventory stay visible while you hover or drag items; item tooltips now show on top of them.
  • Removed an invisible click layer over those buttons that could swallow item drop clicks.

0.0.23

  • Keep Lootbag docking and its inventory button off native panels hidden by another overlay. Existing typing/modal protections remain. Storage releases its own input capture separately.

0.0.22

  • Loot bag rows are compact again: one line per item, with amount and time left next to the name.
  • The Turn to Azoth button is smaller and sits beside Delete. Conversion itself is unchanged.
  • Turn all into Azoth moved into the bottom row, so one more item shows.

0.0.21

  • Friends' loot shares now arrive exactly once: no lost shares, no doubles after a lag spike or disconnect.
  • If a friend leaves before their share arrives, it waits and reaches their bag when you are both back.
  • Very large overflow (bag full) is now placed on the ground fully instead of being cut off.
  • All players need 0.0.21.

0.0.20

  • Each eligible loot row now has Turn to Azoth (yield) beside Delete. Converts that row only; the redundant selected-item footer button is removed.
  • Bottom Turn all into Azoth shows the exact eligible total from the active lootbag. Whole-batch leftovers and checked transaction protections remain.
  • A persistent red warning in the loot notification area counts down the final five minutes of the next expiring batch, at three times the existing warning text size. Later deliveries keep their own timers.

0.0.19

  • Added Turn all into Azoth in J: convert eligible active-bag loot in one action, keep whole-batch leftovers and excluded items, and show the total Azoth/Alchemy XP. Requires Alchemy0.0.55.
  • Single-row conversion remains; unavailable actions explain why. Full output inventory stops safely without taking other loot.

0.0.18

  • New yellow "Turn to Azoth" button in the bag (with Computer Alchemy on the server): select an item, see the Azoth you get, convert it right there. Gives Alchemy XP like the table.

0.0.17

  • Sealbreaker fragments from the glass jars in Mistlands infested mines now go into the bag.

0.0.16

  • Share loot off now also covers what you pick (crops, berries, mushrooms): it all goes to you.

0.0.15

  • Fixed thin lines across the Loot bag buttons and rows at some screen sizes.

0.0.14

  • Loot bag window in the shared Computer look: the shared colours and window size, rounded corners, "Loot bag" title, a Close button at the bottom.
  • On/off are now gold switches; "Do not share" is shown as "Share loot: on / off" (same setting).

0.0.13

  • A share for a player who disconnects at that moment now falls on the ground where the loot dropped instead of being lost.
  • Less work every frame while the inventory is open.

0.0.12

  • Added Do not share in the lootbag window: keep attributed kill/harvest loot for yourself while still receiving others’ shares. Boss per-player rewards stay unchanged.

0.0.11

  • Your tombstone collects the Computer Lootbag even when the active bag is full: excess stays as a recovered sealed bag in J with paused timers instead of spilling onto the floor.

  • Use (E by default) recovers your own corpse normally; hold Shift + Use to open someone else's. Plain Use shows the current key hint without opening or taking.

  • Friend sealed bag pickup still needs its explicit button inside the opened corpse.

0.0.10

  • Restored your own corpse's automatic Take All and Computer Lootbag recovery; native/Azu equipment and quickslot restoration run normally again.
  • Taking a friend's sealed bag still needs the explicit button; full bags keep every piece at the corpse.
  • Lootbag footer follows QOL's safe placement and hides with its click blocker when no safe row fits.

0.0.9

  • An explicit Take Computer Lootbag button in the opened corpse inventory lets a friend carry a sealed bag for its original owner; opening a corpse no longer recovers it.
  • Return sealed bags from the loot bag window when their owner is online; full bags keep every piece sealed.

0.0.8

  • Boss trophies and boss key items: exactly one for each player nearby, straight into their bag. Never two.

0.0.7

  • The bag now holds up to 1,000 of each item (was 10,000), for balance. Loot already in your bag stays. Servers that set their own limit keep it.

0.0.6

  • When you die, your loot bag stays at your body. Loot your tombstone to get it back (timers pause meanwhile; a map pin shows the place). Servers can turn this off.

0.0.5

  • Bigger "Loot bag" and ON / OFF buttons under the inventory, in step with Computer QOL's button (update QOL too).

0.0.4

  • Ready for Computer Hardcore Mode handing its Packleader and boss loot to the bag (needs a Hardcore update).

0.0.3

  • Fixed: loot of creatures that died more than 100 m from every player (monsters killing each other) stayed on the ground. The nearest player's bag takes it now.
  • Fixed: loot of kills made in god, fly or ghost mode or with a spawned weapon stayed on the ground. It goes into the bag now.
  • Loot is never doubled: each drop is either in a bag or on the ground. A log line per kill shows which.

0.0.2

  • Opened from the inventory, the loot bag now sits under the inventory (like a chest) instead of over the equipment and crafting panels.

0.0.1

  • First release: loot from kills, trees, rocks and picking goes into your personal loot bag (key J).
  • Up to 10,000 of each item; each delivery stays one hour of play time; rare items never expire.
  • Loot is split evenly between the players nearby.
  • Take out 1, 10, a stack or all of an item, or delete it from the bag (asks first).
  • Open the bag with J or from the inventory (TAB); switch it ON / OFF right there.