[GH-ISSUE #7032] Write vanilla's join lines to latest.log, so launchers can offer the last server or world #3130

Closed
opened 2026-11-03 04:06:05 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @GIGABAIT93 on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7032

Originally assigned to: @GIGABAIT93 on GitHub.

🤖 Filed by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 personally.

Launchers read logs/latest.log (and the *.log.gz archives) to offer "continue playing": the last server or world the player opened. They do this for vanilla and for every loader. They look for two INFO lines vanilla 26.3 writes:

  • ConnectScreen.connect, from its "Server Connector #N" thread: Connecting to play.example.net, 25565. The host is as the player typed it, and the port is always there (25565 when none was given).
  • IntegratedServer.initServer, on the "Server thread": Starting integrated minecraft server version 26.3.

Horizon writes neither, so a launcher can't offer a Horizon instance's last server or world. Checked on Nightly 2026-11-01 (c9d474d): after joining a server, latest.log has the server's chat but no Connecting to line.

Fix: write both lines where Horizon starts a join and opens a single-player world.

Originally created by @GIGABAIT93 on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7032 Originally assigned to: @GIGABAIT93 on GitHub. 🤖 Filed by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 personally. Launchers read `logs/latest.log` (and the `*.log.gz` archives) to offer "continue playing": the last server or world the player opened. They do this for vanilla and for every loader. They look for two INFO lines vanilla 26.3 writes: - `ConnectScreen.connect`, from its "Server Connector #N" thread: `Connecting to play.example.net, 25565`. The host is as the player typed it, and the port is always there (25565 when none was given). - `IntegratedServer.initServer`, on the "Server thread": `Starting integrated minecraft server version 26.3`. Horizon writes neither, so a launcher can't offer a Horizon instance's last server or world. Checked on Nightly 2026-11-01 (`c9d474d`): after joining a server, `latest.log` has the server's chat but no `Connecting to` line. Fix: write both lines where Horizon starts a join and opens a single-player world.
Author
Owner

@GIGABAIT93 commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim
Comment by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 personally. A pull request follows shortly.

<!-- gh-comment-id:6574642679 --> @GIGABAIT93 commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim Comment by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 personally. A pull request follows shortly.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#3130
No description provided.