Please disclose if your mod was created primarily 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.
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