Auto Trash Reborn


Companion dialog for personal logistics: presets, blueprint import/export, inventory import, network-gated trash, spidertron presets, and request status. Works alongside vanilla logistic sections on Factorio 2.0 and 2.1.

Utilities
3 hours ago
2.0 - 2.1
0
Logistic network Blueprints

Changelog

Version: 6.0.3
Date: 2026-07-30

  Changes:
    - Mod id is now autotrash-reborn (title: Auto Trash Reborn) for a new Mod Portal entry.
    - Author set to Tony; README notes that bugs are expected and should be reported on GitHub.
Version: 6.0.2
Date: 2026-07-30

  Changes:
    - Packaging and Mod Portal release tooling (GitHub Actions builds on v* tags).
    - Documentation, Mod Portal description, and gallery screenshots.
Version: 6.0.1
Date: 2026-07-29

  Features:
    - Dock Auto Trash beside the character inventory (gui.relative), with collapse/expand.
    - New setting "GUI location": attached right (default), attached left, or floating.
    - Dock/undock title-bar controls; shortcut opens the character GUI when docked.
Version: 6.0.0
Date: 2026-07-29

  Features:
    - Factorio 2.0 and 2.1 compatibility (dual-target codebase).
    - Companion to vanilla logistic sections: Apply writes only an "AutoTrash" section; other groups are preserved.
    - Import from logistics merges all manual sections into the GUI.
    - Trash unrequested uses the native logistic-point flag.

  Changes:
    - Requires Factorio 2.0+ and flib >= 0.15.0.
    - MIT license added.

  Bugfixes:
    - Fixed controller-type check operator precedence.
    - Fixed autotoggle-unrequested option writing the wrong GUI property.
Version: 5.3.16
Date: 2024-10-09

  Changes:
    - Internal fork bump; superseded by 6.0.0 for Factorio 2.x.
Version: 5.3.15
Date: 2024-10-09

  Bugfixes:
    - Fixed crash when ipmorting a preset
Version: 5.3.14
Date: 2024-10-05

  Bugfixes:
    - Fixed crash when saving a preset on a spidertron while in editor mode
    - Possibly fixed crash when importing a preset via blueprint
    - Possibly fixed crash when items stored in presets get removed from the game

  Changes:
    - "Set trash to requests" quick action now works when 0 items are requested
Version: 5.3.13
Date: 2021-02-03

  Bugfixes:
    - Fixed crash when mod settings are changed by script
Version: 5.3.12
Date: 2021-01-15

  Bugfixes:
    - Fixed crash when changing request/trash amounts with an empty slot selected
Version: 5.3.11
Date: 2021-01-08

  Changes:
    - Added a quick action to import the config from the logistics tab
Version: 5.3.10
Date: 2020-12-21

  Features:
    - Added a quick action to import the config from the inventory
    - Shift + Ctrl clicking presets will append presets without filling gaps
Version: 5.3.9
Date: 2020-12-15

  Bugfixes:
    - Fixed crash when starting a game from custom scenario that used an older version of the mod
Version: 5.3.8
Date: 2020-12-09

  - Added two new commands:
    - Removed blue as a status indicator: Yellow button background means items are being delivered, red means no items are available/being delivered
    - Minor changes to scrollbars to prevent the width of the gui changing

  Bugfixes:
    - Fixed crash when removing a preset via Spidertron and resaving it with the same name
Version: 5.3.7
Date: 2020-12-06

  Bugfixes:
    - Fixed crash with invalid status display
Version: 5.3.6
Date: 2020-12-02

  Bugfixes:
    - Fixed crash when importing presets via blueprint string
Version: 5.3.5
Date: 2020-11-30

  - Added a "Trash unrequested" button to the spidertron gui:
    - If requested amount and maximum amount are the same, only one number is shown in the gui
    - Increased performance when dealing with a lot of configured items
    - The gui for the spidertron is only shown for spidertrons with a logistics tab
    - Added a delete button to the spidertron gui. Note that this will also delete the preset in the characters gui.

  Bugfixes:
    - Fixed crash when trying to save a preset via the spidertron and the character gui was invalid
    - Fixed sprites for the pin and reset button
Version: 5.3.4
Date: 2020-11-29

  Changes:
    - Fixed error when trying to export a preset with no items set
Version: 5.3.3
Date: 2020-11-28

  Changes:
    - Changed the shortcut icon to red and yellow arrows
    - Added a hotkey to toggle trashing unrequested items
    - Added a checkbox to turn off trashing unrequested items once the inventory is cleaned up

  Bugfixes:
    - Fixed error when saving a preset via the spidertron gui
