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.
CHANGELOG
Changelog
[2.0.0] - Major Rewrite
Major rewrite - Rewritten from ~2500 lines to ~700 lines of clean, maintainable code.
Why so much smaller?
- Better hook point: Patches where the raid position is already calculated, made a lot of code obsolete
Added
- UseEventRangeAsProtection: New option to use Valheim's native event range (96m) as protection radius
- AllowForcedEvents: New option to let boss fights and forced events proceed without interference
- Direct integration with Valheim's event positioning system for enhanced reliability
Changed
- Streamlined configuration - removed advanced timing options in favor of automatic handling
- Now uses Valheim's public API methods for better forward compatibility
- Simplified logging options:
LogRaidPositionsandShowProtectionRadiusmerged intoDebugMode
Removed
PositionCheckDelay,MaxPositionRetries,UseDelayedEvaluation,FallbackPolicy,ProtectGlobalRaids,GlobalRaidAFKRadius- all obsolete, no longer needed in version 2.0.0.
Notes
- Config Migration: If upgrading from 1.x, you may want to delete your old config file to get clean defaults. Core settings like
AFKMinutesandAFKProtectionRadiusremain the same.
[1.0.1]
Added
- ServerSync Integration: Config settings are now synchronized from server to clients
- Server administrators can enforce consistent raid protection settings across all players
- Added
ServerConfigLockedoption (default:true) to control whether server enforces settings - Logging and debug settings remain client-side preferences
Fixed
- Minor performance improvements during raid evaluation
[1.0.0] - Initial Release
Added
- AFK detection based on player movement (configurable)
- Proximity-based raid protection (configurable)
- Support for all raid types
- Configurable AFK timeout (default: 3 minutes)
- Client-server communication for AFK state
- Position tracking
- Debug logging
- Support for both Steam and crossplay connections
Configuration Options
AFKMinutes: Minutes without movement before considered AFK (default: 3)MovementThreshold: Minimum movement distance to be considered active (default: 0.1)UpdateInterval: Seconds between AFK status updates (default: 10)AFKProtectionRadius: Protection radius around AFK players (default: 200m)ProtectGlobalRaids: Whether to block global raids if any player is AFK (default: false)GlobalRaidAFKRadius: Protection radius for global raids (default: 200m)FallbackPolicy: Policy if position detection fails (default: Conservative)