mojira.dev
MC-45602

Being kicked out of a single player world shows the multiplayer menu

The bug

After being kicked from the game in singleplayer, when clicking "Back to title screen", the multiplayer menu is shown, but it's supposed to be either the title screen or the single player menu.

How to reproduce

Run /kick @s in a creative single player world.
→ ❌ You will be back to the multiplayer screen.

Related issues

MC-25971 Being disconnected/kicked from singleplayer returns you to server list instead of world list MC-29180 Kicked from singleplayer world MC-46047 Kicks In Singleplayer Redirects To Multiplayer Screen MC-48018 trasspassing through the illegal point returns you to multiplayer screen even if you are not in multiplayer MC-58265 Incorrect button linkage upon single player server-side crash/overload MC-80613 Errors causing the player to leave the world lead to server list MC-89060 When teleporting past world boarder getting send to serverlist MC-89645 SIngle player to multiplayer MC-167768 Kicking yourself out of singleplayer puts you in the server list MC-175841 Spamming on single player takes you to multiplayer server list MC-181612 When you /kick yourself in Singleplayer, it returns you to the multiplayer screen, rather than world selection. MC-189972 When /kick @p command is used on a singleplayer world, it brings player back to server list MC-212918 Getting kicked out of a singleplayer world takes you to the server list MC-212920 Acessing the server list via MC-45602 allows you to bypass the multiplayer warning MC-215420 Kicking on Singleplayer kicks you to the Multiplayer menu. MC-222566 When you get 'kicked' in singleplayer, you can only 'return' to server selection MC-230656 Getting into Multiplayer with Microsoft accounts that don't have the permissions to join Multiplayer (Mojang Account Migration) MC-230662 Kicking yourself using /kick in a singleplayer world brings you to your server list MC-234153 About Demo Version MC-241156 Kick command in singleplayer worlds MC-262610 Kicking yourself in a single player world sends you to your server list page. MC-264322 Typing too much chat in a single-player game (frequently) will result in kicking out of the game, but it will return to the server (multiplayer) list after kicking MC-264323 Typing too much chat in a single-player game (frequently) will result in kicking out of the game, but it will return to the server (multiplayer) list after kicking MC-266050 Single-player mode kicks out its own problems

Attachments

Comments

migrated
[media][media][media][media]
kumasasa

Please attach the complete output of the "Development console" which can be found on the second tab of the launcher.

If the launcher closes after game start, please edit your profile and select "Launcher visibility" then, "Keep the launcher open".

migrated

The console outputs nothing concerning the problem. It's only a bad GUI redirection.

[10:24:47 INFO]: Client> [10:24:47] [Server thread/INFO]: Fredb555 lost connection: TextComponent{text='Illegal position', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}

I'm being kicked from solo, the screen with the message "Connection Lost" pops up with reason "Illegal Position". When I press "Back to title screen", it brings me to the Multiplayer server selection menu.

To reproduce it quickly, go in a Singleplayer world (a new one preferably), and do the command /tp ~30000000 ~ ~ two times. You will be kicked and you will understand the problem when clicking the button.

migrated

It also happends in 14w05a, when you enter spectator mode, you exit "inside" an entity (watching its POV) and you hit the entity outside of spectator mode, it outputs "Attempting to atack an invalid entity" (As in MC-46411 )

migrated

Also affects 14w08a. I wanted to test this issue: MC-34074 but I discovered that one instead.

How to reproduce:

  • Create a superflat world (if you create a normal one and you go into the void, you will crash)

  • Use this command "/tp 29999999 ~ ~" to teleport yourself at the end of the map.

  • Go into the void (note that there is no invisible wall)

  • You are kicked off the game and you receive this message: Illegal Position

  • Click the button, you will return to the multiplayer menu

migrated

Still a concern in 14w10x

migrated

Confirmed for 14w18b

migrated

Confirmed for 1.7.5 and 14w18b

migrated

Confirmed for 14w19a.

migrated

Confirmed in 14w25b. As in duplicate report MC-58265.

marcono1234

Confirmed for

  • 14w30c

  • 14w31a

  • Minecraft 1.8-pre 1 now the game crashes

galaxy_2alex

Is there any way to trigger this on 1.8.1 Pre3 or later?

migrated

