Skip to content

Commit a2bea8d

Browse files
feat(vhserver): enable crossplay support (#4544)
* Install valheim dependencies for crossplay on Ubuntu * Setup minimal required dependencies for valheim crossplay * will set crossplay to default on and add instance id * add ubuntu 24.04 --------- Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
1 parent c662a83 commit a2bea8d

22 files changed

+23
-25
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ saveinterval="1800"
2121
backups="4"
2222
backupshort="7200"
2323
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 (empty)
26-
crossplay=""
24+
instanceid="1"
2725

2826
# INSTRUCTIONS FOR WORLD MODIFIERS (from Valheim Dedicated Server Manual.pdf located in serverfiles)
2927
# World modifiers can only be set in the start parameters and can be a combination of the following
@@ -53,7 +51,7 @@ crossplay=""
5351
worldmodifiers=""
5452

5553
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
56-
startparameters="-name '${servername}' -password ${serverpassword} -port ${port} -world ${worldname} -public ${public} -savedir '${savedir}' -saveinterval ${saveinterval} -backups ${backups} -backupshort ${backupshort} -backuplong ${backuplong}${logFile:+ -logFile '${logFile}'}${crossplay:+ -crossplay}${worldmodifiers:+ ${worldmodifiers}}"
54+
startparameters="-name '${servername}' -password ${serverpassword} -port ${port} -world ${worldname} -public ${public} -savedir '${savedir}' -saveinterval ${saveinterval} -backups ${backups} -backupshort ${backupshort} -backuplong ${backuplong} -crossplay -instanceid ${instanceid} ${logFile:+ -logFile '${logFile}'} ${worldmodifiers:+ ${worldmodifiers}}"
5755

5856
#### LinuxGSM Settings ####
5957

lgsm/data/almalinux-8.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ut
126126
ut2k4
127127
ut3
128128
ut99
129-
vh,glibc-devel
129+
vh,glibc-devel,libatomic,pulseaudio-libs-devel
130130
vints,aspnetcore-runtime-7.0
131131
vpmc,java-21-openjdk
132132
vs

lgsm/data/almalinux-9.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ut
126126
ut2k4
127127
ut3
128128
ut99
129-
vh,glibc-devel
129+
vh,glibc-devel,libatomic,pulseaudio-libs-devel
130130
vints,aspnetcore-runtime-7.0
131131
vpmc,java-21-openjdk
132132
vs

lgsm/data/centos-7.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ut
126126
ut2k4
127127
ut3
128128
ut99
129-
vh,glibc-devel
129+
vh,glibc-devel,libatomic,pulseaudio-libs-devel
130130
vints,aspnetcore-runtime-7.0
131131
vpmc,java-11-openjdk
132132
vs

lgsm/data/centos-8.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ut
126126
ut2k4
127127
ut3
128128
ut99
129-
vh,glibc-devel
129+
vh,glibc-devel,libatomic,pulseaudio-libs-devel
130130
vints,aspnetcore-runtime-7.0
131131
vpmc,java-17-openjdk
132132
vs

lgsm/data/centos-9.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ut
126126
ut2k4
127127
ut3
128128
ut99
129-
vh,glibc-devel
129+
vh,glibc-devel,libatomic,pulseaudio-libs-devel
130130
vints,aspnetcore-runtime-7.0
131131
vpmc,java-17-openjdk
132132
vs

lgsm/data/debian-10.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ut
126126
ut2k4
127127
ut3
128128
ut99
129-
vh,libc6-dev
129+
vh,libc6-dev,libatomic1,libpulse-dev
130130
vints,aspnetcore-runtime-7.0
131131
vpmc,openjdk-11-jre
132132
vs

lgsm/data/debian-11.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ut
126126
ut2k4
127127
ut3
128128
ut99
129-
vh,libc6-dev
129+
vh,libc6-dev,libatomic1,libpulse-dev
130130
vints,aspnetcore-runtime-7.0
131131
vpmc,openjdk-11-jre
132132
vs

lgsm/data/debian-12.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ut
126126
ut2k4
127127
ut3
128128
ut99
129-
vh,libc6-dev
129+
vh,libc6-dev,libatomic1,libpulse-dev
130130
vints,aspnetcore-runtime-7.0
131131
vpmc,openjdk-17-jre
132132
vs

lgsm/data/debian-9.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ut
126126
ut2k4
127127
ut3
128128
ut99
129-
vh,libc6-dev
129+
vh,libc6-dev,libatomic1,libpulse-dev
130130
vints,aspnetcore-runtime-7.0
131131
vpmc,openjdk-8-jre
132132
vs

0 commit comments

Comments
 (0)