Author Topic: Safely shutting down a dedicated server  (Read 417 times)

Is there any console command to safely shut down a dedicated server? By this I mean closing the server like you would with a regular server; it saves the default server name, auto-admin data and all the stuff it would normally save.

Something like quit(); ?


Yes quit(); works, I've done it many times before. Closing the window itself also works, it exports the server prefs before shutting down completely.

Closing the window itself also works, it exports the server prefs before shutting down completely.

This is what I do and it never saves anything.

i thought it saved all the data as you changed it, at least it does for me, when i end a server i just use the x button :D

quit();
saves preferences(as they may have been changed during the session) as it should like you were to quit the client.