Add option to automatically rewrite server.properties file

This tries to fiend the server.properties file of the Minecraft server,
and sets the correct IP and port as configured within lazymc. This is
enabled by default.
This commit is contained in:
timvisee
2021-11-08 19:10:50 +01:00
parent a5fbdc8d30
commit a7a182fbcb
6 changed files with 199 additions and 3 deletions

View File

@@ -38,3 +38,7 @@ motd_starting = "§2☻ Server is starting...\n§7⌛ Please wait..."
# Login (kick) message when server is starting.
login_starting = "Server is starting... §c♥§r\n\nThis may take some time.\n\nPlease try to reconnect in a minute."
[advanced]
# Automatically set internal IP and port in Minecraft server.properties file.
rewrite_server_properties = true