Settings on headless server (Windows)
-
- Burner Inserter
- Posts: 13
- Joined: Sun May 21, 2017 3:37 pm
- Contact:
Settings on headless server (Windows)
I can succesfully play and launch the server but i don't know how to change the server settings. On the Factorio wiki it says "To create a server settings file, look at the example file located in data/server-settings.example.json in the Factorio Application Directory. The recommended way is to make a copy of this example file and edit the copy." So my question is copy it to where?
Re: Settings on headless server (Windows)
Hey,
Simply copy and paste the file to where the current file is located, but rename it correctly.
At the end of it, you should have the files named:
- server-settings.example.json
- server-settings.json << -- Edit this one
Hope this helps.
Simply copy and paste the file to where the current file is located, but rename it correctly.
At the end of it, you should have the files named:
- server-settings.example.json
- server-settings.json << -- Edit this one
Hope this helps.
-
- Burner Inserter
- Posts: 13
- Joined: Sun May 21, 2017 3:37 pm
- Contact:
Re: Settings on headless server (Windows)
Do i also need to change my start.bat file? Now it isAlienX wrote:Hey,
Simply copy and paste the file to where the current file is located, but rename it correctly.
At the end of it, you should have the files named:
- server-settings.example.json
- server-settings.json << -- Edit this one
Hope this helps.
Factorio.exe --start-server "Mega base 4.zip"
Should I add something to this?
Re: Settings on headless server (Windows)
Hey,
I don't think so... it should load the settings file for you - if it does not there is a --server-setting startup argument you can use to point to the settings file.
Also, you want to use --start-server-load-latest on it's own instead of specifying a map file.
Example:
This parameter will ensure that whenever the server is started, it will always load the latest save from the "saves" folder, this is useful when using Factorio's Auto-Save functionality.
I don't think so... it should load the settings file for you - if it does not there is a --server-setting startup argument you can use to point to the settings file.
Also, you want to use --start-server-load-latest on it's own instead of specifying a map file.
Example:
Code: Select all
factorio.exe --start-server-load-latest
-
- Burner Inserter
- Posts: 13
- Joined: Sun May 21, 2017 3:37 pm
- Contact:
Re: Settings on headless server (Windows)
Okay thanks for the help AlienX.AlienX wrote:Hey,
I don't think so... it should load the settings file for you - if it does not there is a --server-setting startup argument you can use to point to the settings file.
Also, you want to use --start-server-load-latest on it's own instead of specifying a map file.
Example:This parameter will ensure that whenever the server is started, it will always load the latest save from the "saves" folder, this is useful when using Factorio's Auto-Save functionality.Code: Select all
factorio.exe --start-server-load-latest