LunaPixelStudios / Medieval-MC

https://lunapixel.studio/discord
https://lunapixel.studio/discord
15 stars 10 forks source link

Stopping the server? #589

Closed TheQwenton closed 1 year ago

TheQwenton commented 1 year ago

I am using the stop command to stop the server, but I am not getting the press any key to exit option like any other server would give you. Is this intended or is there another way to stop the server?

I am using the Fabric version of Medieval MC

image

chorbintime commented 1 year ago

If you just close the powershell window, does everything save?

The logs shows that all chunks saved.

DukeofLeet commented 1 year ago

I am having a similar issue with the closing rrp woof:arrp line never finishing, and therefore the server never detects itself as successfully shut down. I have tested openJDK 17 and Oracle's official JDK 17. Both have the issue.

Additionally, forcing the console to close at this point also leaves the java.exe environment running with most of the server's memory still in use.

TheQwenton commented 1 year ago

I am having a similar issue with the closing rrp woof:arrp line never finishing, and therefore the server never detects itself as successfully shut down. I have tested openJDK 17 and Oracle's official JDK 17. Both have the issue.

Additionally, forcing the console to close at this point also leaves the java.exe environment running with most of the server's memory still in use.

This is a much better description of the issue I am having. I am trying to setup server sleep and server restarts. The server is correctly displaying that it shuts down (despite saving correctly). There should be a prompt to “Press any key to continue…” upon stopping the server. Instead you must exit out of the powershell window