Skip to content

ProtocolLib2PacketEvents v1.0.7 — Pre-login Hotfix

Pre-release
Pre-release

Choose a tag to compare

@Namnarak Namnarak released this 12 Oct 17:42
93b4713

ProtocolLib2PacketEvents v1.0.7 — Deferred Pre-login Channel Hotfix

Pre-release for authentication integration validation.

  • Fixes the ClassCastException: GeneratedTemporaryPlayer$1 cannot be cast to CraftPlayer in deferred LOGIN.CLIENT.LOGIN_START when a ProtocolLib facade is replayed through PacketEvents' Bukkit PlayerManager.
  • When the player is temporary, uses the associated PacketEvents pre-login User and its real Netty channel for filtered and silent inbound/outbound packet transport.
  • Missing pre-login User or channel throws an explicit error, never silently bypassing packet listeners or authentication checks. Real CraftPlayer transport is unchanged.
  • Preserves the project's GPL-3.0 license and copyright notices; API compatibility version stays 5.4.0, implementation release is 1.0.7.

CI: https://github.com/CyoriaSMP-Team/ProtocolLib2PacketEvents/actions/runs/38285274452 — success. Commit: 93b4713f4e8d49001b3dfbcc41998f6d820ada28.

Tests: 22 tests executed, 0 failures/errors, 1 skipped, plus successful shaded build and JAR integrity checks.

Production smoke test 2026-10-13: ProtocolLib2PacketEvents enabled and bridged 437 PacketEvents packet types after the controlled Minecraft restart; no Unable to release deferred packet LOGIN_START or ClassCastException was logged immediately after startup. The prior warning recurred multiple times with the old 1.0.6 JAR. Real premium/cracked/Bedrock account login regression testing is still required before marking this hotfix stable.

One live plugin JAR (ProtocolLib2PacketEvents-1.0.7.jar) should be installed at a time. A 1.0.6 rollback JAR was backed up on the Home Server. Do not use /reload to replace packet transport hooks; use a managed restart.