[GH-ISSUE #2055] Add a main-menu control to change the player name, like In-Game Account Switcher #599

Closed
opened 2026-11-02 15:40:23 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kohad1ck on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2055

Originally assigned to: @MSedgeMC on GitHub.

Summary

When playing offline (without a Microsoft account), Horizon generates a player name such as Player10276 and stores it in horizon-player.txt. There is no way to change it from the game. I would like a control on the main menu (title screen) to change the player name before entering a world, like the In-Game Account Switcher mod.

What I mean by "like In-Game Account Switcher"

The In-Game Account Switcher mod shows an account panel on the title screen and lets the player switch accounts or use an offline profile without restarting the game. I am asking for the same basic workflow for the offline name: see the current player name on the main menu, set a new offline name there, and have it used when the next world or server is joined. It does not need to list Microsoft accounts; changing the offline name is the important part.

Proposed behavior

  • Add a Profile or Player control on the main menu showing the current name and whether it is an offline profile.
  • Let the player enter a new offline name from that screen, with validation (1-16 characters, using the same allowed character set the game already accepts for player names).
  • Save the name so it persists across launches (the game currently reads it from horizon-player.txt).
  • Apply it to the next world or connection. If a world is already open, apply it after leaving and rejoining, since a session cannot change identity mid-connection.
  • Optionally keep a list of saved offline profiles and let the player pick one from the main menu.

Why the main menu

  • The title screen is where the player chooses what to play as; changing the name there matches the mod's workflow.
  • The current name and setting are not discoverable from the main menu.
  • Several people sharing one computer can switch names without editing files.

Alternatives considered

  • A field only under Options: less discoverable and does not match the requested main-menu workflow.
  • Editing horizon-player.txt by hand: current workaround, but easy to break.

Additional context

  • Horizon v0.2.57
  • Minecraft Java Edition 26.3
  • Windows 11, 10.0.26200 x64
  • Current offline name example: name:Player10276 in horizon-player.txt.
  • The In-Game Account Switcher port for Horizon shows a HUD panel and can keep offline profiles, but Horizon mods cannot draw title-screen UI yet, so the main-menu UI has to come from the game itself.
Originally created by @kohad1ck on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2055 Originally assigned to: @MSedgeMC on GitHub. ## Summary When playing offline (without a Microsoft account), Horizon generates a player name such as `Player10276` and stores it in `horizon-player.txt`. There is no way to change it from the game. I would like a control on the **main menu** (title screen) to change the player name before entering a world, like the In-Game Account Switcher mod. ## What I mean by "like In-Game Account Switcher" The In-Game Account Switcher mod shows an account panel on the title screen and lets the player switch accounts or use an offline profile without restarting the game. I am asking for the same basic workflow for the offline name: see the current player name on the main menu, set a new offline name there, and have it used when the next world or server is joined. It does not need to list Microsoft accounts; changing the offline name is the important part. ## Proposed behavior - Add a **Profile** or **Player** control on the main menu showing the current name and whether it is an offline profile. - Let the player enter a new offline name from that screen, with validation (1-16 characters, using the same allowed character set the game already accepts for player names). - Save the name so it persists across launches (the game currently reads it from `horizon-player.txt`). - Apply it to the next world or connection. If a world is already open, apply it after leaving and rejoining, since a session cannot change identity mid-connection. - Optionally keep a list of saved offline profiles and let the player pick one from the main menu. ## Why the main menu - The title screen is where the player chooses what to play as; changing the name there matches the mod's workflow. - The current name and setting are not discoverable from the main menu. - Several people sharing one computer can switch names without editing files. ## Alternatives considered - A field only under Options: less discoverable and does not match the requested main-menu workflow. - Editing `horizon-player.txt` by hand: current workaround, but easy to break. ## Additional context - Horizon v0.2.57 - Minecraft Java Edition 26.3 - Windows 11, 10.0.26200 x64 - Current offline name example: `name:Player10276` in `horizon-player.txt`. - The In-Game Account Switcher port for Horizon shows a HUD panel and can keep offline profiles, but Horizon mods cannot draw title-screen UI yet, so the main-menu UI has to come from the game itself.
Author
Owner

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

/claim

<!-- gh-comment-id:6568643163 --> @MSedgeMC commented on GitHub (Nov 2, 2026): /claim
Author
Owner

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

🤖 Agent: closing this as not planned. Horizon follows Mojang's rules: the name a player joins with comes from the Microsoft account that owns Java Edition, and an in-game name or account switcher isn't something we'll add. #6795, which implemented it, is closed for the same reason.

<!-- gh-comment-id:6571724831 --> @ludovic111 commented on GitHub (Nov 2, 2026): 🤖 Agent: closing this as not planned. Horizon follows Mojang's rules: the name a player joins with comes from the Microsoft account that owns Java Edition, and an in-game name or account switcher isn't something we'll add. #6795, which implemented it, is closed for the same reason.
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#599
No description provided.