Could I terminate server instances via web api when server instances is crashed.
Could I terminate server instances via web api when server instances is crashed.
If a custom game server instance crashes, then it's no longer running - there would be nothing to terminate. Can you describe the scenario you're envisioning?
Some times programe may crashed with Breakpoint. This situation should not happen. But I want have safeguards to close a server instance which run for a long time in case.
Yes, hosted servers should always be set to run in headless mode, so that they never require interaction. If you find that a server isn't responding, you'll need to terminate it in the Game Manager. You should also make sure you're using the log output to record any errors that occur in the server, so that you can review that in the log we capture for you and so work on a fix. But at the moment, there is no auto-termination of servers, in part to prevent unintended terminations.
2 People are following this question.