PacketEvents fails to map Packet ID 835 on XCord 1.21.x (DecoderException)
Describe the bug When a player attempts to join the server running Minecraft 1.21, the connection fails with a DecoderException. The error states that PacketEvents is unable to map Packet ID 835 to a valid PacketType constant during the LOGIN state.
Software brand XCord 1.21.x
Plugins VulcanBungee ViaVersion UniverseProxy (custom) SkinsRestorer ProxyCore (custom) PlHidePro PacketEvents BungeeCord 2.7.0 nLogin Premium MineStore Maintenance LuckPerms Bungee LiteBans FallbackServer
How To Reproduce Steps to reproduce the behavior: Start an XCord1.21 proxy with PacketEvents & NLogin (or jpremium and any other authentication plugin) installed. Attempt to join the network using a vanilla 1.21 client. Observe the error in the console and client disconnect message.
Expected behavior The player should be able to connect to the server without any packet mapping issues.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context The issue may be related to nLogin, as it handles authentication during the LOGIN state where the error occurs.
It’s possible that nLogin is not yet compatible with XCord 1.21, and this causes PacketEvents to receive an unrecognized packet (ID 835).
Disabling nLogin temporarily removes the error, which suggests it's the likely cause.
Let me know if logs or further testing are needed to confirm this behavior.
is this reproducible on latest bungeecord/waterfall? if not, please report this to xcord - as they are a closed-source bungeecord fork, we can't really fix this issue on our side
And use latest development build of packetevents https://ci.codemc.io/job/retrooper/job/packetevents/
Resolved