Browse Source

feat(st): switch parameters to loadlatest (#3924)

There are some unforseen issues if you both specify load and new together.
Loadlatest will also grab the last backup of that same save.
pull/3963/head
Neouni 3 years ago
committed by GitHub
parent
commit
27ab0923ab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lgsm/config-default/config-lgsm/stserver/_default.cfg

2
lgsm/config-default/config-lgsm/stserver/_default.cfg

@ -20,7 +20,7 @@ worldname="moon_save"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
# Edit with care
startparameters="-NEWGAME ${worldtype} -LOADGAME ${worldname} -settings ServerName ${servername} StartLocalHost true ServerVisible true ServerMaxPlayers ${maxplayers} GamePort ${port} UpdatePort ${queryport} UPNPEnabled true AutoSave true SaveInterval ${autosaveinterval}"
startparameters="-LOADLATEST ${worldname} ${worldtype} -settings ServerName ${servername} StartLocalHost true ServerVisible true ServerMaxPlayers ${maxplayers} GamePort ${port} UpdatePort ${queryport} UPNPEnabled true AutoSave true SaveInterval ${autosaveinterval}"
#### LinuxGSM Settings ####

Loading…
Cancel
Save