Repository navigation
Valheim Experimental
Not part of stable v2.2.2. The Valheim 1.0 adapter is available on the
maindevelopment tree. Test it with an isolated, independently backed-up world before considering real use.
Valheim uses the same authoritative version, lock, heartbeat, history and recovery model as the stable Palworld backend, but the Windows adapter controls a different server/save lifecycle.
- saves live under
worlds_local/<WorldName>; - Save Sync treats the whole configured world directory as one save unit;
- the authoritative identity is the intrinsic signed 64-bit
worldUidread from committed.fwl2metadata; - the adapter starts
valheim_server.exeitself; - clean shutdown is requested with CTRL+C;
- publication happens only after the process exits and a complete final generation is verified;
- Valheim enables Managed-Computers and therefore requires a token bound to the registered physical PC.
- Deploy Valheim with its own
gameKey=valheim, SQLite database and storage root. Never share Palworld storage/database. - Register every possible host PC in the Valheim panel with a unique stable
ClientId. - Create a separate computer-bound token for each PC.
- On each PC, copy
client/config.valheim.example.jsontoclient/config.jsonand set the matchingClientId, paths, world and server settings. - Run
Configure-Secrets.cmdand enter that PC's token plus the Valheim server password. - Run
Test-Connection.cmd. - Start only through
Start-ValheimSync.cmdfor synchronized sessions.
Valheim is not included in the stable v2.2.2 client package. Use backend and client from the same tested development commit/artifact.
The client acquires the remote lock before touching the authoritative save, maintains heartbeats while Valheim is running and reserves enough lock lifetime for a controlled shutdown. If the lease becomes unreliable, it fails closed and attempts to stop Valheim while another host is still excluded.
An unexpected server exit is not published automatically.
If an upload cannot be confirmed, the final ZIP is preserved under data/valheim/pending-uploads and the pending session is kept for recovery.
If shutdown failed or a session is left pending, TTL expiry is not proof that the old valheim_server.exe stopped. Before another host starts, confirm the previous writer process is gone and review the pending state.
Run the four-host A → B → C → D → A acceptance checklist. It covers lock exclusion, remote replacement, clean shutdown, disabled-host behavior and failure recovery.
Do not use the only valid copy of a real world as the acceptance-test input.
Dedicated Server Save Sync · stable v2.2.2 Palworld · experimental Valheim on main · Apache-2.0 · Repository · Security · Home · Inicio