Version: 5.3.1
Date: 2020-11-24

  Changes:
    - Removed the (+/-) buttons, a new row will be added if something is put in the last row

  Bugfixes:
    - Fixed error when adding AutoTrash to an existing save
Version: 5.3.0
Date: 2020-11-23

  Changes:
    - Updated for Factorio 1.1
Version: 5.2.17
Date: 2020-12-21

  Features:
    - Added a quick action to import the config from the inventory
    - Shift + Ctrl clicking presets will append presets without filling gaps
Version: 5.2.16
Date: 2020-11-21

  Changes:
    - Added shortcut to toggle the AutoTrash gui
    - Added mod setting to hide the button in the top left
    - Removed commands /at_show and /at_hide
Version: 5.2.15
Date: 2020-11-20

  Bugfixes:
    - Fixed gui buttons becoming unresponsive.
Version: 5.2.14
Date: 2020-11-18

  Changes:
    - Sliders change the amount by one stack at a time.
    - Added support for multiple main networks.
Version: 5.2.13
Date: 2020-11-08

  Bugfixes:
    - Fixed error when shift-clicking items to move them.
Version: 5.2.12
Date: 2020-11-07

  Changes:
    - Applying changes or pressing enter after changing the trash amount will display a message if the the amount got adjusted to the request amount.

  Bugfixes:
    - Fixed error when changing the trash amount via keyboard.
Version: 5.2.11
Date: 2020-11-06

  Bugfixes:
    - Fixed "Trash above requested" not working if no trash amount was set.
    - Fixed temporary trash not working if the item was already set.
    - Fixed errors when using the commands: /at_show and /at_hide.
Version: 5.2.10
Date: 2020-11-01

  Bugfixes:
    - Fixed requests not being set properly.
    - Fixed button and textfields showing nothing if request is 0 and trash is unlimited.
Version: 5.2.9
Date: 2020-10-31

  Changes:
    - Added a pin button to the gui, to keep it open when pressing E/Escape. By default the gui will stay open.
    - Added a tooltip to the top button, showing the control to toggle the status display.
    - Researching the personal logistics opens the status display.

  Bugfixes:
    - Fixed UPS drop when deconstructing roboports with construction robots.
Version: 5.2.8
Date: 2020-10-30

  Bugfixes:
    - Fixed crash when requesting 0 of an item and infinite trash amount while "Trash above requested" is active.
Version: 5.2.7
Date: 2020-10-30

  Changes:
    - Made displayed columns and rows adjustable again. Columns are restricted from 5 to 40 in increments of 5.
Version: 5.2.6
Date: 2020-10-27

  Bugfixes:
    - Fixed error after players temporary trash slots have been emptied.
Version: 5.2.5
Date: 2020-10-27

  Bugfixes:
    - Fixed Unknown sprite error when ModuleInserter mod is missing.
Version: 5.2.4
Date: 2020-10-27

  Changes:
    - Updated the gui to look more like the vanilla gui.
    - Removed mod settings to adjust the number of displayed rows/columns.
    - Added flib as a dependency.
Version: 5.2.2
Date: 2020-09-20

  Changes:
    - Changed AutoTrash to be enabled as soon as the vanilla logistics tab is available.
Version: 5.2.1
Date: 2020-09-20

  Features:
    - Added buttons to export/import all presets at once.

  Bugfixes:
    - Fixed importing would mess up the item order in the gui.
Version: 5.2.0
Date: 2020-07-28

  Changes:
    - Changed the GUI to be draggable.
    - Changed default number of columns to 10, to match the characters logistics GUI.
    - Added setting to set the trash amount to the requested amount for new items.
    - Removed the "Pause requests on death" setting, since that is now a vanilla feature.
    - Reenable logistic requests after respawning when a death preset is selected.

  Bugfixes:
    - Fixed crash with the Rocket Rush scenario.
    - Fixed error when exporting an empty configuration.
Version: 5.1.4
Date: 2020-05-26

  Bugfixes:
    - Fixed startup errors with Factorio 0.18.27.
Version: 5.1.3
Date: 2020-05-04

  Bugfixes:
    - Fixed blueprints, books and planners being autotrashed.
Version: 5.1.2
Date: 2020-04-15

  Bugfixes:
    - Maybe fixed a crash when updating from a save with now invalid items.
Version: 5.1.1
Date: 2020-03-20

  Bugfixes:
    - Fixed trashing unrequested items would set all requests to zero.
