ContractMonitor is a KSP 1.12.x mod that keeps a persistent audit trail of career contracts and warns when a tracked contract disappears without a legitimate terminal event.
The current milestone is intentionally recovery-first:
- records accepted active contracts and completed contracts in the save's
ContractMonitorscenario; - stores the complete serialized contract node, including Contract Configurator data;
- records accepted, completed, failed, cancelled, declined, finished, offered, and parameter-change events;
- ignores contracts that are merely offered and compares accepted contracts with
ContractSystemafter loading and during play; - raises a master alarm only after a missing contract remains absent beyond the grace period;
- clears stale missing alarms when the contract is found in KSP's finished/completed collection;
- exports a human-readable recovery package without changing the live save.
It does not yet reinsert contracts automatically. Arbitrary live reinsertion can duplicate rewards or break mod-specific behaviours, so that will be added only after the ledger and save-copy workflow are validated on real careers.
The project defaults to the Steam KSP installation at:
C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program
Override it when needed:
dotnet build -c Release -p:KspDir="D:\Games\Kerbal Space Program"The build output is copied to artifacts/ContractMonitor.dll.
Copy artifacts/ContractMonitor.dll to:
<KSP>\GameData\ContractMonitor\Plugins\ContractMonitor.dll
The mod writes its persistent ledger into each career save. The export button writes a recovery package into that save's ContractMonitor folder.