Mods / Inventory Transfer

Tags:
Utility Tools
Author:
Feyd
Side:
Server
Created:
Feb 25th at 1:21 AM
Last modified:
Mar 20th at 4:51 PM
Downloads:
279
Follow Unfollow 50
Latest release (for Vintage Story 1.21.5 and 1.21.6, potentially outdated):
InventoryTransfer.zip  1-click install
For testers (for Vintage Story 1.22.0-rc.3):
InventoryTransfer.zip  1-click install

 

Inventory Transfer

Take your loot to a new world.

Inventory Transfer lets you export items from one Vintage Story world and import them into another. Whether you're migrating to a fresh seed, moving to a friend's server, or just want to carry your hard-earned gear forward — this mod handles it.

How It Works

Exporting (/exportinv): Collects items from your player inventory (hotbar, character slots, bags and their contents) and all containers (chests, crates, etc.) within a 30-block radius of your position. The data is saved to a config file that persists outside the world save.

Importing (/importinv): Reads the exported data and places items directly into your inventory. If your inventory fills up, the mod automatically spawns overflow chests at your feet and fills those instead. After import, you get a full audit report showing how many items landed in your pockets, how many went to overflow chests, and whether anything failed to transfer.

What Gets Exported

Most items and blocks are exported, including tools, weapons, armor, food, ingots, ores, gems, animal parts, dyes, clothing, bags (and their contents), chests, torches, molds, and any other items or blocks not on the filter list below.

Item attributes are preserved — tool durability, food freshness, custom names, and other metadata all carry over.

What Gets Filtered Out

To keep exports clean and focused on valuables, the following common bulk blocks are automatically skipped:

  • Stone (all stone-material blocks)
  • Soil/Dirt (all soil-material blocks)
  • Gravel (all gravel-material blocks)
  • Sand (all sand-material blocks)
  • Cobblestone
  • Plaster
  • Planks
  • Logs

Exceptions: Chests, torches, and molds are always exported even if they would otherwise match a filtered material.

Important Notes

  • Items must be in containers or on your person. The export scans your player inventory and any chest/crate within 30 blocks. Items dropped on the ground as entities are not captured — make sure everything is stored in a container or in your inventory before exporting.
  • Items from other mods will only import successfully if the destination world also has those mods installed. Unrecognized item codes will appear in the audit report as missing.
  • Server-side only. Both commands require chat privileges.
  • The export file (feyd_inventory_transfer.json) is saved to your ModConfig folder and can be manually copied between installations if needed.

Commands

Command Description
/exportinv Exports your inventory + nearby containers (30 block radius)
/importinv Imports from the last export, with full audit report

 

Disclaimer

This mod was vibe-coded by a hobbyist. While it works great in my testing, I'm not a professional developer — Please back up your worlds in case something goes sideways and use at your own risk!

TEST this mod in a new world BEFORE deleting your source world! From my testing the mod is consistent and reliable but there may be items that you thought would transfer that do not. 

I will answer questions and resolve bugs as best I can. I made this mod to use myself and thought I'd share it with others.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.1.0 inventorytransfer 46 Mar 20th at 4:51 PM InventoryTransfer.zip 1-click install

Updated for .rc-3.

1.0.0 inventorytransfer 233 Feb 25th at 2:05 AM Empty InventoryTransfer.zip 1-click install

10 Comments (oldest first | newest first) (threaded | flat)

Feyd , Mar 21st at 12:18 PM

Wulf_Hymir I plan to setup a 1.22rc3 environment this weekend for testing. I'll update the changes once I've confirmed.

Wulf_Hymir, Mar 21st at 3:04 AM

will this work for import/export between game versions too? for say the jump from 1.21.5 to the upcoming 1.22.X

Feyd , Mar 20th at 4:52 PM

DanBean please test  version 1.1.0 and let me know.

DanBean, Mar 18th at 5:18 PM (modified Mar 18th at 5:18 PM)

Broken in 1.22... presumably due to the Pos/ServerPos change ?
"Exception: Field not found: 'Vintagestory.API.Common.Entities.Entity.Pos'. at InventoryTransfer.TransferSystem.OnCmdImport(TextCommandCallingArgs args)"
seems like a straightforward fix

OddSivren, Mar 14th at 6:55 AM

Feyd Hey it was worth a Shot xD

 

Feyd , Mar 13th at 2:50 PM

OddSivren that's great idea but way beyond the scope of this mod, I'm afraid. If I didn't have a full time job and couldn't dedicate more time, maybe.

OddSivren, Mar 8th at 6:51 AM

This is great! Would it be possable if someone made a link of server networks just like the minecraft mod where you can walk through a portal or do a Command and just have your items come with you with no extra Hassel. Could that work with this mod?

 

Feyd , Feb 26th at 12:00 AM

I'm glad you both are enjoying the mod. It's really nice to keep your hard earned crafts and loot and take them to a brand new world. Cheers!

Arkhimedes, Feb 25th at 10:25 PM

This is such a great idea for a mod! Some friends of mine and I have been talking about making a new world but weren't too keen on starting over from the very beginning...now we don't have to! Thank You!

MooseCampbell, Feb 25th at 2:36 AM

Well this is nifty