As of 1.8.1-pre3, I can't seem to reproduce it on a superflat world. If I try to teleport to 30 million, it gives off this error message:

The number you have entered (3.00000005E7) is too big, it must be at most 30000000

Teleporting to a number below 30 million works like a charm with no sudden kick.

migrated

Use a relative teleport and do it multiple times until you cross the border. You've never been able to absolute teleport beyond the border.

migrated

I crossed the border, and got no error message or kick.

galaxy_2alex

Well, yes, confirmed for 1.8.1 pre3.
Thanks.

marcono1234

Very likely duplicated by MC-80613

migrated

Confirmed for 15w38a

migrated

Can't reproduce.

Reproduction steps anyone? Or is it fixed?

Ezekiel

You need to find a kick trigger, which is getting increasingly difficult.

shufboyardee

@unknown, can you share what singleplayer kick you used to confirm this?

[Mod] Neko

Confirmed for 15w45a.

Steps to Reproduce No longer works due to the fix of MC-96499/MC-100950

  • Get an Ender Crystal

  • Place a boat above it

  • Go in boat

  • /gamemode 0

kumasasa

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.

migrated

I was unable to test it because of MC-92255

marcono1234

Looks like MC-92255 is not always blocking this bug. Maybe depends on the used computer and how many threads it can run at the same time?

migrated

I am reliably getting this using /stop in single player with 18w11a.

lord.quadrato

Confirmed for 18w19a and 18w19b.
Update description because of the fix of MC-121636

Steps to Reproduce:

  • Enter a singleplayer world

  • Use /kick @a

migrated

Confirmed for 1.13.1.

migrated

Confirmed for 1.14.2. Right now, they all use the same kick instance, could be fixed by adding check for if in singleplayer world and return to the singleplayer world menu instead.

migrated

Confirmed in 1.16 Pre-release 2.

migrated

Confirmed in 1.16-pre3.

migrated

Confirmed in 1.16-pre4.

migrated

Confirmed in 1.16-pre5.

migrated

Confirmed in 1.16-pre7.

migrated

Confirmed in 20w30a

migrated

Confirmed in 21w03a

migrated

Utilizing this method of accessing the multiplayer menu also allows you to skip the "Caution: Third-Party Online Play" message

Avoma

Can confirm in 21w07a.

Avoma

Video attached.

migrated

Added a screenshot of what I see when kicked in singleplayer.

Also, confirmed in 21w14a.

Avoma

Can confirm in 1.17.

ampolive

Can confirm in 1.17.1 Pre-release 1.

SPGoding

This also allows you to see the multiplayer menu even if you've disabled it in Xbox Safety Settings (MC-230656). You cannot actually join a server though.

Avoma

Can confirm in 1.17.1.

ampolive

Can confirm in 21w40a.

ampolive

Can confirm in 21w44a.

migrated

Can confirm in 22w03a

Avoma

Can confirm in 1.18.2 and 22w11a.

Avoma

Can confirm in 1.19.

Avoma

Can confirm in 1.19.2.

migrated

happened to a friend of mine in 1.19
protip: do NOT dupe a world in file explorer and expect it to fix the glitch, that will end up in the duped world disappearing from the saves folder, at least from my experience

Lunarian

Can confirm in 23w14a.

Lunarian

Can confirm in 1.20.1

Lunarian

Can confirm in 23w42a

migrated

Confirmed in 1.20.2

Lunarian

Update: I canno't longer reproduce in 23w43a. Showing the "Cannot kick server owner in LAN game".

Viradex

Running /kick @s in 1.21 Pre-Release 4 gives me this message:

[media]
COMETC2021A1

Cannot reproduce in 1.21 release.

Viradex

Seems to have been resolved a few snapshots ago. Kicking in LAN also does not work.

[media]
Viradex

As the method in the description no longer works, the reproduction steps should be updated so that it can be reproduced for future versions. 🙂

[Mod] markderickson

(Unassigned)

Confirmed

Platform

Low

Commands, UI

Minecraft 1.7.4, Minecraft 14w04a, Minecraft 14w05a, Minecraft 14w05b, Minecraft 14w06b, ..., 1.20.2, 23w42a, 24w03b, 1.20.6, 1.21 Pre-Release 4

Retrieved