
Valheim
Dedicated Server Template
A brutal exploration and survival game for 1-10 players, set in a procedurally-generated purgatory inspired by viking culture. Battle, build, and conquer your way to a saga worthy of Odin’s patronage!
Valheim Game Server Hosting
Deploy and manage your own Valheim dedicated server with GameCP's free game server control panel. This template provides a production-ready server configuration with one-click installation, automatic updates via SteamCMD, and full environment variable management. Whether you're hosting for a small group of friends or running a large community server, GameCP makes Valheim server administration simple and reliable.
Resource Requirements
Recommended Players
Performance Tiers
Economy
Small server, 1-3 players
Standard
Medium server, 3-6 players with mods
Pro
Large server, 6-10 players, heavy mods
Startup Command
Default
Default startup command
Crossplay Enabled
Forces crossplay on. Xbox and PC players can join. Uses PlayFab networking instead of Steam.
Steam Only (No Crossplay)
Steam-exclusive server. Lower latency for PC players. Uses Steam networking directly.
Environment Variables
SERVER_NAME
RequiredServer Name
Server name displayed in the server browser
(empty)MAX_PLAYERS
RequiredRead OnlyMax Players
Maximum number of concurrent players
5PUBLIC_SERVER
Public Server
List server in the public server browser. Disable to make join-by-IP only.
1ENABLE_CROSSPLAY
Enable Crossplay
Enable crossplay support for Xbox/PC players.
1WORLD
RequiredWorld Name
World save name. Changing this loads a different world.
DedicatedPASSWORD
RequiredServer Password
Server password. Must be at least 5 characters or the server will crash. Cannot be the same as the server name.
(empty)BACKUP_INTERVAL
Save Interval
World save interval in seconds. Default: 1800 (30 minutes).
1800BACKUP_COUNT
Backup Count
Number of automatic backups to keep. Default: 4.
4BACKUP_SHORTTIME
Short Backup Interval
Interval between the first automatic backup in seconds. Default: 7200 (2 hours).
7200BACKUP_LONGTIME
Long Backup Interval
Interval between subsequent automatic backups in seconds. Default: 43200 (12 hours).
43200AUTO_UPDATE
Auto Update
Automatically update the server on startup.
1SRCDS_BETAID
Beta Branch
Steam beta branch name. Leave blank for stable.
(empty)SRCDS_BETAPASS
Beta Password
Password for beta branch access. Leave blank if not required.
(empty)LD_LIBRARY_PATH
RequiredRead OnlyLD Library Path
Required to load server libraries.
./linux64STOP
RequiredRead OnlyShutdown Command
Graceful shutdown command.
kill -2 $!; wait;CONSOLE_FILTER
Read OnlyConsole Filter
Sed filter to clean up console output noise.
STEAM_USER
Read OnlySteam Username
Steam username for authentication. Leave empty for anonymous login.
(empty)STEAM_PASS
Read OnlySteam Password
Steam password for authentication. Leave empty for anonymous login.
(empty)STEAM_AUTH
Read OnlySteam Auth Code
Steam Guard authentication code (optional).
(empty)EXTRA_FLAGS
Read OnlyExtra SteamCMD Flags
Additional SteamCMD flags.
(empty)Container Configuration
Docker Image
ghcr.io/ptero-eggs/games:valheim
Technical Profile
Template ID
valheim
Author
GameCP Team
Last Updated
March 13, 2026
Status
ActiveConfiguration Metadata
Information about the origin and version of this game configuration.