Files
gbr-games/games/valheim/game.yaml
T
gregandClaude Opus 5.5 5464c8ca5a
Validate game templates / validate (push) Successful in 20s
Validate game templates / boot-test (push) Successful in 2m29s
Validate game templates / publish (push) Skipped
fix(valheim): drop MaxPlayers; Valheim has no -maxplayers option
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>
2026-10-25 17:44:20 -04:00

43 lines
1.7 KiB
YAML

# yaml-language-server: $schema=../../schema/game.schema.json
id: valheim
name: Valheim
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); ./valheim_server.x86_64 "${args[@]}"
requiredMemoryMb: 4096
requiredDiskMb: 4096
defaultPorts:
- 2456/udp
- 2457/udp
installMethod: STEAMCMD
installConfig:
appId: "896660"
defaultConfig:
Crossplay: false
ServerName: GBRHosting - {SERVER_NAME}
ServerPassword: ""
WorldName: Dedicated
configSchema:
properties:
Crossplay:
category: Security & Access
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
type: boolean
ServerName:
category: System & General
description: Display name of the dedicated server. Defaults to "GBRHosting - <your server name>".
title: Server Name
type: string
ServerPassword:
category: Security & Access
description: Optional password players must enter to join. Must be at least 5 characters if set; leave empty for a public server.
title: Server Password
type: string
WorldName:
category: World & Environment
description: Name of the world to load or create. A new world is generated if it does not already exist.
title: World Name
type: string
type: object
readyPattern: '[0-9.]+/[0-9.]+/[0-9.]+ [0-9.]+:[0-9.]+:[0-9.]+: Loading: Done\. Total seconds sinze ZNet start: [0-9.]+,'