Feature Request - Delete items after x seconds
Tencao opened this issue ยท 7 comments
On my server, I've seen some pretty messy setups involving the pipes, to the point where the pipes get filled with hundreds of items, and they never go away, causing immense client and server lag that cant be cleared up until the entire pipe network is deleted. Is there anyway to add a config option where if an item has been inside the pipe for x amount of seconds, they will be deleted? This would solve this problem entirely and keep servers healthy.
Added via aa190f3
If the pipes were configured correctly, this will not happen. This problem can easily be solved by providing a last-resort path for all items to travel to.
The issue is, players on a server don't do this, and it's hard to expect admins to check every single pipe system created, hence this been a quick easy solution
As opposed to dealing with time, it might be easier to give an option to remove an item in transit if it has bounced more then X Times. It'd be simple to add an int value to the item's metadata, and keep counting everytime it bounces. If it goes over the configurable limit, delete or do something with it (Possibly throwing it into the world).
Okay yea that's an easy solution. The network can keep track of how long it's been wandering without a destination.