PvPDamageScale
Lightweight PvP-only damage and stagger multiplier with server config sync. Does not affect PvE.PvP Damage Scale
A lightweight, zero-bloat BepInEx plugin for Valheim 1.0+ (Deep North) that lets you scale PvP damage and stagger between players without touching PvE combat at all.
Enemy damage, player-to-monster damage, fall damage, and environmental damage remain 100% vanilla.
Features
- PvP-Only Scaling: Intercepts
Character.RPC_Damageexclusively when both the victim and attacker are different players (attacker.IsPlayer() && attacker != victim), with a fallback check onHitType.PlayerHitfor long-range projectiles. - Zero Impact on PvE: Monsters, bosses, NPCs, self-damage, smoke, fire hazards, and fall damage are completely untouched.
- Granular Multipliers:
- Overall PvP damage multiplier (
PvPDamageMultiplier) - Separate extra multiplier for ranged hits — bows, crossbows, thrown weapons, ranged staffs (
RangedMultiplier) - Separate extra multiplier for elemental damage — fire, frost, lightning, poison, spirit (
ElementalMultiplier) - Dedicated PvP stagger multiplier to prevent stunlocks (
StaggerMultiplier)
- Overall PvP damage multiplier (
- Built-in Server Sync (
ZRoutedRpc): No extra library dependencies required. When players join a dedicated server, the server automatically pushes its multipliers to all clients and ignores client spoofing. - Live Config Reload: Supports in-game editing via Configuration Manager (
F1). Changes made on the server/host sync immediately to all connected players. - Valheim 1.0+ Native: Built directly against Valheim
1.0.31/ Unity 6 /BepInEx 5.4.2360with no external dependencies.
Configuration
Config file: BepInEx/config/snake.valheim.pvpdamagescale.cfg
[General]
# Enable PvP damage scaling. PvE damage is never modified.
Enabled = true
[Multipliers]
# Overall PvP damage multiplier applied before armor (range: 0.05 - 5.0)
PvPDamageMultiplier = 0.5
# Extra multiplier for ranged PvP hits (multiplies with PvPDamageMultiplier)
RangedMultiplier = 1.0
# Extra multiplier for elemental PvP damage: fire, frost, lightning, poison, spirit
ElementalMultiplier = 1.0
# Stagger multiplier in PvP (0.0 = disable PvP stagger, 1.0 = vanilla)
StaggerMultiplier = 0.7
[Debug]
# Log scaled PvP hits to BepInEx/LogOutput.log for testing
LogPvPHits = false
Note on Valheim's Armor Formula
Multipliers are applied before armor, matching Valheim's native damage modifiers (this ensures shield blocking, stagger buildup, and elemental DoTs like fire/poison scale properly as well).
Because Valheim's armor formula is quadratic (damage² / (4 * armor) when damage < 2 * armor):
PvPDamageMultiplier = 0.7≈ ~50% final damage against heavily armored players.PvPDamageMultiplier = 0.5≈ ~25% final damage against heavily armored players (great for friendly sparring or preventing late-game one-shots).
Installation
Multiplayer: Install on both the dedicated server and all clients. Damage is calculated on the victim's client, while the server pushes authoritative multiplier settings on join.
Recommended (r2modman / Thunderstore Mod Manager)
- Install PvP Damage Scale from Thunderstore.
- Adjust multipliers in
BepInEx/config/snake.valheim.pvpdamagescale.cfg(or viaF1Configuration Manager).
Manual
- Install
BepInExPack_Valheim. - Extract
PvPDamageScale.dllintoBepInEx/plugins/PvPDamageScale/.
Compatibility
- Compatible with Valheim 1.0 / Deep North (
BepInEx 5.4.2350+). - Does not modify weapon prefabs, armor values, or creature AI — safe alongside QoL, archery, magic, and UI modpacks.
