Sandertv / gophertunnel

General purpose library for Minecraft Bedrock Edition software written in Go
MIT License
423 stars 96 forks source link

Joining the BDS with an unauthenticated minecraft.Dialer does not work #26

Closed Sandertv closed 4 years ago

Sandertv commented 4 years ago

As of the 1.13 update, connecting to the vanilla BDS (online-mode=false) without passing an email/password to the minecraft.Dialer used to dial a connection to the server results in the connection being closed with the following message: disconnectionScreen.notAuthenticated

Sending the exact login.ClientData and login.IdentityData of a player that would otherwise be able to connect to the server using the minecraft.Dialer fields makes no difference.

The disconnection occurs directly after the Login packet is sent, meaning something has changed in the Login packet, presumably something with the JWT chain.