Add console command for Saving and autosave before closing dedicated server down
When hosting a dedicated server, if the server goes down there is usually an unpleasant rollback. Because players saves are local this leads to missing crafting materials, duplicated items, and annoyed players.
Could we please get a 'save' command added for admins and through the console. At the very least could the dedicated server save before shutting down.
Comments: 8
-
20 Feb, '21
Alexander Koch -
20 Feb, '21
ParawizardHow are you shutting down the server? It looks to gracefully shutdown on mine properly.
-
21 Feb, '21
LucasI agree with this, this would be a huge quality of life for server admins.
-
22 Feb, '21
Jerichodone in latest patch (the day before you posted it) just press f5 to open console and type "save"
-
23 Feb, '21
patricktype "Save" in F5 console or your remote console from dedi server.
-
24 Feb, '21
JasonWell It seems there is a save command however it only works in game as admin. It really needs to work via the console, and auto save when shutting down.
-
24 Feb, '21
NordmannThis is already in and working :)
Just add your steamID64 (Dec) (steamidfinder.com) to the adminlist.txt in your save folder before starting the server.
As an maintained admin you can then bring up the console (F5) in game and just enter "save" resulting in an "World saved ( xxx ms )" on the dedicated server. -
28 Feb, '21
ParawizardI gracefully stop the server on linux and I am not seeing a rollback? You are saying that a graceful server shutdown does not save the world? Seems like rather low hanging fruit.