Please add an Inventory Sorting Block

LJS shared this feedback 22 days ago
Not Enough Votes

Currently, inventory sorting is mostly done by players with scripts such as GOAT and Isys, however these are limited by the PB and use a lot of server resources, and are also only available in experimental mode.

Adding a simple inventory sorting/autocrafting block would solve this, it would also help players to avoid sorters and sorter loops, this would likely compensate for the load this block would add to the server. It could be set up so it only updates every ten minutes as well.

Best Answer
photo

Summary

Add a simple whitelist/blacklist filter directly into the terminal of any block that has an inventory (cargo containers, connectors, cockpits). This would give players a lightweight, built-in way to control item flow without needing complicated sorter setups or scripts.



The Problem

Right now, managing inventories properly comes down to two options, and neither is ideal.

Conveyor sorters work, but they often create “sorter loops” that hurt performance. They also require awkward, bulky conveyor layouts that take up valuable grid space just to keep storage organised.

Scripts (like GOAT/Isy’s) are incredibly powerful, but they only work in Experimental Mode and can put a noticeable load on server CPU because of programmable block runtimes. That makes them unusable for many console players and for servers where performance is a concern.



Proposed Solution: Filtering at the Block Level

Rather than introducing a new sorting block, add a Filter tab to the existing terminal UI of any block that has an inventory.

The idea is simple:

  • Players can choose Whitelist or Blacklist, just like with conveyor sorters.
  • The conveyor system will only allow items into that block if they pass the filter.
  • This reuses logic that already exists in the game (sorter behaviour) and applies it directly to storage blocks instead.



Benefits and Impact

Better performance

The game can check whether an item is allowed during the transfer itself, instead of relying on scripts constantly scanning and moving items around.

Cleaner, smaller builds

Ships and stations wouldn’t need “sorter arms” or complex conveyor spaghetti just to keep cargo organised.

Fewer server issues

This removes the feedback loops that happen when items bounce back and forth between sorters, which can cause lag or even crash physics calculations.


Accessible to everyone

This gives Safe Mode and console players access to proper inventory management without needing scripts at all.

Replies (3)

photo
5

Summary

Add a simple whitelist/blacklist filter directly into the terminal of any block that has an inventory (cargo containers, connectors, cockpits). This would give players a lightweight, built-in way to control item flow without needing complicated sorter setups or scripts.



The Problem

Right now, managing inventories properly comes down to two options, and neither is ideal.

Conveyor sorters work, but they often create “sorter loops” that hurt performance. They also require awkward, bulky conveyor layouts that take up valuable grid space just to keep storage organised.

Scripts (like GOAT/Isy’s) are incredibly powerful, but they only work in Experimental Mode and can put a noticeable load on server CPU because of programmable block runtimes. That makes them unusable for many console players and for servers where performance is a concern.



Proposed Solution: Filtering at the Block Level

Rather than introducing a new sorting block, add a Filter tab to the existing terminal UI of any block that has an inventory.

The idea is simple:

  • Players can choose Whitelist or Blacklist, just like with conveyor sorters.
  • The conveyor system will only allow items into that block if they pass the filter.
  • This reuses logic that already exists in the game (sorter behaviour) and applies it directly to storage blocks instead.



Benefits and Impact

Better performance

The game can check whether an item is allowed during the transfer itself, instead of relying on scripts constantly scanning and moving items around.

Cleaner, smaller builds

Ships and stations wouldn’t need “sorter arms” or complex conveyor spaghetti just to keep cargo organised.

Fewer server issues

This removes the feedback loops that happen when items bounce back and forth between sorters, which can cause lag or even crash physics calculations.


Accessible to everyone

This gives Safe Mode and console players access to proper inventory management without needing scripts at all.

photo
2

It would also be nice if you could add [Stock] or Custom tags to blocks, that is another huge issue for some people

photo
photo
2

Good topic, I would like inventory management and priority control to be more part of the game. And not just a script that I copy from someone out of desperation... :-p

Do we know which part of the current sorters causes the loops and performance problems? Is it the extra needed branching conveyor lines for allow-in/allow-out/deny-in/deny-out paths? Would such a block-level white-/blacklist feature need to replace conveyor paths?

Do you have some examples of specific tasks you want to solve? Like

Example 1

  • Auto-restock docked ships with ammo / gas / uranium / food / etc., but...
  • keep a minimum of ammo / gas / uranium / food / etc. on the mothership.

Example 2

  • Unload all ice to hydrolise it to gasses, but ...
  • keep a minimum of ice reserved for the irrigation system.

(Feel free to add more examples.)

Currently, dozens of ECs check cargo fill levels and connectors here, and switch sorters and timers on and off over there... Not even the person who set that conveyor system up remembers how to fix it if it breaks. ;-D Accessing black-/whitelist configs through the affected container would be one idea how the config could be better findable.

photo
1

biggest issues i have seen with sorter loops are players who do not know what they are doing...for example a cargo container with ores set to push into the refineries but the refineries are piped into the ingots cargo and that is piped back into the refineries. A well done sorter system does not lag the server, but those are not common from what i have seen. Dax will know more about that as an Ex admin.

photo
photo
2

There are a couple of issues with "sorters" besides performance and loops. Once you have a sorter, you can't now deposit and withdraw any item from the inventory system from any access port. This is particularly painful if you try to use a build planner during active base building, or when you have a ship connected to the "wrong" connector where items you need are just inaccessible.


That's why I made this simple mod called "Specialized Cargo", where you have distinct cargo containers for each category of items. Mainly for ingots, ores, components, ammo and "the rest". It is very simple to use and solves all the issues mentioned in this topic. The mod is very tiny, just a couple of Kb, because it utilizes the same vanilla models for cargo containers and changes absolutely nothing to how the inventory system works. You just have dedicated inventories for specific types of items and only items can be stored inside, same as refinery 2 inventories, for example. They come with the type of items in their names and the inventory slot icons clearly display what can go inside.


If you want some more "Immersive Cargo" options, I am in the process of making a new mod where not only do you have specialized cargo containers, but you can visually see what type of cargo it is and how much of each item is inside, yet keeping it performance friendly.


Feel free to check those mods on the Steam Workshop and share your feedback.

photo
2

Nice idea, but i am looking for vanilla solutions and things keen can add. Adding specialized cargos would be nice, but some sort of overall inventory system would be better

photo
2

If you think about it, there are already several specialized cargo containers in Vanilla game. Think weapon racks and armories. All functional blocks have specialized inventories. Making a DLC with a couple of additional conveyed specialized containers would be a no-brainier to buy :)

photo
1

your not wrong, that would be nice, but the P2W factor would probably be to high for keen.

photo
1

Well, then use my mod :) I am trying to make a high-quality optimized models that fit into vanilla style. Also, I wouldn't consider those to be P2W. Imo bed was a much more critical DLC-only option for so long, and I did not see anyone complaining about it. But yeah, they can also add specialized containers for free and make some more DLC versions for more variety.

photo
1

I am playing on servers, Official and others, so i do not control the mod list lol

photo
1

There is a plugin to easy sort inventory based on custom data. It is completely client side and can be used on off servers.

photo
2

Plugins are not allowed on official servers.

photo
1

Yeah, i would like that, but that can get you banned

photo
1

4Peace, you need to read the official server rules. No plugins are allowed.

photo
Leave a Comment
 
Attach a file
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!