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": false,
"enableForRepairAndUpgrade": true,
"partyEnabled": true,
"lockable": false, (NEW)
"range": -1.0
}
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!
Changelog
(NEW) 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.
== If any issues arise, please let me know. ==
DOWNLOAD Craft from Container Plus (with LandClaim and Range Check) (36 KB)
DOWNLOAD Craft from Container Plus (Lockable) (39 KB)
DOWNLOAD Craft from Container Plus (AnyCrate) (41 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.
For me this mod is nor working.
if i try to craft from inventory or from the workstation, i see zero materials to start crafting.
Its my base and all containers are open. it is just a thin block with a hole in the front of the containers (just for design)
Everything is costing 1 extra on materials, and if you try to create max items, it just subtracts one from all materials, and creates nothing.
I got the mod working for me, kinda. For some reason it’s hit and miss as to if an item is crafted or not. Sometimes I’m able to craft, and sometimes when I press the craft button the resources for the crafting are subtracted, but the item isn’t made. I’m also unable to craft stacks of anything. This problem mainly seems to affect the workbench, as I haven’t had problems with the campfire. Tried this in both modded and vanilla.
We have reviewed the consumption logic in Craft and the whole thing, so please re-download it.And we still need more time to address issues such as workbenches.Best regards.
I get these errors while loading the game, and when I load my save.
Game version 1.2(B27)
Single player.
MODS: Donovan-More perks
Donovan-Ui
Duhwolfs Inproved Farming
Midnights Improved Dew Collector
And a couple prefabs.
New game, don’t even have a base yet. Storage and campfire outside traders, and I have a land claim down.
I’ve tried the previous, V2.0 any crate, and V2.0 with land claim.
Now trying the new version you updated, Any crate, and the land claim versions.
Anything I can try on my end to figure it out?
2024-12-20T06:45:11 9.173 ERR Error loading types from assembly C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Mods\CraftFromContainersPlus\CraftFromContainers.dll
2024-12-20T06:45:11 9.174 EXC Could not load file or assembly ‘0Harmony, Version=2.13.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies.
I got it working… sorta.
The 0Harmany folder was missing from my mods folder. Verified the files through Steam and it was put back.
So far I’ve only used the camp fire, but, when I cook things, sometimes the supplies are removed from the crate, but the food or drink is not crafted. Anyone know a way to fix this?
This update for 1.2 is still not working, it pops up an error everytime crafting from inventory on a new world
Thank you for your comment! I’m sorry to hear that the MOD isn’t working for you. I’d like to investigate the issue further, so could you please provide the following details?
1. Game Version
Could you confirm that your game version is 1.2b27?
2. Error Logs
Check if there are any error messages in the output_log.txt or player.log files in your game folder. If you find any, please share them with me.
3. Other MODs
Are there any other MODs installed? If so, could you list them? Sometimes, conflicts with other MODs can cause issues.
4. Steps to Reproduce
Could you describe the specific steps or situation when the problem occurs? For example, what actions were you performing during crafting?
I apologize for the inconvenience, but with more details, I can address the issue more effectively. Also, please double-check the installation instructions in the README file to ensure the MOD is placed in the correct folder.
Thank you for your cooperation, and I’ll do my best to resolve this quickly!
This mod is not working. I have some errors in game and it will not let me craft from containers.
Same with me. This used to be the best mod ever craft from containers. Now this is a piece of crap.
This needs to be updated for 1.2 it breaks crafting… Throws the ui into spasms tried all four variants
Has anyone had issues since the 1.2 patch?
If you had any issues download this one Craft from Container Plus (Lockable) and change in config.ini this line: “lockable”: true for “lockable”: false. For me it works perfect and mod dosen’t lock chest, you have to do this manually.
It is definitively broken in 1.2
https://drive.google.com/file/d/1gyXPg09HtWRYhY3uVlSgMrfYzKb_Kxkj/view?usp=drive_link
Agreed..its toast, all four variants whether you adjust that config or not. Confirmed after dozens of tests.
I understood what the problem was. If you put a new chest for storage (protected) and then destroy the first layer (protection), then this chest breaks the mod. The interface in the inventory and workbench breaks down. This is not critical, it is just enough to completely destroy the storage.
https://drive.google.com/file/d/17HAv6WzjqDjHDk-bDClKkWPBgPsmcrB3/view?usp=sharing
https://drive.google.com/file/d/1S5j5B0sYlDli97w094XnIX7R2RKEuuEv/view?usp=drive_link
https://drive.google.com/file/d/1S5j5B0sYlDli97w094XnIX7R2RKEuuEv/view?usp=sharing
At first the mod worked great, but then it broke the crafting menu.
when playin in multiplayer (non-server, I Host game and a friend joins)
when my friends tries to craft something gets cascade error Craft from containers tileentitysecurelootcontainer not found in the composite entity
when he gets this I get it too.
After smashing F1 and ESC we can close the console, and I can craft, but if he tries, the error comes up again.
Currently testing different settings in the json file.
personally this mod has not worked correctly for me on a server since v1.1.1.14 i keep testing the new releases and they all consistently fail.. the storage boxes lock and unlock on their own whim there are red execution errors constantly
Можно ли добавить в конфиг , список контейнеров , чтоб можно было настроить в ручную, а не только брать с контейнеров cntWoodWritable
Thank you for your feedback. I will work on improving the mod to meet your request. Please give me some time. If I am unable to implement the changes, I plan to continue updating the mod by addressing bugs and making necessary adjustments as needed.
Mod worked till day 6 then broke game, game works without this mod, looking for another Craft from containers mod, not sure why it broke much sad.
Just to check, if we were to lock the container containing cobblestones, that would mean we won’t be able to upgrade any wooden blocks to cobble since the container containing it is locked yes?
I’m checking because based on this current setting of:
“modEnabled”: true,
“isDebug”: true,
“enableForRepairAndUpgrade”: true,
“partyEnabled”: true,
“lockable”: true,
“range”: -1.0
}
Even if I lock the container which contains cobblestones, I can still upgrade and repair wooden blocks drawing the cobblestones from that container.
Same issues as some others have reported; loaded the mod up on our server and immediately ALL storage crates became locked, even though they are all within the land claim area. I can manually unlock them, but that’s a pain. Setting the config for “locked” to false made no difference. Some containers also became “jammed” which is also a pain.
Ideally, an option to just have the containers behave like vanilla with the core capability of this mod would be mint.
Would love for this to work. Happy to help test if needed.
Thanks for sharing the issue. It’s possible that certain symptoms might occur specifically in server environments due to how storage states and permissions are handled differently compared to client-hosted games.
Could you try testing this in a client-hosted online play session (e.g., not using a rented or dedicated server) and see if the same problem occurs? This would help determine if the issue is server-specific.
If you could also share any relevant server settings or environment details, it would help a lot in narrowing down the cause. Appreciate your patience and willingness to help us troubleshoot this!
Thanks for your response! So I’ve done some more testing. Here is what I’ve found:
On a dedicated server (just a separate machine on my local network), the mod appears to load correctly according to the logs, however when trying to access a workbench or the crafting menu (Tab) you’re then presented with a whole lot of console spam:
2024-11-26T18:26:35 86.057 ERR [XUi] Error while updating window group ‘workstation_workbench’:
2024-11-26T18:26:35 86.057 EXC Object reference not set to an instance of an object
at CraftFromContainers.CraftFromContainers.ProcessCompositeEntity (System.Collections.Generic.KeyValuePair2[TKey,TValue] keyValuePair, TileEntityComposite compositeEntity, EntityPlayerLocal player, UnityEngine.Vector3 position, System.Boolean& anyWritableCrateOrSafeFound) [0x000d4] in <ff8f1b484c7d4b6a9221bff7847c692b>:0
at CraftFromContainers.CraftFromContainers.ReloadStorages () [0x00128] in <ff8f1b484c7d4b6a9221bff7847c692b>:0
at CraftFromContainers.CraftFromContainers.AddAllStorageStacks (System.Collections.Generic.List1[T] items) [0x00001] in :0
at (wrapper dynamic-method) XUiC_RecipeList.DMD(XUiC_RecipeList,single)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy(XUiC_RecipeList,single)
at XUiController.Update (System.Single _dt) [0x00084] in :0
at XUiController.Update (System.Single _dt) [0x00084] in :0
at XUiC_CraftingListInfo.Update (System.Single _dt) [0x00080] in :0
at XUiController.Update (System.Single _dt) [0x00084] in :0
at XUiC_WorkstationWindowGroup.Update (System.Single _dt) [0x00000] in :0
at XUi.OnUpdateDeltaTime (System.Single updateDeltaTime) [0x00159] in :0
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
XUi:OnUpdateDeltaTime(Single)
XUiUpdater:Update()
XUiUpdateHelper:LateUpdate()
All the crates appear to be locked when loading in as well.
So then I tried hosting our existing world as a client-hosted online play session as you’ve suggested and got the same exact same experience.
However, if I load up a brand new world, client-hosted online, the mod appears to work perfectly. It’s only on our existing world (which has had no other mods on it from the start) that this is causing an issue.
Hi guys. Can anyone maybe tell me how to get this startet on a gameserver from “c-area.host” I have a server for me and my friends only, online with password. EAC is off and the folder is in the mod folder copied by FileZilla, but it does not work, no matter what i do.
Hello. The previous version worked much better for me. Does anyone have the file?
you mean this one ? https://7daystodiemods.com/craftfromcontainers-v1-0/
What is the range from a container you can craft from? Also if there is a real limited range is there a way to extend it?
I am unable to see the materials needed to craft an item when it is in my party members created storage but as soon as I put it into a storage that I created i’m able to pull from it. Is there a way to pull from all storage chests or is it intended like this?
Hello, im hosting local game with friend. I can use this normally, but my friend cant unless he places boxes.
Hello! I install this mod, place it in my mods folder but it just doesn’t work and I’m not sure what I’m doing wrong? I’m hosting a local game. Please help, do I need to do anything extra?
Thanks for the update.
Will it fix the dupe bug?
How difficult would it be to add support for the Ravenhearst mod?
Right now, similar to TR2085XO, the other party members can’t access storage (from a crafting station, vanilla or modlet) when crafting, even though all storage containers are not locked.
In 1.1 crates get locked for party members (hosting game locally).
After unlocking the crates, if the other players get out the claim block area, crates get locked again.
Is the problem that if one local player is within range of a land claim block, it is normal, but if you form a party and the local player (you) is in range but one of the party members goes out of range, the container is locked? This needs to be reviewed. Thank you for your feedback.
Basically, if party members leave claim block area, the storage gets locked for them.
Last time we used the mod, I unlocked everything but party members could not interact with the container.
We’ll try again, and if any errors come up, I can provide the logs if you want to.
Hi, I-ve also been experiencing this, I’m playing solo, and when I get out of the land claim block zone my crates get locked with a message that says “(craftfromcontainer) crafting or upgrade is not allowed as the writablecrate is locked”
Very Thx for support The Wasteland MOD.
@llmonmonll Could you adapt your mod to the Global update of The Wasteland ?
Thought I would leave this here, works 100% in singleplayer, on dedicated server:
2024-10-29T23:00:04 182.481 EXC Object reference not set to an instance of an object
at CraftFromContainers.CraftFromContainers.ReloadStorages () [0x000fb] in :0
at CraftFromContainers.CraftFromContainers.AddAllStorageStacks (System.Collections.Generic.List`1[T] items) [0x00001] in :0
at (wrapper dynamic-method) XUiC_RecipeList.DMD(XUiC_RecipeList,single)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy(XUiC_RecipeList,single)
at XUiController.Update (System.Single _dt) [0x00084] in :0
at XUiController.Update (System.Single _dt) [0x00084] in :0
at XUiC_CraftingListInfo.Update (System.Single _dt) [0x00080] in :0
at XUiController.Update (System.Single _dt) [0x00084] in :0
at XUi.OnUpdateDeltaTime (System.Single updateDeltaTime) [0x00159] in :0
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
XUi:OnUpdateDeltaTime(Single)
XUiUpdater:Update()
XUiUpdateHelper:LateUpdate()
Update, the original version is working now! perfect, thank you kind sir
Great mod, unfortunately the original version doesn’t work at all on 1.1, the landclaim and range check version does work, however, when you leave your base all containers are locked, when you come back you have to manually unlock all of them before you can continue to craft, this is a bit annoying and essentially not saving any time on crafting, holding E to unlock is the same time as just taking wood out of the container. Great mod otherwise, unfortunately not usable for now.
How did you solve it? I also have this question.
I tried your mod and it didn’t seem to be working by itself. When I added it together with the non-plus version, then I was able to craft with items from containers.
It seems it requires the original mod but perhaps you forgot to mention it?
Either way, thank you for the great work!
Thank you for your feedback! The Plus version should indeed work independently. It’s interesting that it only worked when combined with the non-Plus version. I’ll investigate this further to ensure there are no overlooked dependencies or conflicts between the two. If both versions are needed for functionality, I’ll make sure to clarify that in the instructions. Thanks again for bringing this to my attention, and I appreciate your support!
Hey! Thanks for coding this mod! Unfortunately same symptoms as described above – only seems to work once I install the v2 and we currently struggle to make it work with the party! Can you kindly mention in the comments when you updated the files last? I installed a week ago or so, maybe you uploaded a newer version meanwhile I can try?
No problem. I ended up having to use the basic version until a patch is released, but then noticed I was able to upgrade blocks (wood to cobble, and wooden spikes to iron as well) without needing the resources. If I had them, they worked correctly, if not then upgrades just happened and nothing deduced from nowhere.
I know I play a heavily modded vanilla and triple checked if any mods could be interfering, but might be worth checking this as well.
Thanks!
Thank you for your feedback. Could you let us know the specific timing when this issue occurs? For example, which upgrade types (like wood to cobblestone or spikes to iron) or resource conditions in the inventory or containers show this behavior where resources aren’t being consumed? Any additional details would be helpful. Thank you!
Im using latest game version and this mod is not working for my, any ideas or suggestion? Was trying to use all version Plus and non plus
Yea, I don’t know why. Its not giving me an error. Its just not working.
I apologize for the long wait. I’ve just returned from my business trip and have settled in. I’m currently working on the fixes, so please bear with me a little longer. I may be able to release it soon.
qual a chance desse mod funcionar junto com o mod war3zuk?
yes it works
fiz de tudo e n funcionou… qual seria o problema?
Is there anyway to adjust the range that it pulls from? I like the mod, but I feel a bit OP when i can craft from halfway across the city. I’d prefer to put it as something maybe slightly larger than the claim block area so it is more just for when I’m in the base? I tried changing the
“range”: -1.0
to
“range”: -0.5
But it didn’t seem to affect anything (unless maybe i needed to start a new game or put down new storages or something)
i agree i’d try to change that as will its rang is 115 blocks away thats far
Please adapt this mod for Afterlife 🙁
I love this Plus enhancement over previous mod!
And I have one suggestion: if storage is locked, do not craft. Why? Iron storage and exceptions, for example for cooking
This doesnt seem to repair from storage?
I love this mod and the idea behind it. I installed this to a fully stable modded game and now it’s broken. If I enter my inventory/crafting outside of a claim block I get a recurring XUI error that never stops. Again, everything works fine inside of a claimed area but outside the inventory opens but the console opens displaying hundreds of thousands of the below error:
2024-10-07T20:09:53 140.507 ERR [XUi] Error while updating window group ‘crafting’:
2024-10-07T20:09:53 140.508 EXC Object reference not set to an instance of an object
at CraftFromContainers.CraftFromContainers.ProcessWritableCrate (System.Collections.Generic.KeyValuePair2[TKey,TValue] keyValuePair, UnityEngine.Vector3 position, System.Boolean& anyWritableCrateOrSafeFound) [0x0004f] in <9f8ccbbf4c68484eb57b134afeead769>:0
at CraftFromContainers.CraftFromContainers.ReloadStorages () [0x000e9] in <9f8ccbbf4c68484eb57b134afeead769>:0
at CraftFromContainers.CraftFromContainers.AddAllStorageStacks (System.Collections.Generic.List1[T] items) [0x00001] in :0
at (wrapper dynamic-method) XUiC_RecipeList.DMD(XUiC_RecipeList,single)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy(XUiC_RecipeList,single)
at XUiController.Update (System.Single _dt) [0x00084] in :0
at XUiController.Update (System.Single _dt) [0x00084] in :0
at XUiC_CraftingListInfo.Update (System.Single _dt) [0x00080] in :0
at XUiController.Update (System.Single _dt) [0x00084] in :0
at XUi.OnUpdateDeltaTime (System.Single updateDeltaTime) [0x00159] in :0
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
XUi:OnUpdateDeltaTime(Single)
XUiUpdater:Update()
XUiUpdateHelper:LateUpdate()
To follow up the error is gone after moving this mods file out of the folder. Any idea whats causing it? I really like this mod lol
Can you try changing the order of loading by adding A-Z to the folder name of this mod and see if the error still occurs? As an example, zzzz_CraftFromContainers.
Hello, Thanks for the reply,
I added the zzz to the start to make it load last like you suggested but the same error occurred. Here is my mod list in case its important for diagnosing: https://ibb.co/8NThTL6 (screengrab on imgbb)
Its interesting that it fixes itself when inside the claim area however but breaks outside. Hopefully we can fix I love this mod 🙁
I can see one of the older mods had several people bring up this issue so it seems like its not going to get fixed 🙁 I am hoping someone will swoop in with a fix. Going to remove all of my mod and see if it does it on vanilla to rule out any of my mods I have installed