Automatic Train Refueler


Manages automatic train refueling.

Tweaks
a month ago
2.0 - 2.1
3.10K
Trains

Changelog

Version: 2.1.1
Date: 2026-08-08
  Bugfixes:
    - Fix crash when the exclusion list is empty.
Version: 2.1.0
Date: 2026-08-07
  Bugfixes:
    - A train that departs another station while on its way to the refuel stop is no longer
      dispatched a second time. This could permanently remove the train from its train group
      and discard its schedule.
    - Changing the refuel stop name now restores the schedule of trains that are on their way
      to refuel.
    - Destroying or renaming a refuel stop no longer causes an error when the next train is sent
      for refueling.
    - A refuel stop that was renamed is no longer used as a refuel target until it is renamed
      back.
    - A train that is coupled or decoupled while on its way to refuel keeps its refuel state and
      is still returned to its train group afterwards.
    - Train group interrupts are restored together with the group when the refueled train was the
      last train in that group.
    - Restoring a train group no longer selects an invalid stop if the group schedule was shortened
      while the train was refueling.
    - Only register locomotives that have prototypes for exclusion.
  Changes:
    - Internal bookkeeping for trains that no longer exist is now discarded instead of being kept
      in the save file forever. Existing save files are cleaned up once on load.
Version: 2.0.1
Date: 2026-08-07
  Minor Features:
    - Add console command to list all currently excluded locomotives.
  Bugfixes:
    - print train rich text correctly
Version: 1.3.3
Date: 2026-08-07
  Bugfixes:
    - print train rich text correctly
Version: 2.0.0
Date: 2026-06-24
  Changes:
    - Update to Factorio 2.1
Version: 1.3.2
Date: 2026-08-05
  Minor Features:
    - Group Refuel Stops are now temporary stops
    - Add console command to list all currently excluded locomotives.
Version: 1.3.1
Date: 2026-05-28
  Changes:
    - Register remote API early so other mods can call endpoints in init/load
  Bugfixes:
    - fix refueling for specific train groups.
Version: 1.3.0
Date: 2026-05-03
  Changes:
    - adds a remote interface to allow locomotive mods to register if then don't need refueling.
      This is compatible to the FuelTrainStop mod that was never updated to Factorio 2.0.
    - Ignore 'ElectricTrain' locomotives that do not need refueling.
Version: 1.2.1
Date: 2026-04-28
  Changes:
    - add fuel remaining up correctly
    - minor correctness fixes
Version: 1.2.0
Date: 2025-03-12
  Changes:
    - No longer remove existing interrupts from the schedule.
    - Only adds refueling after a regular stop.
Version: 1.1.0
Date: 2025-02-14
  Changes:
    - Support Train groups.
Version: 1.0.0
Date: 2025-02-07
  Features:
    - Initial release.