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

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Kalissar
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Mar 01, 2016 4:01 pm
Contact:

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

Post 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

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

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

Post 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.

Kalissar
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Mar 01, 2016 4:01 pm
Contact:

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

Post 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.

Post Reply

Return to “Technical Help”