question

Brent Batas (Lisk) avatar image
Brent Batas (Lisk) asked

How do you terminate a Server 2.0 server?

In legacy game servers, we can terminate a server by going to Active Games, selecting the server, then clicking Terminate Server Instances.

https://i.imgur.com/VAcJgUG.png

I expect to see a similar link/button in Servers 2.0:

https://i.imgur.com/nzFmDSK.png

However, there is only the option to Connect, which provides me with some RDP details.

How can I terminate a Server 2.0 server?

In production, I will probably have some failsafes that will terminate the server exe if there are no more players for a period of time, but it is still essential to have the power to terminate servers manually in case of

1) initial testing, where I don't have those failsafes built in

2) in case those failsafes fail (which sometimes happens), I want to make sure we don't have an empty server taking up resources

Custom Game Serversgame manager
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

A workaround of terminating server sessions manually is sending a request via API ShutdownMultiplayerServer. This API is used for shutting down a multiplayer server session. Click the link for more API reference details.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Brent Batas (Lisk) avatar image Brent Batas (Lisk) commented ·

Thanks for the workaround - I just submitted a feature request for having a button to do this, but the workaround, though annoying, should be workable in the meantime.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.