[GH-ISSUE #5954] Realms, friends and social interactions: in scope? (they are skip:service today) #1899

Closed
opened 2026-11-02 15:50:28 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @xFedeT on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5954

Originally assigned to: @xFedeT on GitHub.

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

xFedeT would like to work on vanilla's friends, social interactions and Realms. The repository's rules say Horizon does not offer them today, so this issue asks whether they are in scope before anyone writes code, and records what each part would take.

What the repository says today

  • tools/port_ledger.py has the skip reason service: "an online service Horizon doesn't offer: Realms, telemetry, chat reporting, social". The port map marks every Realms, friends and social class with it (tools/port_map/client2-016.tsv: the nine friends screens and widgets; client2-009.tsv: Gui.addSocialInteractionsToast; client2-011.tsv: RealmsButton; client2-014.tsv: TitleScreen.tick).
  • Options > Online is greyed out (OnlineOptionsScreen and OptionsScreen.createOnlineButton are missing in client2-017.tsv), and the options realmsNotifications, inGameNotification and sharePresence are saved but read by nothing (options_ui.rs).
  • Horizon's own "Play with Friends" (docs/play-with-friends.md) is invite codes and an encrypted tunnel, with no account; it is not the Mojang friends service.
  • The Microsoft sign-in exists in the launcher (docs/microsoft-account.md: device code, Xbox, XSTS, a 24 h Minecraft access token and the profile), and an online-mode server accepts it.

What vanilla 26.3 has, and what each part needs

Part Size in vanilla What it needs
Social interactions (gui/screens/social/: SocialInteractionsScreen, PlayerSocialManager, the player list, hide and block) 5 classes hiding and blocking a player in chat is local; the blocklist and the "friends" tab come from Mojang's services
Friends (gui/screens/friends/, FriendsButton, FriendToast, PresenceSharing) 9 screens and widgets a Mojang friends service (requests, presence). Its client is in the authlib jar, not in the decompiled client sources, so its protocol is not something this repository has read
Realms (com.mojang.realmsclient) about 141 files: 43 DTOs, 22 screens, 15 configuration screens, 13 tasks, world upload and download HTTPS to realms.minecraft.net with the Minecraft access token (x-mojangauth); a Realms subscription to try any of it

Questions for the maintainers

  1. Are Realms, friends or social interactions in scope for Horizon at all? If not, this issue can close and the greyed-out Options > Online stays as it is.
  2. If yes, which first? The part that needs no Mojang service is hide/block of players in chat (local, and HideMatchedNames, OnlySecureChat and SaveChatDrafts are waiting on it); Realms is the biggest, and the only one a Horizon user without a subscription cannot use.
  3. May an agent read authlib to learn the friends protocol? Without it only Realms and the local part can be built.

No code is written and nothing is claimed. #3859 (coordination), the roadmap row port-ledger (#3912).

Originally created by @xFedeT on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5954 Originally assigned to: @xFedeT on GitHub. > 🤖 Filed by xFedeT's AI agent (Claude Code, Claude Sonnet 5.5), not by xFedeT personally. xFedeT would like to work on vanilla's friends, social interactions and Realms. The repository's rules say Horizon does not offer them today, so this issue asks whether they are in scope before anyone writes code, and records what each part would take. ## What the repository says today - `tools/port_ledger.py` has the skip reason `service`: "an online service Horizon doesn't offer: Realms, telemetry, chat reporting, social". The port map marks every Realms, friends and social class with it (`tools/port_map/client2-016.tsv`: the nine `friends` screens and widgets; `client2-009.tsv`: `Gui.addSocialInteractionsToast`; `client2-011.tsv`: `RealmsButton`; `client2-014.tsv`: `TitleScreen.tick`). - `Options > Online` is greyed out (`OnlineOptionsScreen` and `OptionsScreen.createOnlineButton` are `missing` in `client2-017.tsv`), and the options `realmsNotifications`, `inGameNotification` and `sharePresence` are saved but read by nothing (`options_ui.rs`). - Horizon's own "Play with Friends" (`docs/play-with-friends.md`) is invite codes and an encrypted tunnel, with no account; it is not the Mojang friends service. - The Microsoft sign-in exists in the launcher (`docs/microsoft-account.md`: device code, Xbox, XSTS, a 24 h Minecraft access token and the profile), and an online-mode server accepts it. ## What vanilla 26.3 has, and what each part needs | Part | Size in vanilla | What it needs | |---|---|---| | Social interactions (`gui/screens/social/`: `SocialInteractionsScreen`, `PlayerSocialManager`, the player list, hide and block) | 5 classes | hiding and blocking a player in chat is local; the blocklist and the "friends" tab come from Mojang's services | | Friends (`gui/screens/friends/`, `FriendsButton`, `FriendToast`, `PresenceSharing`) | 9 screens and widgets | a Mojang friends service (requests, presence). Its client is in the `authlib` jar, not in the decompiled client sources, so its protocol is not something this repository has read | | Realms (`com.mojang.realmsclient`) | about 141 files: 43 DTOs, 22 screens, 15 configuration screens, 13 tasks, world upload and download | HTTPS to `realms.minecraft.net` with the Minecraft access token (`x-mojangauth`); a Realms subscription to try any of it | ## Questions for the maintainers 1. Are Realms, friends or social interactions in scope for Horizon at all? If not, this issue can close and the greyed-out `Options > Online` stays as it is. 2. If yes, which first? The part that needs no Mojang service is hide/block of players in chat (local, and `HideMatchedNames`, `OnlySecureChat` and `SaveChatDrafts` are waiting on it); Realms is the biggest, and the only one a Horizon user without a subscription cannot use. 3. May an agent read `authlib` to learn the friends protocol? Without it only Realms and the local part can be built. No code is written and nothing is claimed. #3859 (coordination), the roadmap row `port-ledger` (#3912).
Author
Owner

@xFedeT commented on GitHub (Nov 1, 2026):

/claim

<!-- gh-comment-id:6559190729 --> @xFedeT commented on GitHub (Nov 1, 2026): /claim
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#1899
No description provided.