Wiretap – Stats Exporter

by drkraus

Periodically exports game vitals as JSON to script-output: logistic network item counts, electric network production/consumption/accumulator charge per surface, production totals, pollution, research and evolution. Poll it from Home Assistant, Prometheus, MQTT or anything else via the bundled companion bridge, or query live over RCON with /wiretap.

Content
3 days ago
2.0
2
Logistic network

Changelog

Version: 1.0.1
Date: 2026-07-18
  Bugfixes:
    - "Write on server only" made every export a silent no-op in single player (for_player=0 only
      writes "if a server is present"). The setting is now applied only in actual multiplayer;
      in single player the file is always written.
  Features:
    - Space platforms now report power statistics: the platform hub is scanned as an electric
      network representative, since platforms have no electric poles.
Version: 1.0.0
Date: 2026-07-18
  Features:
    - Initial release.
    - Periodic JSON export of logistic network item and robot counts per surface and force.
    - Per-electric-network production/consumption in watts and accumulator charge/capacity per surface.
    - Production totals, pollution, research, evolution, rockets, players online.
    - Snapshot and append-only NDJSON journal output modes.
    - Remote interface and /wiretap command for live RCON polling.