Skip to content

Fix login status after backend disconnect - #1864

Open
CheekyNox wants to merge 1 commit into
PaperMC:dev/4.0.0from
CheekyNox:fix/1696-disconnect-login-status
Open

Fix login status after backend disconnect#1864
CheekyNox wants to merge 1 commit into
PaperMC:dev/4.0.0from
CheekyNox:fix/1696-disconnect-login-status

Conversation

@CheekyNox

@CheekyNox CheekyNox commented Aug 4, 2026

Copy link
Copy Markdown

Summary

  • track whether a player has successfully joined a backend independently of the current server reference
  • report SUCCESSFUL_LOGIN after a backend kick clears that reference
  • add regression coverage for backend disconnects and pre-server-join disconnects

Testing

  • ./gradlew :velocity-proxy:test --tests com.velocitypowered.proxy.connection.client.ConnectedPlayerTest :velocity-proxy:checkstyleMain :velocity-proxy:checkstyleTest

Fixes #1696

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected DisconnectEvent#getLoginStatus() result when disconnected by the backend

1 participant