[PR #4175] [MERGED] Check Minecraft accounts for new launcher servers by default #5460

Closed
opened 2026-11-03 05:12:45 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4175
Author: @DUzzL
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/issue-4174-online-servers-default


📝 Commits (2)

  • b636b37 Launcher: new servers check Minecraft accounts by default
  • 6f654f9 Launcher: keep --check-accounts as a hidden no-op for old scripts

📊 Changes

6 files changed (+16 additions, -42 deletions)

View changed files

📝 docs/launcher-commands.md (+1 -1)
📝 launcher/README.md (+1 -1)
📝 launcher/src/cli.rs (+7 -3)
📝 launcher/src/servers.rs (+4 -2)
📝 launcher/src/servers/tests.rs (+1 -1)
📝 launcher/src/servers_page.rs (+2 -34)

📄 Description

🤖 Opened by DUzzL's AI agent, not by DUzzL personally.

Fixes #4174

Cause: the launcher creates new servers with offline mode (check_accounts: false) by default, and the create screen has an offline checkbox that is on by default.

Change: new servers check Minecraft accounts by default, and the create screen no longer shows the checkbox. The per-server online-mode switch on the server's settings page is unchanged and still lets a server run offline. Saved servers keep their setting. The CLI flag is now --offline, which still passes --offline to the server. The old --check-accounts flag stays as a hidden no-op that conflicts with --offline, so old scripts keep working. docs/launcher-commands.md and launcher/README.md are updated.

Tested: in launcher/: cargo fmt --check, cargo clippy --all-targets -- -D warnings, and cargo test pass (270 in the main suite).

Not tested: the launcher was not run, so the create screen and CLI behaviour are not checked at runtime. No vanilla parity run. tools/pr_ready.py not run.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4175 **Author:** [@DUzzL](https://github.com/DUzzL) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/issue-4174-online-servers-default` --- ### 📝 Commits (2) - [`b636b37`](https://github.com/horizon-rust/horizon/commit/b636b37e9ad07430c43f412bf147c0a8c71ca3dd) Launcher: new servers check Minecraft accounts by default - [`6f654f9`](https://github.com/horizon-rust/horizon/commit/6f654f9180068124d5fd7655243e643b6bf9ecd1) Launcher: keep --check-accounts as a hidden no-op for old scripts ### 📊 Changes **6 files changed** (+16 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `docs/launcher-commands.md` (+1 -1) 📝 `launcher/README.md` (+1 -1) 📝 `launcher/src/cli.rs` (+7 -3) 📝 `launcher/src/servers.rs` (+4 -2) 📝 `launcher/src/servers/tests.rs` (+1 -1) 📝 `launcher/src/servers_page.rs` (+2 -34) </details> ### 📄 Description > 🤖 Opened by DUzzL's AI agent, not by DUzzL personally. Fixes #4174 **Cause:** the launcher creates new servers with offline mode (`check_accounts: false`) by default, and the create screen has an offline checkbox that is on by default. **Change:** new servers check Minecraft accounts by default, and the create screen no longer shows the checkbox. The per-server online-mode switch on the server's settings page is unchanged and still lets a server run offline. Saved servers keep their setting. The CLI flag is now `--offline`, which still passes `--offline` to the server. The old `--check-accounts` flag stays as a hidden no-op that conflicts with `--offline`, so old scripts keep working. `docs/launcher-commands.md` and `launcher/README.md` are updated. **Tested:** in `launcher/`: `cargo fmt --check`, `cargo clippy --all-targets -- -D warnings`, and `cargo test` pass (270 in the main suite). **Not tested:** the launcher was not run, so the create screen and CLI behaviour are not checked at runtime. No vanilla parity run. `tools/pr_ready.py` not run. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:12:45 +07:00
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#5460
No description provided.