Space Platform Flow Monitor


Reads data from all your space platforms and outputs it to the circuit network via virtual signals. Place a monitor on each platform and manage your entire fleet from the planet surface.

Utilities
9 days ago
2.0
63
Logistic network Circuit network

Changelog

Version: 0.1.7
Date: 2026-03-06
  Improvements:
    - Fleet and History table columns now perfectly aligned with sort header buttons (cell_padding = 0)
    - Tab buttons (Fleet/History) have fixed width matching the table below — no empty space on either side
    - Platform name column widened (230px) to fit longer names without truncation
    - History tab table fills the full panel width (same as Fleet tab)
    - Both tabs render at the same width — switching tabs no longer resizes the window
    - Removed dead code: unused "advanced-monitor" entity reference, orphaned thrust_ratio field, redundant _requests shadow, duplicate signal-writing logic (extracted shared helper)
    - Simplified ETA calculation (removed redundant API call)
Version: 0.1.6
Date: 2026-02-27
  Features:
    - New per-player setting "Fleet panel: platforms to show" — choose "All platforms" or "Only monitored (with SPFM)"
    - Master Monitor configuration panel — anchored to the right of the combinator window (relative GUI), select specific platforms to track via checkboxes
    - Master Monitor red-tinted icons (entity, item, recipe) to visually distinguish from basic monitor
    - Master Monitor only writes signals for platforms with a basic SPFM monitor installed
    - Redesigned group creation dialog: enter name → select platforms → click "Create" — all in one window
    - Group edit (pencil icon) and delete (trash icon) buttons next to the filter dropdown
    - "Create Group" is now a properly sized labeled button
    - Group filter dropdown always visible on Fleet tab (shows "All platforms" even with no groups)
    - Combinator signal section names prefixed with "SPFM" (e.g. "SPFM My Platform")
    - Alert history: clickable platform names navigate to that platform (same style as Fleet tab)
    - Alert history: sortable columns — click Platform, Alert, or Time headers to sort (▲/▼)
    - Alert history: column order changed to Platform | Alert | Event | Time
    - Alert history: time now displayed in game time format (HH:MM:SS) matching Factorio's clock
    - Fleet and History tabs now fill the header row equally (50/50 width)
  Bugfixes:
    - Fixed: Master Monitor config panel no longer appears when opening a basic SPFM monitor
    - Fixed: Master Monitor no longer auto-shows all game platforms — only those with SPFM monitors
    - Fixed: Alert history was not recording events (storage initialization + migration flag)
    - Fixed: Group dropdown closed immediately when clicked (panel was rebuilt every tick)
    - Fixed: Tab and group buttons visually consistent in size and style
    - Fixed: Various Lua errors (nil calls, unknown styles, orphaned code)
Version: 0.1.5
Date: 2026-02-25
  Features:
    - Alert history log — a new "History" tab in the fleet overview shows the last 50 alert events with timestamp, platform name, alert type, and status (fired/cleared). Newest entries appear first.
    - Platform groups — create named groups and assign platforms to them for filtered fleet overview. Use the "Groups..." button to open the group manager, create/delete groups, and toggle platform membership via checkboxes. Select a group from the dropdown to filter the fleet table.
  Changes:
    - Fleet overview now has two tabs: "Fleet" (default) and "History"
    - Group filter dropdown appears on the Fleet tab when groups exist
    - Alert manager now logs all alert fire/clear events to persistent storage (last 50 entries)
Version: 0.1.4
Date: 2026-02-25
  Features:
    - Minimap in HUD — a live minimap of the current platform is displayed inside the HUD overlay when on a platform. Togglable per player via "Show Minimap in HUD" setting.
    - Master Platform Monitor — a new combinator entity that aggregates signals from ALL space platforms into one device. Each platform's data is written into a separate named section. Place anywhere (planet or platform). Unlocked by the same technology as the basic monitor.
  Changes:
    - Master monitor recipe: 2× constant combinator, 5× processing unit, 10× advanced circuit
    - Technology "Space Platform Monitoring" now also unlocks the master monitor recipe
