tweak server args for public broadcast

This commit is contained in:
finn committed 2026-09-21 18:28:13 -07:00
1 parent 3edf1e4379
commit a10ecc7481
1 file changed
+3 -1
+3 -1
View File
@@ -98,8 +98,9 @@ WORLD_NAME="Dedicated"
# start. Anything saved here is readable by anyone with access to the # start. Anything saved here is readable by anyone with access to the
# StackScript, so change it. # StackScript, so change it.
SERVER_PASS="changeme123" SERVER_PASS="changeme123"
# true lists the server in the in-game community browser. # true plus crossplay willl list the server in the in-game community browser.
SERVER_PUBLIC="true" SERVER_PUBLIC="true"
SERVER_CROSSPLAY="true"
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# Volume and container settings. # Volume and container settings.
@@ -186,6 +187,7 @@ docker run -d \
-e WORLD_NAME="$WORLD_NAME" \ -e WORLD_NAME="$WORLD_NAME" \
-e SERVER_PASS="$SERVER_PASS" \ -e SERVER_PASS="$SERVER_PASS" \
-e SERVER_PUBLIC="$SERVER_PUBLIC" \ -e SERVER_PUBLIC="$SERVER_PUBLIC" \
-e SERVER_CROSSPLAY="$SERVER_CROSSPLAY" \
-e SERVER_ARGS="-modifier resources more" \ -e SERVER_ARGS="-modifier resources more" \
"$IMAGE" "$IMAGE"