About PhValheimCompanion
From ThunderstoreConnects client and server events to PhValheim's backend (phvalheim-server)
PhValheim Server Side Companion
phvalheim-companion is a custom mod for Valheim servers backed by PhValheim (phvalheim-server). This is a server-side mod that is automatically added to all deployed PhValheim worlds >=phvalheim-server 2.4.
Summary
- This mod is intended to connect in-game telemetry with PhValheim's backend. The idea is to capture events and other statistics about the running world, e.g., server start, server stop, player join, player disocnnect, player death, etc...
- The codebase for this mod was forked from Aaron Scherer valheim-discord-notifier. All external functionality of this forked mod has been disabled until it's needed futher. Internal event handlers were used to tie into PhValheim's backend. I learned alot about HTTP POST within C# from this code base. Thank you, @aequasi!
Current capability: output from game console
- On server start
PhValheim Companion: [Sent] {"action":"start","world":"mytestworld22"}
PhValheim Companion: [Received] Backend response:OK
- On player join
PhValheim Companion: [Sent] {"action":"join","world":"mytestworld22","citizen":"Boogeyman"}
PhValheim Companion: [Received] Backend response:OK
The Backend response: OK is PhValheim's backend returning a result back to game.
This mod and the new changes to phvalheim-server >=2.4 lay the foundation for advanced bi-directional interaction between a running world and PhValheim.
Next steps:
- Capture all players that join a world and store them in PhValheim's database. These players will be listed (mouse hover) on the public interface so folks will be able to identify which character they used in the world.
- Capture player statistics. E.g., builds and deaths
- Capture progression of the world. E.g., No hung heads at the shrines = copper/tin age, A hung Eikthyr head = bronze age and so forth. DONE!
See https://github.com/brianmiller/phvalheim-server for more information regarding the main project.
Changelog
- 1.0.5 removed all unused code
- 1.0.4 Update readme
- 1.0.3 Updated to support 0.216.9
- 1.0.2 Corrected a URI issue with unused (as of now) server-side code.
- 1.0.1 A significant and new capability was added to phvalheim-client, phvalheim-server and phvalheim-companion, allowing in-game client notifications to be sent back to the originating PhValheim server. The first feature that uses this new method detects world progression. E.g., When a boss head is hung at the spawn shrines, PhValheim Server will now display icons on the public interface indicating progression.
- 1.0.0 Initial release sends world start and player join to the backend.
Highlights
From source dataLoaders
Runs on BepInEx.
Footprint
Rated a light load on a server.
Dependencies
Needs 1 other project installed alongside it.
PhValheimCompanion on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
- Server side
- Optional on the server
- Server type needed
- BepInEx
- Server load
- light
- Smallest plan we suggest
- Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 1.0.6, released 2024-05-06
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| BepInEx |
From 7 recorded builds of PhValheimCompanion.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 1.0.6 | 2024-05-06 | n/a | BepInEx |
| 1.0.5 | 2024-05-06 | n/a | BepInEx |
| 1.0.4 | 2023-06-12 | n/a | BepInEx |
| 1.0.3 | 2023-06-12 | n/a | BepInEx |
| 1.0.2 | 2023-03-02 | n/a | BepInEx |
| 1.0.1 | 2023-03-02 | n/a | BepInEx |
Dependencies
- Required: BepInExPack Valheim
Declared by the newest build that lists any. Required ones are installed with it on one-click installs.
Run PhValheimCompanion on a Valheim server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogGameplay & overhauls
New mechanics, content and overhauls that change how the game plays.
Works on a server
From source side supportThunderstore lists server-side support for PhValheimCompanion as optional: it can run on a server, but isn’t required there.
Compatibility
- Game
- Valheim
- Loaders
- BepInEx
- Runs on
- Serveroptional on the server
- Requires
- One-click install needs a BepInEx server. 1 other project installed alongside it.
Verified at the source
- ✓ThunderstoreOfficial listing, checked 2026-10-02Open ↗
- ✓Authorposixone, as published on Thunderstore
- ✓LicenseNot published by the sourceFree