Version: 0.1.3
Date: 2026-02-25
  Features:
    - Sortable columns in fleet overview — click any column header to sort ascending/descending (Name, Cargo%, HP%, Fuel, Status)
    - Manual reorder — use ▲/▼ buttons on each row to arrange platforms in custom order; switching to column sort resets manual order
    - Rich tooltip on platform names — hover to see detailed info: cargo slots, HP, thruster fuel, oxidizer, collectors, ETA, speed, repair packs
    - Sound alert — a warning sound plays for all connected players when a critical (level 2) alert fires on any platform
    - Sort state and manual order persist per player between panel refreshes
Version: 0.1.2
Date: 2026-02-25
  Features:
    - Toolbar button on platforms now cycles through panels: Platform HUD → Fleet Overview → Close (configurable per player)
    - New per-player setting "Toolbar button on platform" — choose between "Both" (full cycle), "Platform HUD only", or "Fleet overview only"
    - Fleet overview panel can now be opened while standing on a platform
    - GUI panels (HUD and fleet overview) now remember their position after being closed and reopened
    - Navigation buttons in fleet overview panel — click a platform name to open remote view on it
    - Fuel column added to fleet overview panel with color-coded thresholds
    - Fuel alerts now functional — warning and critical alerts fire when combined thruster + oxidizer fuel drops below configurable thresholds (in litres)
    - Row color highlighting in fleet overview — critical platforms tinted red, warning platforms tinted yellow
  Changes:
    - Fuel alert thresholds changed from percentage to absolute litres (default: warning 500 L, critical 100 L)
    - Alert level signal now includes fuel status: low fuel → level 1, critically low fuel → level 2
    - Fleet overview table expanded from 4 to 5 columns (added Fuel)
    - Platform names styled as clickable blue links with yellow hover highlight
  Bugfixes:
    - Fixed fleet overview panel being destroyed when navigating between platforms via remote view
    - Remote view navigation no longer triggers panel rebuild (panels persist during camera-only surface switches)
Version: 0.1.1
Date: 2026-02-25
  Bugfixes:
    - Fixed HUD overlay never showing on platforms (space_age_active() used data-stage `mods` table instead of runtime `script.active_mods`)
    - Fixed HUD and alerts reading non-existent cache fields (hub_health, fuel_total, cargo_current) — corrected to hub_health_pct, fuel_thruster/fuel_oxidizer, cargo_slots
    - Fixed alert_manager hub HP checks referencing wrong field name
    - Fixed debug commands (/spfm-debug, /spfm-signals, /spfm-force-write) referencing wrong field and signal names
    - Fixed hardcoded Russian strings in combinator config GUI — replaced with localisation keys
  Optimisations:
    - Platform lookup now uses force.platforms (O(1) dictionary) instead of iterating all game surfaces
    - Entity event filters now applied to on_built_entity and related events (previously fired for every entity placed in the game)
    - Removed full combinator rescan on every save/load — entity references in storage survive save/load cycles
    - Cache.all_indices() rewritten with stateless next() iterator — no longer allocates a temporary table every tick
    - Signal group enabled flags cached at module level — no longer reads settings.global on every combinator write
    - Simplified on_tick platform deduplication from 3 intermediate tables to a single pass
  Changes:
    - HUD fuel display now shows combined thruster fuel + oxidizer in litres
    - Added [spfm-messages] localisation section for combinator config messages (EN + RU)
    - Added first_written field to cache entry initialisation (was implicitly nil)
    - Removed unused THRUSTER_FLUIDS variable from platform_reader
    - Removed unused update_queue from storage structure
    - Removed empty on_player_removed event handler
Version: 0.1.0
Date: 2026-02-21
  Features:
    - Space Platform Flow Monitor — reads platform data and outputs it to the circuit network
    - Virtual signals for cargo (slots used, capacity, fill ratio), hub (HP %, repair active), fuel (thruster litres, oxidizer litres), collectors (total, active, blocked), flight (speed, ETA, in transit, from/to location, weight), alerts (alert level, damage taken), ammo (one signal per ammo type), delivery requests (one signal per requested item type)
    - Planet-side monitoring panel listing all platforms with cargo %, HP % and status
    - HUD overlay when standing on a platform
    - Alert system: low hub HP, blocked collectors, hub taking damage
    - Combinator can be placed on the platform surface or on a planet (with platform selection dialog)
    - Per-player settings for HUD, panel visibility and platform name display
    - Signal groups can be individually enabled/disabled
    - Russian and English localisation