fix(valheim): drop MaxPlayers; Valheim has no -maxplayers option
Validate game templates / validate (push) Successful in 20s
Validate game templates / boot-test (push) Successful in 2m29s
Validate game templates / publish (push) Skipped

The draft passed -maxplayers, which the server ignores (Valheim's limit is
fixed), so changing the setting would do nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gregandClaude Opus 5.5 committed 2026-10-25 17:44:20 -04:00
1 parent ec33e7b43f
commit 5464c8ca5a
1 file changed
+1 -7
+1 -7
View File
@@ -2,7 +2,7 @@
id: valheim id: valheim
name: Valheim name: Valheim
defaultDockerImage: cm2network/steamcmd defaultDockerImage: cm2network/steamcmd
defaultStartupCommand: args=(-name "${SERVER_NAME:-GBRHosting - Valheim}" -port 2456 -world "${WORLD_NAME:-Dedicated}" -savedir /server); [ -n "${SERVER_PASSWORD}" ] && args+=(-password "${SERVER_PASSWORD}"); [ "${CROSSPLAY}" = "true" ] && args+=(-crossplay); [ -n "${MAX_PLAYERS}" ] && args+=(-maxplayers "${MAX_PLAYERS}"); ./valheim_server.x86_64 "${args[@]}" defaultStartupCommand: args=(-name "${SERVER_NAME:-GBRHosting - Valheim}" -port 2456 -world "${WORLD_NAME:-Dedicated}" -savedir /server); [ -n "${SERVER_PASSWORD}" ] && args+=(-password "${SERVER_PASSWORD}"); [ "${CROSSPLAY}" = "true" ] && args+=(-crossplay); ./valheim_server.x86_64 "${args[@]}"
requiredMemoryMb: 4096 requiredMemoryMb: 4096
requiredDiskMb: 4096 requiredDiskMb: 4096
defaultPorts: defaultPorts:
@@ -13,7 +13,6 @@ installConfig:
appId: "896660" appId: "896660"
defaultConfig: defaultConfig:
Crossplay: false Crossplay: false
MaxPlayers: 10
ServerName: GBRHosting - {SERVER_NAME} ServerName: GBRHosting - {SERVER_NAME}
ServerPassword: "" ServerPassword: ""
WorldName: Dedicated WorldName: Dedicated
@@ -24,11 +23,6 @@ configSchema:
description: Enable crossplay so Xbox, PlayStation, Nintendo Switch, and Game Pass players can join. A join code is printed to the server log when enabled. description: Enable crossplay so Xbox, PlayStation, Nintendo Switch, and Game Pass players can join. A join code is printed to the server log when enabled.
title: Enable Crossplay title: Enable Crossplay
type: boolean type: boolean
MaxPlayers:
category: Gameplay & Rules
description: Maximum number of concurrent players allowed on the server.
title: Max Players
type: integer
ServerName: ServerName:
category: System & General category: System & General
description: Display name of the dedicated server. Defaults to "GBRHosting - <your server name>". description: Display name of the dedicated server. Defaults to "GBRHosting - <your server name>".