Page 1 of 1

[Headless 0.12.24] How can I disable autosave server-side ?

Posted: Tue Mar 01, 2016 4:18 pm
by Kalissar
Hello.
First of all, thank you for this amazing game. I'm headed to the "First impression" topic after submitting this one.

I set up a headless server at home to play with my newly-converted friends.
We deactivated the client-side autosaves.
And the wiki -- I would put a link but this is my first post so I can't.. I learned that when my first try for this post went to trash without notice :(-- says this :
Game is paused while there are no players connected
Saves the game on exit (and autosaves normally)
I really don't like the small save window popping out every two minutes or so.
Is there any way to deactivate the server-side autosave properly ?

Again, thank you very much in advance.
Kalissar

Re: [Headless 0.12.24] How can I disable autosave server-side ?

Posted: Tue Mar 01, 2016 4:23 pm
by Oxyd
The server takes --autosave-interval and --autosave-slots parameters to change how often and how many autosaves will be done. Setting any of them to 0 will disable autosaves.

So, for example

Code: Select all

factorio --start-server name --autosave-slots 0
will give you a server that doesn't autosave.

Run factorio --help to see a list of all command line options.

Re: [Headless 0.12.24] How can I disable autosave server-side ?

Posted: Tue Mar 01, 2016 4:31 pm
by Kalissar
I feel stupid for launching an executable without even trying to --help it. Something I never do.. it must have been the urge to play Factorio that distracted me !
Thank you very much for your swift response.