Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
12 hours ago
Downloads
31
Size
175KB
ADDatHost Valheim hosting
30% off

Forced PVP

Forces PvP on for every player on synchronized Valheim servers and prevents players from disabling it through the user interface.

Requirements

  • Valheim 1.0.20 or a newer compatible release; tested on 1.0.20.
  • BepInExPack Valheim 5.4.2351 or newer compatible release.
  • Jotunn 2.30.2 or newer compatible release.
  • A compatible 1.1.x package installed on the dedicated server and every client. Changes that require exact synchronization will increment the minor version.

Behaviour

  • Enforces the PvP value whenever Valheim changes or reads it.
  • Enables PvP once after the player spawns.
  • Prevents the normal PvP switch from being changed.
  • Initializes Valheim's shared PvP control as enabled and non-interactable, so compatible inventory UI overhauls display the enforced state correctly.
  • Applies its enforcement patches after ordinary-priority Harmony patches, reducing the chance that another mod silently overrides the PvP rule.
  • Uses event patches only: it has no Update, LateUpdate or FixedUpdate loop and does not scan players every frame.

Scope

The mod changes only the player's PvP state and its toggle. It does not alter death penalties, spawn protection, map visibility, damage values, teams, wards, raids or any other multiplayer rule. It has no configuration options.

Jotunn network compatibility requires the mod on the server and every client, and requires the same major/minor version line. This prevents a client from silently joining without the rule while allowing compatible 1.1.x maintenance releases to interoperate.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.