Closed Inei1 closed 6 years ago
Thanks - tested and works fine, also -overrideDefaultConfig
. My quick test consisted in
-homedir=terasology-server -overrideDefaultConfig=override.cfg
, the same as the default headless run configuration without -headless
which is obvious for the server facadeterasology-server
directory to start from a clean environment, without config and old savesoverride.cfg
by adding "defaultSeed": "someTestSeed"
to the "worldGeneration"
sectionterasology-server/saves/New World/manifest.json
, and as expected the "seed"
entry was"someTestSeed"
instead of the default "blockmania"
Small GitHub tip: when a PR fixes an issue, like in this case, you can use one of the keywords, like fixes
instead of solves
, and when the PR is merged the issue is automagically closed :slightly_smiling_face:
Solves #26. There are three command line arguments in the PC facade that work with a headless server added by this PR. More testing is needed for the
-overrideDefaultConfig
argument, but the others work perfectly. Most of the new code is duplicated from the PC facade.