Skip to content

hackEarlySend not working #138

@DavisDmitry

Description

@DavisDmitry

Describe the bug

Server does not send LoginSuccessS2CPacket after velocity player info forward handling if hackEarlySend enabled.

Expected behavior

Minecraft version

1.21.9

FabricProxy-Lite version

2.11.0

Fabric API version

0.134.0+1.21.9

Velocity version

custom proxy

FabricProxy-Lite.toml

hackOnlineMode = false
hackEarlySend = true
hackMessageChain = false
disconnectMessage = "This server requires you to connect with Velocity."
secret = "test"

Server log


Proxy log

time=2025-11-14T10:55:33.939+05:00 level=DEBUG msg=packet connection.direction=S2C net.ip=127.0.0.1:25560 connection.state=LoginState packet.id=0x04 packet.name=custom_query op=internal.handlers.configuration.s2cLoginHandler.HandlePacket payload="\x04\x00\x14velocity:player_info\x04"
time=2025-11-14T10:55:33.939+05:00 level=DEBUG msg="velocity player info sent" connection.direction=S2C net.ip=127.0.0.1:25560 connection.state=LoginState packet.id=0x04 packet.name=custom_query op=internal.handlers.configuration.s2cLoginHandler.handlePluginReq payload="\x02\x00N0f=\x98[(\xefа\x16\t\x10.p#\xb2\x7f\xaex\x9c\x8c\xe6\xb39#\x10\xa8\x1d\x13\x8fM\x9f\x04\x0f127.0.0.1:25565\xe6*duO\xfdJ\xac\xb6۰\xc6\t\xbarA\vDmitryDavis\x00"
time=2025-11-14T10:56:03.939+05:00 level=ERROR msg="error while reading packet" connection.direction=S2C net.ip=127.0.0.1:25560 connection.state=LoginState error="error reading frame length: read tcp 127.0.0.1:55349->127.0.0.1:25560: i/o timeout"

Client log


Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions