Skip to content

[Bug]: When using Velocity Proxy, Create Mod Server Settings do not arrive at Client. #52

@HB-Stratos

Description

@HB-Stratos

Mod Loader (Required)

Fabric

Minecraft Version (Required)

1.19.2

Mod Version (Required)

4.2.9

Notes (Required)

The issue I'm facing is that when connecting to a fabric backend via velocity, the server settings package of the create mod never seems to make it to the client. E.g. if the max rail placement distance is increased on the server, the client still behaves as if it was at default, the preview shows an error beyond the default length. However, longer rails can still be placed up to the server side limit despite the display. This is quite annoying to deal with as one can't tell where the actual length limit is. Players also can't see each other on journeymap, which may or may not be related.

I've dug into the code and spoken to @IThundxr (Dev of Create:Steam'nRails), which has resulted in me noticing that the relevant variable maxTrackPlacementLength is already set to the value in the server config when the client tries to draw the track overlay for the first time, and then seemingly cached on client side. This seems to imply that said variable is set by ForgeConfigApiPort on world load/login, and that on the setup with velocity this communication is what fails.

Please refer to PaperMC/Velocity#1191 where I have detailed all my research and also included relevant logs.

This is all I've been able to figure out so far. Thanks in Advance for Help!

latest.log (Optional)

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions