
Vintage Story Mod DB · Vintage Story mod
No Offline Container Food Spoil
WARNING: MAKE A BACKUP OF YOUR WORLD BEFORE ADDING THIS MOD. IF YOU ADD THIS MOD AFTER THE FACT, OR UPDATE TO 2.0, PLEASE DESTROY AND REPLACE CHESTS THAT YOU OWN. SERVER OWNERS, INSTRUCT YOUR USERS TO DO THE SAME. This mod does not prevent spoilage in a play
Quick answer
Which No Offline Container Food Spoil release should I use?
No Offline Container Food Spoil 2.0.3 targets 1.21.0-pre.1, 1.21.0-pre.2, 1.21.0-pre.3. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is No Offline Container Food Spoil required on the client, server, or both?
It must be installed on the client. Installation on the dedicated server is optional.
This release supports both sides, but the source does not require it on the server.
What else does No Offline Container Food Spoil 2.0.3 need?
2.0.3. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add No Offline Container Food Spoil without breaking your instance.
Built for No Offline Container Food Spoil 2.0.3. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.0.3. It targets 1.21.0-pre.1, 1.21.0-pre.2, 1.21.0-pre.3; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
It must be installed on the client. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 2.0.3. It opens that exact file at the source.
About this project
What does No Offline Container Food Spoil add?
WARNING:
MAKE A BACKUP OF YOUR WORLD BEFORE ADDING THIS MOD. IF YOU ADD THIS MOD AFTER THE FACT, OR UPDATE TO 2.0, PLEASE DESTROY AND REPLACE CHESTS THAT YOU OWN. SERVER OWNERS, INSTRUCT YOUR USERS TO DO THE SAME.
This mod does not prevent spoilage in a player's inventory. There is an existing mod for this made by Wiltoga, and I really don't know how to make a good-enough solution that wouldn't just copy their work. Both mods should be compatible with each other.
This project has been very difficult for me, as I am not a programmer, and the logic that had to be implemented for this to work was very difficult for me to comprehend and work with. I am sorry if it isn't working for you or your mods, although I have tried to cover every edge case in version 2.0. I am exhausted from this project, especially becausing testing this takes so much time, and probably won't continue to work on it. If you find a problem, and want to upload a fix, please submit a pull request and I will try to find time to test it.
Overview
This mod targets an issue with food in Vintage Story multiplayer. In the base game, if a player leaves food in a container and then leaves the server, it will gradually spoil over time. Players that spend large amounts of time on servers can negatively affect other player's experience as by the time they log back on, everything they have will be turned into rot.
How it works
Containers blocks have custom behavior attached to them that tracks who placed the block, as well as who last opened it. If the owner of the block is offline, the "transition" rate for that container will be changed to 0.
If a player interacts with this container, the food in it will act like the owner never went offline and spoil like normal until that player leaves, or the owner comes back online and interacts with the chest. This is done to avoid players abusing this mechanic.
Credit
This was not my idea. I knew this was a problem and was looking for a solution, and credit for this idea goes fully to Tabulius. The post I found their idea on is here.
Project description from Vintage Story Mod DB.
Pick your setup
No Offline Container Food Spoil releases for each Vintage Story version.
Choose the version and loader you play, then open the matching release.
1.22.1
1 loader build1.22.0-rc.10
1 loader build1.22.0-rc.9
1 loader build1.22.0-rc.8
1 loader build1.22.0-rc.7
1 loader build1.22.0-rc.6
1 loader build1.22.0-rc.5
1 loader build1.22.0-rc.4
1 loader build1.22.0-rc.3
1 loader build1.22.0-rc.2
1 loader build1.22.0-rc.1
1 loader buildShowing the newest 12 of 42 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
No Offline Container Food Spoil versions and loaders
2.0.3
noofflinecontainerfoodspoil_2.0.3.zip
1 Jul 2026
2.0.2
noofflinecontainerfoodspoil_2.0.2.zip
7 May 2026
2.0.0
noofflinecontainerfoodspoil_2.0.0.zip
19 Apr 2026
1.0.3
noofflinecontainerfoodspoil_1.0.3.zip
25 Jan 2026
1.0.2
noofflinecontainerfoodspoil_1.0.2.zip
10 Jan 2026
Looking for an older file? The official Vintage Story Mod DB project page is in Resources.