How to change the autosave interval on a Factorio server
Set "autosave_interval": 5 in config/server-settings.json in your SLASHPLAY server's Files tab and restart. The default is every 10 minutes.
autosave_interval
How often the server autosaves, in minutes. The default is 10; 0 turns autosaves off.
"autosave_interval": <minutes> Examples
"autosave_interval": 5 Autosaves every 5 minutes.
Arguments
minutesRequired- Minutes between autosaves, or 0 for none.
What it does
A shorter interval loses less progress after a crash, at the cost of more frequent save pauses.
Good to know
- Edit
config/server-settings.jsonin the Files tab (Advanced, Files), then restart the server from the Power section on the General tab. It applies at the next start. /config set autosave-interval 5changes it until the next restart.- SLASHPLAY also saves the map with
/server-savebefore every backup and every stop.
Run it on your server
Type commands with the leading slash in the Console tab, which runs them as the server; in game, admins type them in chat. Settings go in config/server-settings.json in the Files tab and apply at the next restart. New to this? Start a Factorio server first.
Your own
Factorio server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.