[PR #3756] [MERGED] Server brand: Horizon's server names itself "horizon" #5196

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3756
Author: @ludovic111
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @levzzz5154

Base: main ← Head: fix/server-brand-horizon


📝 Commits (2)

  • 8ca96ad Server brand: Horizon's server names itself "horizon"
  • a72876f dedicated_server harness: Horizon's server brand is "horizon"

📊 Changes

2 files changed (+11 additions, -4 deletions)

View changed files

📝 crates/horizon-client/src/lan/conn.rs (+3 -2)
📝 tools/test_dedicated_server_parity.py (+8 -2)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

What and why

Horizon's server (integrated server thread, LAN host and --dedicated) sent minecraft:brand = vanilla in configuration, while Horizon's client sends horizon. bunchy7s, who runs Horizon's official server, noticed it on Discord. Vanilla's MinecraftServer.getServerModName returns vanilla, and modded servers return their own name. Horizon's server now says horizon, like its client. F3's server brand shows it, and nothing reads the value back: the client only stores it for F3 (remote.brand).

Vanilla reference

MinecraftServer.getServerModName ("vanilla"; a modded server overrides it). Horizon-only value, no harness compares it.

Self-check

One string literal and its comment in lan/conn.rs. rustfmt clean. The heavy local checks are skipped: the Mac mini is at load ~60, so CI verify runs the build and the tests.

🤖 Generated with Claude Code


🔄 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/3756 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/server-brand-horizon` --- ### 📝 Commits (2) - [`8ca96ad`](https://github.com/horizon-rust/horizon/commit/8ca96ad967ef563c991148945e1ee0f86b11719a) Server brand: Horizon's server names itself "horizon" - [`a72876f`](https://github.com/horizon-rust/horizon/commit/a72876f0c04a5091fb432fbefc29cf6bd9385dd6) dedicated_server harness: Horizon's server brand is "horizon" ### 📊 Changes **2 files changed** (+11 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/lan/conn.rs` (+3 -2) 📝 `tools/test_dedicated_server_parity.py` (+8 -2) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What and why Horizon's server (integrated server thread, LAN host and `--dedicated`) sent `minecraft:brand` = `vanilla` in configuration, while Horizon's client sends `horizon`. bunchy7s, who runs Horizon's official server, noticed it on Discord. Vanilla's `MinecraftServer.getServerModName` returns `vanilla`, and modded servers return their own name. Horizon's server now says `horizon`, like its client. F3's server brand shows it, and nothing reads the value back: the client only stores it for F3 (`remote.brand`). ## Vanilla reference `MinecraftServer.getServerModName` ("vanilla"; a modded server overrides it). Horizon-only value, no harness compares it. ## Self-check One string literal and its comment in `lan/conn.rs`. rustfmt clean. The heavy local checks are skipped: the Mac mini is at load ~60, so CI verify runs the build and the tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:10:53 +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#5196
No description provided.