Add join forward method to proxy to other address while server starts

This commit is contained in:
timvisee
2021-11-15 18:03:03 +01:00
parent 32cd9ffc73
commit db99289ea7
5 changed files with 96 additions and 27 deletions

View File

@@ -87,6 +87,16 @@ command = "java -Xmx1G -Xms1G -jar server.jar --nogui"
# Keep below Minecraft timeout of 30 seconds.
#timeout = 25
[join.forward]
# Forward occupation method.
# Instantly forwards (proxies) the client to a different address.
# You may need to configure target server for it, such as allowing proxies.
# Consumes client, not allowing other join methods afterwards.
# IP and port to forward to.
# Forwarded-to server will receive original client handshake and login request as received by lazymc.
#address = "127.0.0.1:25565"
[lockout]
# Enable to prevent everybody from connecting through lazymc. Instantly kicks player.
#enabled = false