Page 1 of 1
Server running in background?
Posted: Mon Jul 15, 2019 6:28 pm
by irbork
How do you keep the server running in background when you go back to the main menu?
How to set up autopause when there is no players online? Is there server config file, because the server creation gui has very limited options.
I need the server to autopause when I am in work and no one is playing on windows.
Re: Server running in background?
Posted: Tue Jul 16, 2019 12:18 pm
by Zavian
Setup a headless server.
https://wiki.factorio.com/Multiplayer#D ... ess_server
I recommend using either a separate computer or a dedicated install (eg using the .zip download), because trying to run two instances that share the same folders will probably result in error when they both try to open the same logfile.
Re: Server running in background?
Posted: Thu Jul 18, 2019 11:29 am
by Octal40
Launch the client with the --no-log-rotation parameter if you want to run the server and client out of the same install. It's in the instructions Zavian linked.
By default, the world pauses if there are no players connected to a dedicated server. You'd need to alter the server-settings.json file to allow the world to continue without players AND specify the settings file in the command when you launch the server.