Repository navigation
feat(valheim): report the player count from the Steam query - #74
Merged
ValgulNecron merged 1 commit intoNov 17, 2026
Merged
Conversation
Valheim has no RCON, so its servers reported no player count and never slept. Read the count over A2S on the query port (2457) through the new capabilities.players.query. Valheim answers it only when listed publicly, the default. Regenerate the editor schema from the CRD. Bump the bundle to 2.4.0. Needs the agent support in GameplanePanel/Gameplane#991; older operators drop the field and behave as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Ben Fulton <fulton.benjamin@gmail.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
ValgulNecron
approved these changes
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Valheim servers report no player count: Valheim has no RCON, and the agent read counts only from the console. So the dashboard shows no players, and idle sleep never puts an empty Valheim server to sleep ("this game reports no player count").
capabilities.players.querywithprotocol: a2sandport: 2457. That's the Steam server query on Valheim's query port, the game port plus one, which the image's ownstatus.jsonalso reads.-public 1, from List publicly /SERVER_PUBLIC, which defaults to on). A server with it off still reports no player count, so it never sleeps. The README says so, under "Player count and idle sleep"..schema/gametemplate.schema.jsonis regenerated from the CRD withhack/gen-module-schema.py. It gainsplayers.query, plus master's fields added since the last refresh (envName,sentinelIsolationand others).Depends on GameplanePanel/Gameplane#991, which adds the agent support. Operators without it prune
query, so they keep today's behavior and nothing breaks.gameplaneMinVersionis unchanged so that 0.4.0 installs can still load the bundle.Verification
python3 validate.py: no errors. The only Valheim finding is a registry rate-limit warning on the image check.gp-module validate valheim, built from #991: no findings. Withport: 80, the new rule flags it as not a declared UDP port.players 0, max 10withSERVER_PUBLIC=true, and didn't answer with it off.🤖 Generated with Claude Code