Closed Leopere closed 1 year ago
I think it's possible since the launcher just starts and wraps the jar executable. Also, in order to terminate the servers gracefully, the wrapper just do the following things:
screen.send_commands("stop") # This is to terminate a bukkit/spigot/etc minecraft server instance
screen.send_commands("end") # This is to terminate a bungeecord
If you want to use other proxy, you can just add your terminate command after these lines.
I will have to brush up on my python I really never put it into practice at all if I'm going to code anything.
Adding another stop command doesn't require you to screw with python. For example, if your proxy uses "terminate" as stop command, just add a screen.send_commands("terminate")
after those two commands.
I believe that Golilypad-Proxy and Golilypad-Connect use "end" so it would likely be. screen.send_commands("end")
For those of us who are allergic to the bungee variety of network.