Page 1 of 1

Server hosting

Posted: Wed May 08, 2019 5:08 pm
by munchkinkyle
i would like to be able to host multiple servers on one PC, these servers will be running different versions and different mods on each save. does anyone know how i am supposed to configure this as what i am currently aware of is the server works by using the app-data to store the mods but that would mean that i cant have different servers running different mods

Re: Server hosting

Posted: Thu May 09, 2019 6:25 pm
by TxT
I havent tried that myself yet, but you will need multiple game folders and you have to set every one to another port. Then this should work. You cant use the steam version as it stores everything in appdata, but you can download the game folder from factorio.com if you have an account

Re: Server hosting

Posted: Tue May 14, 2019 6:50 pm
by munchkinkyle
Ahh that actually very helpful saying that the non steam version doesn't use the appdata folder as that should fix all my issues. if it doesn't all make sure to update

Re: Server hosting

Posted: Tue May 14, 2019 8:26 pm
by mexmer
If you are on linux, you can use headless server.

If you are on windows, download zip version of factorio. And follow instructions for windows headless server on wiki or forum.

To avoid having multiple copies binary and data folder, you can use symlinks to link bin and data folder to each instance. (Yes even on windows, command for creating links on windows is called mklink and requires admin rights).

Of course if you want to run different versions of factorio, you will not use symlinks.

Each instance always needs own mods, tmp, save and config folder and configuration file.
Each instance also need to run on different port, and you need to add port exception to your firewall, and if necessary also port forwarding on your router

Mind hosting multiple instance will consume lot of ram and also cpu power.