Version: 5.1.0
Date: 2020-03-19

  Changes:
    - Updated to work with the new character GUI added in 0.18.13.
    - Removed obsolete setting to lock infinite slots behind a research.
    - Updated gui to the dark logistic slots.

  Bugfixes:
    - Fixed out of range error when AutoTrash was added to an existing save.
Version: 5.0.2
Date: 2020-03-05

  Bugfixes:
    - Fixed unknown sprite error.
Version: 5.0.1
Date: 2020-01-31

  Bugfixes:
    - Fixed error when trying to import an invalid blueprint/string.
Version: 5.0.0
Date: 2020-01-26

  Changes:
    - Updated for Factorio 0.18.
Version: 4.2.0
Date: 2020-01-26

  Changes:
    - Added mod setting to lock unlimited request slots behind the final character logistic slots research.
Version: 4.1.11
Date: 2019-10-06

  Bugfixes:
    - Fixed setting a main network wouldn't work at all when the player had ropobort equipment in the armor.
Version: 4.1.10
Date: 2019-10-06

  Bugfixes:
    - Fixed auto pausing when the main network became invalid.
Version: 4.1.9
Date: 2019-09-20

  Changes:
    - Item status display now shows the number of missing items to fulfill the request.

  Bugfixes:
    - Fixed request slot count not resetting properly when clearing requests.
Version: 4.1.8
Date: 2019-07-18

  Bugfixes:
    - Fixed error when loading a save that requires a migration to be run.
Version: 4.1.7
Date: 2019-07-08

  Changes:
    - Requests with 0 amount are no longer set in the vanilla gui.

  Bugfixes:
    - Fixed crash when importing a blueprint with requests.
Version: 4.1.6
Date: 2019-07-03

  Changes:
    - Adding AutoTrash to an existing save only opens the gui when requests/trash is set.

  Bugfixes:
    - Fixed items in armor, gun and ammo inventory not being counted for the request status display.
    - Fixed possible crash when loading a scenario in the map editor.
Version: 4.1.5
Date: 2019-06-23

  Changes:
    - Preset textfield only gets cleared when selecting multiple presets.
    - Select all text when clicking the preset textfield.
    - Adding AutoTrash to an existing save will import existing request/trash filters.
Version: 4.1.4
Date: 2019-06-18

  Bugfixes:
    - Fixed crash when entering a Factorissimo2 building.
    - Fixed error when creating a new scenario via map editor.
Version: 4.1.3
Date: 2019-06-16

  Changes:
    - Added command: /at_import : Imports the vanilla request and trash settings into the mod gui.

  Bugfixes:
    - Fixed error when updating players without a character.
Version: 4.1.2
Date: 2019-06-16

  Features:
    - Combined logistic requests and trash configuration into one window.
    - Click and drop: Hold shift when clicking a configured item, then shift click another button to swap the buttons.
    - It is now possible to load multiple presets at once. If more than one preset contains an item, the maximum request/trash amount is chosen.
    - Right click the main button to quickly load and apply a preset.
    - Shift + Right click the main button to display the status of your requests.

  - Different colors for indicating the status of an order:
    - Added buttons to automatically load stored presets when respawning.
    - Added buttons to import/export the configuration. Holding shift when clicking the export button creates a blueprint with constant combinators containing the configuration.
Version: 4.0.6
Date: 2019-05-23

  Bugfixes:
    - Fixed trashing not working at all.
Version: 4.0.5
Date: 2019-05-01

  Bugfixes:
    - updated for Factorio 0.17.35.
Version: 4.0.4
Date: 2019-03-31

  Bugfixes:
    - Fixed ruleset buttons not working in some circumstances.
Version: 4.0.3
Date: 2019-03-30

  Bugfixes:
    - Fixed items with equipment grid loosing all equipment when being trashed.
Version: 4.0.2
Date: 2019-03-29

  Bugfixes:
    - Fixed error when saving a logistic request with amount of 0.
Version: 4.0.1
Date: 2019-03-10

  Changes:
    - Updated for Factorio 0.17.
    - Replaced buttons in the UI with filter-like buttons (like in the vanilla logistics and autotrash windows).
    - To set a filter use left click, to reset use right click.
Version: 3.0.3
Date: 2018-04-21

  Bugfixes:
    - Fixed crash when mining a ropobort.
Version: 3.0.2
Date: 2018-03-26

  Bugfixes:
    - Fixed checkboxes not saving changes.
Version: 3.0.1
Date: 2018-01-06

  Bugfixes:
    - Fixed gui error.
Version: 3.0.0
Date: 2017-12-14

  Changes:
    - Updated for Factorio 0.16.