Description
Introducing the Highly-Anticipated Expansion of the CraftFromContainers Mod!
With this mod, the Steel Wall Cabinet now boasts the same functionality as CraftFromContainers, allowing you to access and craft using items stored inside. But that’s not all—this mod also enables seamless sharing of storage access within party groups, enhancing your cooperative gameplay experience.
New Feature: Ownership and Range Check
We have introduced a feature that checks both the ownership of land claim blocks and the proximity of the player before allowing access to containers for crafting or upgrading. If the player is not the owner or the object (such as Writable Crates or Secure Loot Containers) is outside the allowed range, the following messages will be displayed:
If the container is locked:
“Crafting or Upgrade is not allowed as the WritableCrate is Locked.”
“Crafting or Upgrade is not allowed as the SteelWallCabinetSecure is Locked.”
If the player is not the owner or out of range:
“The owner of the land claim block is not or is out of range.”
This new functionality ensures that only the owner within a defined range can interact with the relevant storage containers or secure loot containers. Unauthorized players, or those too far away, will receive the appropriate warning, enhancing the security and control of crafting operations.
Don’t miss out on this essential upgrade for your 7 Days to Die gameplay—build, craft, and conquer like never before!
Configuration
{
"modEnabled": true,
"isDebug": true,
"isServer": false,
"isClient": true,
"enableForRepairAndUpgrade": true,
"partyEnabled": false,
"lockable": true,
"anyCrate": false,
"disableNotifications": false,
"landClaimWithLock": false,
"range": -1.0,
"requiredItem": "resourceWood", <NEW>
"requiredItemAmount": 1 <NEW>
}
Description
modEnabled: must be enabled
isDebug: Console logs for crafting, repairs, upgrades, etc.
isServer: Client as server
isClient: Client/Single play (No mod on server)
enableForRepairAndUpgrade: enable/disable repair/upgrade
partyEnabled: enable/disable when playing in a party
lockable: lock functionality for container
anyCrate: supports containers that can be used as storage (e.g. SteelWallCabinetSecure)
disableNotifications: notification when out of range of container/land claim block
landClaimWithLock: ability to lock a container outside the range of a land claim block when a land claim block is placed
range: range (distance) that can be obtained without opening the container
I’ve created a version of the mod that works with crates defined in blocks.xml with the properties and. This version is called CraftFromContainersPlus (AnyCrate).
If you are using crates added by other mods, make sure those crates have the above properties to work properly with this mod.
We have made adjustments and improvements to the “CraftFromContainerPlus(AnyCrate)” and are now offering Version 2. Please choose the version that works best for you. Both versions are functional, but we recommend using the updated version for better performance and compatibility.
CraftFromContainerPlus(AnyCrate): Original version.
CraftFromContainerPlus(AnyCrate)V2: Improved version with added compatibility and adjustments.
We suggest using this version for a smoother experience.
Both versions are available for download. Choose the one that suits your needs!
Important!!
Craft from Container Plus (with LandClaim and Range Check) is, as the name suggests, an enhanced version of Craft from Container.
Next, Craft from Container Plus (Lockable) adds a container locking feature to the above version.
Finally, Craft from Container Plus (AnyCrate), also known as the AnyCrate version, combines the features of the previous two versions and supports both regular containers and containers of type SecureLootContainer.
The AnyCrate version is a more stable mod, and we highly recommend using this version. In fact, future updates will focus solely on the AnyCrate version. You can find the config.json file in the mod folder; please don’t forget to set modEnabled: true.
Without this setting, the mod will not function properly.
== If any issues arise, please let me know. ==
Changelogs
Corrective Action
- (new) [HOTFIX] Update. Reviewed the codes of party members.
- [HOTFIX] Version update. Does not work if the required number of required resource items are not in the container. Added to config.json file.
- [HOTFIX] Version update. Game version 2.0 compatible. If there are any detailed problems, we are waiting for feedback.
- [HOTFIX] Version update. We have confirmed that it functions correctly. Thanks for your help with feedback.
- The [HOTFIX] version has been modified. Feedback is welcome. We appreciate your cooperation.
- This version [HOTFIX] is a corrective action for the game version upgrade.This is a temporary fix and we would appreciate your cooperation with your feedback.
Previous Updates
Version 1.3.0.13
The issue where a NullReferenceException occurred during block repairs has been addressed with improved null checks. These improvements help prevent errors when accessing item data during repair operations.
However, please note that compatibility with certain modded blocks may still be limited. This enhancement has been tested mainly with vanilla blocks, and additional adjustments may be necessary for blocks introduced by other mods.
Version 1.3.0.12
The previous version was improved and reviewed.
Version 1.3.0.11
Improvements have been made to the behavior, including the NullReferenceException that occurred during repairs.
Version 1.3.0.10
Fixed Material Count Display and Consumption Bug
- Fixed an issue where crafting stations showed twice the actual number of available materials.
- Resolved a bug that could consume more materials than required during crafting.
- Materials from nearby containers are now correctly restored when crafting is canceled.
- Improved stability when using container-based crafting.
This update ensures accurate material tracking and safer crafting.
Thanks to those who reported the issue.
Version 1.3.0.9
In this update, we have revised the container locking functionality.
We sincerely apologize for a critical oversight in the recently released Version 1.3.0.9. Although the version number remains unchanged, we strongly recommend all users who previously downloaded this version to re-download the software immediately.
The current download link has been reverted to the previous stable build while we prioritize improvements to the locking mechanism. Rest assured, no new features or changes have been introduced in this re-release.
Version 1.3.0.8
This update fixes a red curtain error that was found to cause red curtain errors when some resource items, or even resource items when used with other mods, could not be retrieved.
Version 1.3.0.7
This update changes the range setting in the configuration file to the server’s range setting if the mod is used as a server, the client connects and the client’s range setting is different from the server’s range setting.
Version 1.3.0.6
This version update is a lightweight version that prevents the effects of lag caused by mods.
Version 1.3.0.5
Problem reported in feedback fixed. Improved range setting in the configuration file.
Version 1.3.0.4
I made modifications to the party members. I performed a minor update.
Version 1.3.0.3
When crafting, upgrading or repairing, the number of remaining items in the container can now be added and displayed in the UI.
Version 1.3.0.2
The entire mod was overhauled in a review.
Version 1.3.0.1
Thank you for your very long patience.We have fixed the feedback issue. This should now allow the item to be repaired. Best regards.
Version 1.3.0.0
The display of the number of stacks in the craft window has been corrected so that the display, which had been “0/x”, is now displayed correctly.
Version 1.2.0.2720
Infinite craft corrective action, other fixes
Version 1.2.0.2719
Added a new setting to ensure that land claim blocks are locked about out-of-range containers by being placed.
Version 1.2.0.2718
Container lock function repair.
Version 1.2.0.2717
Correction of careless errors in [[Version 1.2.0.2716]].
Version 1.2.0.2716
New functions 1. isServer and 2. isClient have been added to the configuration file (config.json).
These functions enable the server mod if isServer is set to true.
If isClient is set to true, the server will disable the mod if it does not exist.
isClient is a setting that allows mods to function only in client single player.
Version 1.2.0.2715
Duplication bug fix.Immediate container information update when materials are consumed for crafting etc.
Version 1.2.0.2714
Fixed container locking functionality.
Version 1.2.0.2713
Fixed that if a container is destroyed and unlocked, our mod will not work if there are items in the container.
Version 1.2.0.2712
The logic of the party member conditions was reviewed.
Version 1.2.0.2711
Significant changes and repairs to CraftFromContainerPlus (AnyCrate) (feedback content).
Version 1.2.0.2710
Fixes for duplicate bugs.
Improvements to AnyCrate logic.
Fixed in anticipation of the possibility that a block might not be upgraded because the upgrade action count was not completed and the next block was upgraded even though it should have been upgraded.
Bug reports in the feedback were modified due to unstable behaviour.
In response to feedback, a setting to hide notification messages has been added. It is disableNotifications, set to true or false.
Revised container locking logic.
We apologise for the crashes and bugs that have forced the game to be forced to close. We have decided to make this a single CraftFromContainerPlus (AnyCrate) version. We look forward to your thoughts and feedback. Best regards.
Craft from Container Plus (with LandClaim and Range Check)
Craft from Container Plus (Lockable)
‘Craft from Container Plus (AnyCrate)’ has been overhauled. Duplicate bugs and bugs have been fixed.
Fixed dupe bug. (Craft from Container Plus (AnyCrate))
The mod has now been modified to be compatible with 1.2.Fixed a message bug and a container recognition bug. A container integrity check had been included, but this logic has been discontinued. And Craft from Container Plus (AnyCrate) Original and Craft from Container Plus (AnyCrate) V2 were available, but were combined into one and made compatible with game version 1.2 (b27).
Improved Code to Prevent Crashes from Large Storage Data
We’ve made important updates to our mod to prevent crashes caused by handling large amounts of storage data. Previously, the mod could crash when trying to process large amounts of data, but with these improvements, it now works smoothly even with large amounts of data.
What We Changed:
Better Handling of Large Data:
We have made changes to the way the mod handles and deletes data. Now the mod can handle large amounts of memory more efficiently without using too much memory or crashing.
Improved Performance:
We have reduced the number of checks the mod has to perform on the data. This makes the mod run faster, especially when handling a lot of items.
Stability:
We’ve improved the overall stability of the mod by making sure that data updates happen safely and smoothly. This prevents crashes or slowdowns even when there’s a lot of data being added or changed.
We’re committed to making the mod more stable and easier to use. With these updates, you’ll experience fewer crashes and better performance, even with large amounts of data. We’ll continue to improve the mod and welcome any feedback from the community.
Download
DOWNLOAD Craft From Container Plus [HOTFIX] (51 KB)
DOWNLOAD Craft from Container Plus (AnyCrate) (48 KB)
Credits: llmonmonll, aedenthorn
If you have any questions or have any problems/bugs, please use the support link (Discord, Forum Topic, GitHub Issues, etc.) in the post. If there is no support link in the post, please use the comments section.
Every time i access the workbench all locked chests get unlocked. Is this a bug ore a setting i have to change?
Does that happen even if I change “lockable”: true, in the config.json file to false?
No mention that EAC needs to be disabled
Config setup for server/client is also very weird
We have some little trouble with this mod
sometimes we cant grab our stuff out of our storage for exemple crafting food so we have to pick it manualy and the other is if we can craft on station with or without taking materials out of storage we multiplier sometimes materials like beef water stone or something else depent on what we crafting goes in stacks of 65k
but we dont get any error issues in the log folder
same. and now o i lose some items when i quick swap them from my inventory in the crates. like i swap 12 bones to an 190 stack and than all are gone
Had to stop using it breaks my game every time.
Error : collection was modified enumeration may not execute
I made a fresh install and now it works, must have been a mod that’s conflicting maybe.
Can I use this mod in my existing save? Also, is it necessary for both the server and client side to download it? Thank you.
so it recognizes the first chest I put down- even after upgrading to max, but every single other storage chest it doesnt pull from. The initial chest is even slightly further from my workstations. Its the same exact vanilla box as the first- just wont pull from any but the first.
Not sure what is wrong. I used the hotfix after having the base mod installed, it overwrote 4 files and now all boxes are only pulled from if they have at least 1 wood in them.
Did I install incorrectly? Thanks in advance for you hard work.
I’m having the same problem and this comment helped me figure out that I can at least fix it by just putting a piece of wood in every storage…. Weird bug lol
If it helps fix it, the log is full of “Required item ‘resourceWood’ found with sufficient count: 1”, or before I put wood in all of my storages, “insufficient count”. It has one entry for each storage container I have placed down
Getting this same thing. If I put at least 1 wood in each chest it pulls just fine….but if they don’t have wood it doesn’t or doesn’t show the full amount of resources….
For some reason it is only letting me craft from all boxes. I think it is only pulling from boxes i have placed and not ones my friends have. I have tried breaking my land claim block with no change. I have the party config set to True as well and server set to True.
not all that is a typo. I meant only my boxes I placed.
At first attempt, I was able to upgrade a block from frame to wood! Works for me now. Thanks a ton
I like the Idea of these type mods. I have used the original a few alphas ago. I would like each box to require an Item to be made for them to work. maybe requires 1 steel and some other things. Just so it takes a little bit to get it started. maybe like a broadcasting device. Thanks for your work
So Far … I’m not having any issues with it in v 2.0 (b295) and running atm 35 others with it.
AND … YES “fribeewriter12” it is Standalone
Dumb question, but does this require the “Craftfromcontainers” mod as a dependency or is it standalone?
it dont work with the 2.0
2.0 stable just came out, and the repair bug is still happening. Can we get this fixed?
I’ve been getting the following error when trying to load and Craftfromcontainers ultimately just fails to activate. Any thoughts?
2025-06-23T23:01:18 2.963 ERR Error loading types from assembly X:\SteamLibrary\steamapps\common\7 Days To Die\Mods\CraftFromContainersPlus\CraftFromContainers.dll
2025-06-23T23:01:18 2.964 EXC Could not load file or assembly ‘0Harmony, Version=2.13.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies.
You need to Add the 0_TFP_Harmony Folder to your Mods Folder. Harmony is the Base for the Transpiler Mods need to use, to inject Custom Code into 7 Days to Die. A quick Google Search will help your Problem.
Thank you!
1.3.0.13. On v2(b289) When crafting some things, haven’t tried everything, it takes double the amount out of storage to make it. Example, baked potatoes and grilled corn use 2 of each to craft 1 of each. If it is in our backpack instead of a crate, it works fine.
Same. not sure of any fix. hopefully mod dev sees this and works on fixing it. for reference im currently on 2.0(b295) vand im also using mod version 1.3.0.13
New Hotfix from June 22nd: Upgrading/Repairing still does not work and the Error with the GetItemCount persists on GameLoad.
GameVersion 2.0 b289 (latest experimental) – Is the Hotfix for the 1.4 Stable?
Waiting for GameVersion 2.0 b289 (latest experimental) to be officially released.
HOTFIX will be the null error bug fixed version in the 1.4 Stable version.
In line with this, the system continues to fix problems and other issues in 2.0.
Yeah thats probably whats best. I dont mind not being able to repair/upgrade from containers, the important thing is that crafting works as expected now. Tyvm
Está dando erro na versão 2.0
You need to replace both your GetItemCount accesses from the Bag Class with the following:
AccessTools.Method(typeof(Bag), “GetItemCount”, new[] {typeof(ItemValue), typeof(int), typeof(int), typeof(bool)}, null);
That way you get the right method.
BR Korgaz
On v2.0 Experimental, With CFC(AnyCrate) versions 1.3.0.8 & 1.3.0.13 (haven’t tried any others). With all ingredients in crates, Upgrading a building block with wood, cement mix, or cobblestone does not work. It will upgrade past that with forged iron & forged steel as it should. It will repair with any material as it should.
This has probably been said before but it would be nice if it could use material that is in vehicles and drones.
With the new hotfix, I’m still getting the same error.
https://i.imgur.com/aFbptXh.png
When crafting something that leaves 1 Resource of a Stack, the Stack goes to 65537 (Happened on multiple occasions), when crafting Bacon and Eggs eg, which uses 2 Eggs and you got 4 in a Stack it removes all 4 even tho only 2 should be deducted.
This happened to my group too. we had to stop using the mod because of it.
Can this Mod be used for server side only?
Comment from Mod Author from June 17th:
“At this point, it is difficult to make it server-side only. I understand that it would be more convenient if that were possible. However, this is a limitation of the 7 Days to Die system.”
So basically not possible at the moment.
I completely understand, thank you for the fast response
With the hotfix, I still can’t repair/upgrade from containers
It’s still giving the same error when starting up the game https://i.imgur.com/dkGa98T.png
Might want to list the game version and other mods you are using. It sounds like there is a conflict as I have been using this for a long time and haven’t had those errors before.
I am on 2.0 b289 and using the latest Hotfix. Still getting the same error. No other Mods used. You don’t see them unless you open the Console or take a look in the Logs as this Error is non-interrupting.
Hey there. There is another Error that prevents the Upgrade/Repairing from Container. The following are the relevant parts in the log file:
ERR [MODS][Harmony] Failed to patch bool ItemActionRepair::CanRemoveRequiredResource(ItemInventoryData data, BlockValue blockValue): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Reflection.AmbiguousMatchException: Ambiguous match in Harmony patch for Bag:GetItemCount —> System.Reflection.AmbiguousMatchException: Ambiguous match found.
So far the Hotfix is working well, there is one thing though: When you craft from Containers and deplete a resource, you get a NullReferenceException. So the removed Stack is still referenced somewhere after Removal. I enabled Debugging for this very Reason, so you can track the issue easier:
https://cdn.discordapp.com/attachments/1385639049930342422/1385639074357973092/image.png?ex=6856cc73&is=68557af3&hm=6a7022acd7236b7eb087f7f8a465f4f359456c6df8f0302fdc36a81ca098aca6&
Thank you for your continuous work on this Masterpiece
Haven found any issues in SP yet, will try MP later, when my GF joins.
so figured out more of the problem, the vehicle storages are being treated like storage boxes and that is what is causing all the MP and red wall issues,
if you can figure out how to diable that that would fix many issues
hellllo, i have bug report for you,
so putting anything into the 4×4 iventory causes the game to red wall of death us
This mod isn’t repairing/upgrading blocks with mats from a wood storage container. I’m within range and everything is set to true. I’m also running on a singleplayer 2.0 world.
This is probably why: https://ibb.co/pv0WrHJd
Ambiguos Match is likely a duplicate Method Name since 2.0 did some Changes to most likely everything. The most common Case is a public and a static Method with the same Name.
I was also having an issue with the mod it was spamming “EXC nullreferenceexception: object reference not set to an instance of an object” in the console
I swear TFP is doing that shit on purpose. Just like Valheim Devs lol.
Sadly it’s spaming the Console with Method Missing Exceptions for GameManager.ShowTooltip when opening the Crafting Window in Gameversion 2.0. Only happens in MP weirdly.
from what i gather, from reading the config, this server is “Client Side”. is there a way to make this mod “Server Side” instead so my friends dont have to download this mod as well?
At this point, it is difficult to make it server-side only. I understand that it would be more convenient if that were possible. However, this is a limitation of the 7 Days to Die system.
It looks like with the update to 2.0 they fixed the repair bug
llmonmonll, Do you think you can fix the repair bug?
And different thing, is there a way you can add the ability to pull from stuff like the wine barrels that are build using the the wood furniture helper?
Or is there something I can do on my side in any of the xml files to make it work?
However, if the barrels do not have TileEntities (i.e., they are decorative-only and have no storage logic), they cannot be supported by this mod as-is.
You can try checking
blocks.xml
for those barrels and make sure they are defined as"Class": "SecureLoot"
and"CreativeMode": "Player"
— that way the mod might be able to detect and use them.Please give it a try and see if it works.
I take it theres still no fix for repairing blocks causing the nullexeception bug, not allowing you to repair any block?
+1
@llmonmonll
“[[Version 1.3.0.11]]
Improvements have been made to the behavior, including the NullReferenceException that occurred during repairs.”
I have downloaded the new version and I’m still getting the error. If the block is undamaged, I can upgrade it, but if the block itself is damaged the act of repairing fails and I get the red error.
I have removed all mods except “0_TFP_Harmony”, made a fresh save in Navezgane, built the stone axe, beat a wood block, and then tried to repair it. 100% reproduce-able.
Are there any mod dependencies?
Same thing, I can’t repair any blocks!!!!
the day will come when this mod will become stable, probably not soon
I play co-op with this mod and we are loving it. Although an error always comes up whenever we try to repair anything.
Ok, I’m not crazy. I was trying to figure out what I was doing wrong, thinking I missed configuring something.
1.4 functional?
I dont think so
When you repair something (hammer right-click), the console pops up with red errors.
“NullReferenceException: Object reference not set to an instance of an object”
Crafting from the containers DOES work. However, you won’t be able to repair your base.
Thank you all for responses
I would only need this for the crafting as its tiring to run between containers to get resources to craft. BUT if the mod causes repairing base impossible, then no thanks.
Hello, I am having a issue where my friend and I are Partying Up and I am unlocking the containers for them but it keeps locking on them. And containers they place lock on me. We are in their land claim block. How can we get it to stop locking on us?
Having an issue where the recipe in the crafting station menu shows that you have twice as much materials than you actually do. And I’m not sure, but I THINK I have seen it consume more materials than it needed to complete the item. I’ll wait to see if I catch it doing this for sure, but that’s how I think I lost about a 100 forged steel.
Im pretty sure the same thing happened to me
Crafting from containers works fine on any craftstation or the self craft menu.
BUT it seems to duplicate items. it either doesn’t consume the item or, when you cancel a craft, the item is being restituted 2 times to the player and the container allowing for item duplication just by crafting max -> cancel craft -> recrafting max -> etc .
In darkness falls mod it dont consume items it just craft it
Having the same issue.
same here
Locking is functional, but somehow i’m not able to craft from containers. I’m in a group (i’m the server), I placed the Land Claim, Party is enabled and my partner placed the chest. doesn’t work fo rmy chests either tho. Sad.
User Error.
I got confused with the isServer and isClient Setting. Had to use isClient too. When do you use isServer?
We sincerely apologize for a critical oversight in the recently released Version 1.3.0.9. Although the version number remains unchanged, we strongly recommend all users who previously downloaded this version to re-download the software immediately.
The current download link has been reverted to the previous stable build while we prioritize improvements to the locking mechanism. Rest assured, no new features or changes have been introduced in this re-release.
I love the idea of crafting from containers however I do not want to use the “lockable” feature. Reason is that My wife and I play together and we are the only ones in the game. Is there a way that we can both have access to the containers “ALWAYS” regardless of proximity and/or who the owner of containers is?
Also, is this a server side only or server and client need to have this MOD?
I’m also facing this issue with friends. Every time we leave the land clam area, the boxes are locked for the owner and jammed for the rest.
I would expect them to always be unlocked and available for the party, or worse case just unlocked for everyone.
Yeah It looks like no response from the creator is telling me that there is no fix. Unfortunately because the original “original” MOD worked just fine. I don’t know wh we cannot have the option to get it to work without unlocking it when you are in a party regardless how far the owner of the creates is or whatnot. It is a shame
It has been found that some resource items and even resource items when used with other mods can also not be retrieved, causing a red curtain error. Please wait until this is fixed.
Thx a lot for fixing it. This Mod is soooo good and i have always played with it, but somehow it was broken, because of my other mods that i use. Now it works again.
Love the mod but unfortunately the performance is not that great.
Playing on a dedicated server with two friends.
If another player comes close, fps drops and the inventory starts to lag. Trying to move items to another slot is painful.
This happens with only 5 containers. Adding more containers increases the fps drops and makes the inventory lag even more.
Mod is not taking vehicle items from the inventory when making vehicles. The only item it needs recreated is wheels. Once it happens once, no items are being taken from inventory.
The lag this creates makes it unbearable. 22 storage boxes and one workbench, frames go from 144 to 2-3 if I try to use the workbench.