Problem with server-settings.json
Posted: Tue Jul 26, 2016 7:39 pm
I don't have a problem when not specifying a server-settings.json file.
Runs and starts up no problem.
But when I specify a server-settings.json file, I get an issue with formatting. And yes I realize i put the server password in the plaintext here.
Anyone have any idea?
Code: Select all
factorio@localhost:/opt/factorio/bin/x64$ ./factorio --start-server my-save.zip
But when I specify a server-settings.json file, I get an issue with formatting. And yes I realize i put the server password in the plaintext here.
Code: Select all
factorio@localhost:/opt/factorio/bin/x64$ ./factorio --start-server my-save.zip --config /opt/factorio/data/server-settings.json
0.000 Error GlobalContext.cpp:639: /opt/factorio/data/server-settings.json: Bad file format; ignoring
0.000 Error Util.cpp:58: There is no package core in /usr/share/factorio
factorio@localhost:/opt/factorio/bin/x64$ cat /opt/factorio/data/server-settings.json
{
"name": "supercool game",
"description": "for coolkids",
"max_players": "4",
"visibility": "hidden",
"username": "",
"password": "",
"token": "",
"game_password": "cracktorio123",
"verify_user_identity": false
}
factorio@localhost:/opt/factorio/bin/x64$