Valheim
Install with App

Details

Latest version
1.0.0
Last Updated
First Uploaded
Downloads
17
Likes
0
Size
154KB
Dependants
ADDatHost Valheim hosting
30% off

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_Damage exclusively when both the victim and attacker are different players (attacker.IsPlayer() && attacker != victim), with a fallback check on HitType.PlayerHit for 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)
  • 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.2360 with 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)

  1. Install PvP Damage Scale from Thunderstore.
  2. Adjust multipliers in BepInEx/config/snake.valheim.pvpdamagescale.cfg (or via F1 Configuration Manager).

Manual

  1. Install BepInExPack_Valheim.
  2. Extract PvPDamageScale.dll into BepInEx/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.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.