-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Discussed in #35
Originally posted by tW4r December 21, 2022
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
server-a.example.com:25565 \ / minecraft server-a:25566
+-> lazymc:25565 ->+
server-b.example.com:25565 / \ minecraft server-b:25567
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:
# file 1
[public]
address="server-a.example.com"
[server]
address="127.0.0.1:22566"
# file 2
[public]
address="server-b.example.com"
[server]
address="127.0.0.1:22567"
```</div>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request