Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ValheimClientLogger
Client-side event logger for Valheim that sends gameplay events (kills, skills, login/logout) to a webhook via the server mod.
| Date uploaded | 6 months ago |
| Version | 1.0.2 |
| Download link | SafarPaim-ValheimClientLogger-1.0.2.zip |
| Downloads | 245 |
| Dependency string | SafarPaim-ValheimClientLogger-1.0.2 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2333README
Valheim Client Logger
A client-side BepInEx plugin that detects gameplay events and sends them to a server mod for webhook integration.
Features
- Player Login/Logout: Tracks when you join or leave the server
- Mob Kills: Logs when you defeat creatures (with internal English names)
- Skill Level Ups: Tracks when your skills increase to a new level
- Clean Data: All mob and item names use internal English identifiers
Requirements
- BepInEx 5.4.2202 or later
- Valheim Server Logger mod must be installed on the server
Installation
Using r2modman (Recommended)
- Install r2modman
- Search for "ValheimClientLogger" in the mod manager
- Click Install
- Launch the game through r2modman
Manual Installation
- Download the latest release
- Extract the zip file
- Copy
ValheimClientLogger.dlltoBepInEx/plugins/folder - Launch the game
Configuration
The mod works automatically once installed. Configuration is done on the server side via the Valheim Server Logger mod.
Server Setup
This mod requires the server-side companion mod Valheim Server Logger to be installed on your dedicated server. The server mod receives events from clients and forwards them to your webhook endpoint.
Events Logged
- player_login: When you spawn into the world
- player_logout: When you disconnect from the server
- mob_kill: When you defeat a creature
- Includes: mob name, level, boss status, position
- skill_level_up: When a skill reaches a new integer level
- Includes: skill type, new level, previous level
Technical Details
- Uses custom RPC communication to send events to the server
- Events are batched and sent via webhook (configured server-side)
- Minimal performance impact - only logs significant events
- Item pickup logging is disabled by default to reduce spam
Compatibility
- Valheim (latest version)
- Works with dedicated servers and local games
- Compatible with most other mods
Support
For issues, questions, or contributions, please visit the GitHub repository.
Changelog
1.0.0
- Initial release
- Player login/logout detection
- Mob kill tracking with English names
- Skill level up detection
- Custom RPC communication with server mod
CHANGELOG
Changelog
All notable changes to Valheim Client Logger will be documented in this file.
[1.0.2] - 2025-11-13
Fixed
- Fixed BepInEx dependency version (5.4.2202 → 5.4.2333) to resolve r2modman installation issues
[1.0.1] - 2025-11-13
Fixed
- Fixed skill level up detection to only log once per level (was logging on every XP gain)
- Improved skill tracking with static dictionary to prevent duplicate events
Technical
- Added skill level tracking dictionary to maintain last logged level per skill
- Reset skill tracking on player logout for accurate detection on next login
[1.0.0] - 2025-11-13
Added
- Initial release of Valheim Client Logger
- Player login detection using Player.OnSpawned
- Player logout detection with RPC delivery guarantee
- Mob kill tracking with internal English names
- Skill level up detection (only logs when reaching new integer level)
- Custom RPC communication with server mod (com.paim.valheimlogger.LogEvent)
- Clean event data with English identifiers (no localization keys)
Technical
- Uses Harmony patches for event detection
- Custom JSON serialization to avoid external dependencies
- Skill level tracking to prevent duplicate events
- Thread.Sleep on logout to ensure event delivery
- Disabled item pickup logging to reduce event spam