
Want to adjust container filters on a per item basis, look no further!
Adjustable Container Filters
This mod will allow you to adjust all vanilla container filters. Highly configurable, the mod also includes an option to disable all filters for all containers, disable filters on a per container basis, or control what types of items are allowed in a case on a case by case basis.
I made this mod because I couldn’t find any mod that did just what I wanted and I wanted to modify various containers to accept different items, largely modded containers and I needed a tool to use to easily configure all that. And after I made this figured I would share it.
Yes, you heard correct, you can change modded containers as well. You just need to add them to the config file following the file structure.
By default the config does not make any changes to the containers filters. You must decide what you would like to change.
Should be placed low in your mod load order, or it might not be able to modify some modded items.
Config
config example.
“enableLogging”: false, “removeAllFilters”: false, “Containers”: [ “66bc98a01a47be227a5e956e”, “62a09d3bcf4a99369e262447”, “59fafd4b86f7745ca07e1232”, “5783c43d2459774bbe137486”, “60b0f6c058e0b0481a09ad11”, “590c60fc86f77412b13fddcf”, “5d235bb686f77443f4331278”, “619cbf7d23893217ec30b689”, “619cbf9e0a7c3a1a2731940a”, “5c093e3486f77430cb02e593”, “67d3ed3271c17ff82e0a5b0b”, “67600929bd0a0549d70993f6”, “59fb016586f7746d0d4b423a”, “5aafbcd986f7745e590fff23”, “59fb042886f7746c5005a7b2”, “5aafbde786f774389d0cbc0f”, “567143bf4bdc2d1a0f8b4567”, “5c127c4486f7745625356c13”, “5e2af55f86f7746d4159f07c”, “59fb023c86f7746d0d4b423c”, “5b6d9ce188a4501afc1b2b25”, “5c0a840b86f7742ffa4f2482”, “5732ee6a24597719ae0c0281”, “544a11ac4bdc2d470e8b456a”, “5857a8b324597729ab0a0e7d”, “59db794186f77448bc595262”, “5857a8bc2459772bad15db29”, “665ee77ccf2d642e98220bca”, “5c093ca986f7740a1867ab12”, “664a55d84a90fc2c8a6305c9”, “676008db84e242067d0dc4c9” ], “66bc98a01a47be227a5e956e”: { “name”: “Streamer item case”, “removeFilters”: false, “ExcludedFilter”: [ ], “Filter”: [ ] }, This is a snippet of the config file, I already added all vanilla containers I could think of or find. You will see that list at the top of the config file.
The config is separated into two different parts. At the top is a list of all containers that have been included in the config file. If you do not add the container you are configuring, then the mod will ignore it.
The second part, which I have provided the snippet for the ‘Streamer item case’ the is the format that must be followed when adding new containers to the config file. The top number is the item number which you can find on SPT Item finder.
“name”: This is purely cosmetic and only effects printouts in the console.
“removeFilters”: If set to true the mod will ignore any other settings for this item and remove all filters already applied to it.
“ExcludedFilter”: Incase you wanted to farther limit what items could go inside of the container, think preventing the placing of money or ammo similar to current live.
“Filter”: This is to add specific items or whole categories to be allowed inside of an item. Think you should be able to keep a wallet inside of a docs case or SICC? You can now.
By default all filters are currently blank and will not modify the game yet. You must make your desired changes first.
Known Issues
- In my testing of the mod not all items where able to be added for some reason. I couldn’t get the special radio item that you get with the unheard of edition to go inside of the desecrated kappa unless I removed all filters from it. Not sure why.
- On containers that have split inventories it seems that the updated filters only applies to the first or main space. Will have to look into how to fix this. This is now fixed.
SPT 3.11.3
58 Downloads
Added support for containers with multiple grid layouts. Think Theta container and specific backpacks that have multiple slots. But also modded containers.
The config did not change.
Tested it for like 5 minutes but it worked as expected, let me know.
Edit: Whoops! Uploaded the wrong version. If you don’t have the fix for multi grids, then just redownload.
SPT 3.11.3
72 Downloads
Added the Mr. Holodilnick and Lucky Scav Junk box. While its easy for anybody to add them to the config I do want the mod to have all vanilla containers listed by default.
SPT 3.11.3
110 Downloads
Fixed a mistake in regards to the containers name and server logging. Now when the mod logs container updates at startup it will use the name set in the config file for easier reading.
Not quite yet...