Skip to content

Commit a811d4c

Browse files
committed
feat(vh): update Valheim start parameters
2 parents b901412 + 6cf4c1e commit a811d4c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lgsm/config-default/config-lgsm/vhserver/_default.cfg

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,17 @@ port="2456"
1616
gameworld="${selfname}"
1717
public="1"
1818
savedir="$HOME/.config/unity3d/IronGate/Valheim"
19+
logFile=""
20+
saveinterval="1800"
21+
backups="4"
22+
backupshort="7200"
23+
backuplong="43200"
24+
# If crossplay is empty, it's off. Fill with any text to make true
25+
# Crossplay is currently not working on Linux dedicated servers, so for now the default is false (emtpy)
26+
crossplay=""
1927

2028
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
21-
startparameters="-name '${servername}' -password ${serverpassword} -port ${port} -world ${gameworld} -public ${public} -savedir '${savedir}'"
29+
startparameters="-name '${servername}' -password ${serverpassword} -port ${port} -world ${gameworld} -public ${public} -savedir '${savedir}' -logFile '${logFile}' -saveinterval ${saveinterval} -backups ${backups} -backupshort ${backupshort} -backuplong ${backuplong} ${crossplay:+-crossplay}"
2230

2331
#### LinuxGSM Settings ####
2432

0 commit comments

Comments
 (0)