Source-checkedPerformance

ToFu Virtual Storage

by Funatic · for DayZ

ToFu Virtual Storage This mod adds some new barrels to DayZ which store items outside the DayZ database to increase server performance. This release is a first beta, so use it accordingly with…

753KDownloads
11 mo agoLast updated
43 MBFile size
Steam WorkshopSource

About ToFu Virtual Storage

From Steam Workshop

ToFu Virtual Storage This mod adds some new barrels to DayZ which store items outside the DayZ database to increase server performance. This release is a first beta, so use it accordingly with…

ToFu Virtual Storage

This mod adds some new barrels to DayZ which store items outside the DayZ database to increase server performance.

This release is a first beta, so use it accordingly with caution. On my live server, virtual storage has been in use for a long time with no significant bugs.

There are 16 different labeled barrels in total. Each barrel has an inventory size of 500 slots. Once a barrel is closed, the contents are saved to a file in the "profiles/ToFuVStorage" folder. You can not attach the barrel to slot. You can transport the barrel if it is closed. You can put it in your inventory if it is closed and empty. Types can be found in the mod folder.

Thanks to inkihh for adding autoclose function!

Advantages:


[list]
[*]Significant performance gain (server FPS) on a server with many bases with many storage containers.
[*]Lag is reduced when approaching a base since the items do not have to be sent to the client.
[*]The server will start faster on a reboot
[/list]

What you should consider:


[list]
[*]The barrels can't store items with special properties (notes, car keys,...). See Blacklist for more info.
[*]By saving the items, they are virtually non-existent for DayZ, accordingly they are no longer taken into account by the CE system (so be careful with items that should be rare or only available in a certain quantity).
[*]Meat will not rot in the barrels when they are closed.
[/list]

This mod might be usefull for you:


[list]
[*]If you run a PvE Server and have lots of players hoarding items.
[*]Have Lag on clients when players drive/fly and approach a base.
[/list]

Blacklist:


[list]
[*]A config file is automatically created in the folder "profiles/ToFuVStorage" at the first start.
[*]By default, the keys of Trader Mod & MuchCarKey, Notes and Vanilla Meat are blacklisted.
[*]If you as admin want to forbid a certain item to save, just add it to the blacklist.
[*]If a certain item from another mod should cause problems, just add it to the blacklist.
[*]Always include the base class tofu_vstorage_barrel in the blacklist to prevent putting barrel into barrel
[/list]

Knows Issues:


[list]
[*]When running Trader Mod from Doc Jones, you need also TraderFixesAndFeatures from Helkhiana
[/list]

New features Mar 2025:


[list]
[*]Sound fix for 1.27
[*]Support for MuchCarKey.
[*]Auto delete of unused storage files at startup.
[*]removed VPP Admintools dependency.
[*]Quantum barrel was removed due to abuse potential
[*]experimental support for RAG_Baseitems
[*]new settings in config:

"DisableVirtualSorageRAG": [
 "only for experimental RAG Base Items Addon ( https://steamcommunity.com/sharedfiles/filedetails/?id=3283198847 )",
 "some_rag_base_item_class_to_not_virtualize"
]
"WhipeItemsOnRestore": [
 "item_classname_that_will_be_wiped_on_restore"
]
"dupe_prevent_seconds": 0 <- allow open/close barrel each x seconds
"dupe_check_startup": 1 <- scanns the map for duped items on ground each restart and prints it to script.log
"remove_duped_barrels": 0 <- will auto delete found duped barrels at startup if above setting is 1
"remove_all_duped_items": 0 <- will auto delete ANY DUPED ITEM on ground at startup (USE CAREFULLY!)

[*]If you like this mod and find it usefull, i would really thank you if you would spend me a coffee at https://www.paypal.com/donate?hosted_button_id=BJU4538MP6Z9W 
[/list]

New features Feb 2023:


[list]
[*]Auto close of barrels at server restart and runtime (times can be set in config).
[*]Auto close will only close the barrel if no player is around.
[*]Personal Quantum (Express) barrel bound to players steamid. Once placed, this Barrel can only be opend / closed by the player who placed the barrel. Who ownes that barrel (and administrators set in config) can unclaim it. People can place multible barrels and when opened each barrel will load personal content. Due to prevent dupelication of items, once a barrel is opend no other barrel owned by the player will load the content.
WARNING, the mechanism is: open -> load content -> delete personal safe file; close -> save content to personal file.
Flowing scenario will lead to item loss: Two Quantum barrels A & B owned by same player. Open A (load, delete file) -> open B (nothing loaded, barrel B is empty) -> close A (content safed to file) -> close B (empty content saved to file, items lost)
[*]If you like this mod and find it usefull, i would really thank you if you would spend me a coffee at https://www.paypal.com/donate?hosted_button_id=BJU4538MP6Z9W 
[/list]

!!! Issues with barrels not covered by a flag?

change your types to this (example for tofu_vstorage_barrel_ammo):


<type name="tofu_vstorage_barrel_ammo">
 <nominal>0</nominal>
 <lifetime>3888000</lifetime>
 <restock>0</restock>
 <min>0</min>
 <quantmin>-1</quantmin>
 <quantmax>-1</quantmax>
 <cost>100</cost>
 <flags count_in_cargo="1" count_in_hoarder="0" count_in_map="1" count_in_player="1" crafted="0" deloot="0"/>
 <category name="tools"/>
 <tag name="floor"/>
 <usage name="Industrial"/>
 <usage name="Farm"/>
</type>

Repacking or reuploading to the Steam Workshop is NOT ALLOWED. DO NOT ASK FOR PERMISSION, YOU WILL NOT GET ONE.

This item is not authorized for posting on Steam, except under the Steam account https://steamcommunity.com/profiles/76561198009118169

Highlights

From source data

Footprint

A 43 MB download, rated a light load on a server.

Last update

Its author last shipped an update 11 mo ago.

ToFu Virtual Storage on Nxeon

From our catalogue
One-click install
Not available. One-click install isn't available for this game's mods yet. Download it and upload it to your server in Files.
Server load
light
Smallest plan we suggest
DayZ — 6 GB (6 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2025-11-23, released 2025-11-23, 43 MB

Game versions by loader

LoaderGame versionsNewest
Workshop

From 1 recorded build of ToFu Virtual Storage.

Dependencies

  • Required: CF

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

Run ToFu Virtual Storage on a DayZ server

Deploy a server above, then upload the file in Files.

What kind of mod it is

From the catalog
Listed on Steam Workshop as “Workshop”

Performance

Makes the game or server run faster or lighter without changing how it plays.

Compatibility

Game
DayZ
File size
43 MB

Verified at the source

  • ✓Steam WorkshopOfficial listing, checked 2026-10-10Open ↗
  • ✓AuthorFunatic, as published on Steam Workshop
  • ✓LicenseNot published by the sourceFree

ToFu Virtual Storage, answered

Generated from the mod’s own source data.

Is it free?

Yes. ToFu Virtual Storage is free to download from Steam Workshop.

How do I add it to my Nxeon server?

One-click install isn't available for this game's mods yet. Download ToFu Virtual Storage from Steam Workshop and upload it to your Nxeon DayZ server in Files.

NxLabs

Run ToFu Virtual Storage on a DayZ server.

Deploy in about a minute from $10.49 a month, then upload ToFu Virtual Storage in Files.