[PR #2418] [MERGED] Apply the legacy announce-player-achievements key #4297

Closed
opened 2026-11-03 04:16:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2418
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/announce-player-achievements


📝 Commits (1)

  • aed4e26 Apply the legacy announce-player-achievements key

📊 Changes

1 file changed (+8 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game/dedicated.rs (+8 -0)

📄 Description

What and why

An old server.properties with announce-player-achievements=false should turn off advancement messages in chat. Horizon read the key and then dropped it, so the messages kept showing. Now, when the legacy key is present, the dedicated server sets the show_advancement_messages game rule to its value on start (and the key is still removed from the file, as in vanilla).

Vanilla reference

  • DedicatedServer.initServer (applies announcePlayerAchievements to GameRules.SHOW_ADVANCEMENT_MESSAGES)
  • DedicatedServerProperties.announcePlayerAchievements

Self-check

cargo check -p horizon-client passes.


🔄 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/2418 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/announce-player-achievements` --- ### 📝 Commits (1) - [`aed4e26`](https://github.com/horizon-rust/horizon/commit/aed4e26f599f1c98230bdcba283a5b0640cac3bb) Apply the legacy announce-player-achievements key ### 📊 Changes **1 file changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/dedicated.rs` (+8 -0) </details> ### 📄 Description ## What and why An old `server.properties` with `announce-player-achievements=false` should turn off advancement messages in chat. Horizon read the key and then dropped it, so the messages kept showing. Now, when the legacy key is present, the dedicated server sets the `show_advancement_messages` game rule to its value on start (and the key is still removed from the file, as in vanilla). ## Vanilla reference - `DedicatedServer.initServer` (applies `announcePlayerAchievements` to `GameRules.SHOW_ADVANCEMENT_MESSAGES`) - `DedicatedServerProperties.announcePlayerAchievements` ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:16:09 +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#4297
No description provided.