midspace / Space-Engineers-Admin-script-mod

Modding script for Space Engineers with dozens of Admin commands for creating game scenarios or supporting servers.
45 stars 13 forks source link

Feature Request, shutdown/restart function #154

Closed EngineerBean closed 8 years ago

EngineerBean commented 8 years ago

Just a small request of a shutdown/restart command that would save game and force a close. Which in my case I have a batch file that would start server again.

midspace commented 8 years ago

There isn't any internal command to shutdown or restart a server via the API. We could intentionally crash the server, but I would not recommend that at all, as you risk corrupting the save file if it happened during the save.

EngineerBean commented 8 years ago

ok, no worries. Thanks for the quick response.

FabioZumbi12 commented 6 years ago

Hi midspace, Just to know, still the API dont allowing to restart the game?

midspace commented 6 years ago

The server does not have any functionality to restart. KeenSWH need to add this first before they can add the API.