Replies: 1 comment
-
I believe this is definitely possible. The target address or hostname is part of the handshake packet, sent from the client to the server: https://wiki.vg/Protocol#Serverbound This can probably be implemented by:
I must admit that is has been a while since I dove into the Minecraft protocol, but I'm quite sure it can be done this way without hijacking authentication or something like that. This must probably be implemented here: Lines 67 to 102 in 2c00dba |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This project already does proxying
internet:25565 -> lazymc:25565 -> minecraft server:25566
It is possible to determine the domain the user is connecting to from the login packet
Based on this fact it is possible to direct them to different minecraft servers as such
An example of this is infrared (https://github.com/haveachin/infrared)
I would imagine it could work by splitting
lazymc.toml
to multiple files in a config directory:Beta Was this translation helpful? Give feedback.
All reactions