fix(paper,paper-gamemode): authenticate against Mojang directly#107
Merged
fix(paper,paper-gamemode): authenticate against Mojang directly#107
Conversation
Both images shipped with online-mode=false + Velocity-modern-
forwarding enabled — a config that only makes sense behind a
Velocity proxy that does the auth and signs the player profile.
There's no Velocity in the architecture: mc-router handles fan-out
via raw TCP/SNI relay, no protocol-level auth. So Paper saw the
client directly, computed an offline-mode UUID via
nameUUIDFromBytes("OfflinePlayer:<name>"), and that didn't match
the Mojang-resolved UUID we whitelisted. Players got "You are not
whitelisted on this server!" even though they were in the list.
Flip both images to authenticate directly:
- server.properties online-mode=true
- paper-global.yml proxies.velocity.enabled=false
If we later add Velocity for hub/queue/cross-server features,
revisit — modern forwarding wants this exact reverse pair.
This was referenced May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Servers shipped with online-mode=false + Velocity-modern-forwarding-enabled, but there's no Velocity proxy in the architecture (mc-router is just SNI relay). Result: offline-mode UUIDs that don't match the Mojang-resolved whitelist. Flip both to direct Mojang auth.