Rudeman-MoonHistory icon

MoonHistory

Keeps a record of every day on each moon (haul, deaths, weather, interior, events) for this run and all time, and shows it on PerfWatcher's Day Info panel. The host records and shares it; clients can run it too.

By Rudeman
Last updated 4 hours ago
Total downloads 3
Total rating 0 
Categories Mods BepInEx Server-side Tweaks & Quality Of Life AI Generated
Dependency string Rudeman-MoonHistory-1.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

MaxWasUnavailable-LethalModDataLib-1.2.2 icon
MaxWasUnavailable-LethalModDataLib

A library for Lethal Company, providing a standardised way to save and load modded data.

Preferred version: 1.2.2
BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
xilophor-LethalNetworkAPI-3.4.2 icon
xilophor-LethalNetworkAPI

A library/API to allow developers to easily add networking to their mods.

Preferred version: 3.4.2

README

MoonHistory

A logbook for every moon. Each day that ends in a takeoff is recorded: what you hauled back, who died and to what, the weather and interior, the day's events. Next time you route to that moon you can see how it went before.

What you see

MoonHistory has no window of its own. Its record appears on PerfWatcher's Day Info panel (key I):

  • Short view, one line: e.g. History: 4th visit · avg 620 · 2 deaths (Bracken +1).
  • Full view, a HISTORY block: visits this run and all time, average and last haul, "brought back X of Y" from past visits, deaths by cause, the last death (Last: name, cause (day N), or team wipe), time spent there, interiors seen, events, and at the Company what was sold.

Without PerfWatcher it still records, and the short line is written to the log after each takeoff.

It only reads days that are already over, so nothing about today (scrap, events, interior, deaths so far) shows before takeoff.

What counts as the haul

HaulMethod = Kept (default): the value of scrap that wasn't on the ship at landing and is still there after the end-of-day clean-up. That includes a magneted Cruiser's load and scrap kept on a wipe paid for with a SimpleTeamLives life. Vanilla uses the game's own "collected" figure, which is 0 on any wipe.

Where it's stored

  • This run: inside the save slot (through LethalModDataLib), so deleting the save deletes it.
  • All time: BepInEx/MoonHistory/visits.jsonl in your mod profile, one line per day. Kept across runs; includes runs a friend hosted.
  • Cause names come from MoonHistory-causes.txt beside the DLL. Edit it to rename causes; past deaths follow because the raw cause is stored.

Who needs it

  • Host: records the run and sends it to clients (LethalNetworkAPI).
  • Clients: optional. With it, a client shows the host's run record and adds each day to its own all-time log. If the host doesn't run MoonHistory, a client records its own copy for all time only.

Config highlights

BepInEx/config/jacob.moonhistory.cfg

Key Default What it does
General.Enabled true Off records nothing
General.RecordAllTime true Keep visits.jsonl
General.RecordChallengeMoons false Record challenge-moon days (kept apart either way)
General.RecordCompany true Count Company visits and sales
Haul.HaulMethod Kept Kept or Vanilla
Panel.ShowShortLine / ShowAllTime / ShowPastMoonTotals true What the panel includes
Panel.MaxListItems 4 Items per list before "+N more"
Network.SendToClients / AcceptFromHost true Sharing the run record

Requirements

  • Built and tested on v81, BepInEx 5.
  • Requires LethalNetworkAPI and LethalModDataLib (installed automatically).
  • Works alongside PerfWatcher (the panel), Coroner (detailed causes of death), Brutal Company Minus (event names), SimpleTeamLives (lives on wipes), TimeDilation and WeatherRegistry when installed; none of them are required.
  • LethalModDataLib 1.2.2 stops saving mod data for everyone if any plugin fails to load; LethalPackV81Fixer patches that.

AI disclosure

The code, documentation and icon of this mod were generated with Anthropic's Claude (Claude Opus 5.5 and other Claude models, via Claude Code). The author designed the mod, directed the work and tested it in game.