timvisee / lazymc

💤 Put your Minecraft server to rest when idle.
GNU General Public License v3.0
552 stars 14 forks source link

Issue running lazymc with Crafty Controller #48

Closed NotAnAiYet closed 1 year ago

NotAnAiYet commented 1 year ago

So I'm running my Minecraft Server with Crafty Controller on Windows. To startup my Server I use a simple powershell script which calls the internal API to start the Server rather than the Java Command. This works pretty well. My Issue is with the shutdown of the Server. Once lazymc realises that the server is empty it shuts down the Server over RCON. This works flawlessly and I can see that the Server has been shutdown successfully. Lazymc however thinks the Server is still running and starts trying to forcefully shut down the Server. As the Server is already shut down this obviously doesn't work... It then just keeps trying to forcefully shutdown and never goes back to a state where I could start up the Server again by joining.

Am I missing something? Why does lazymc not realise that the server has been shutdown?