You are viewing a potentially older version of this package. View all versions.
ChilloutMods-ChilloutForcedPVP-1.0.2 icon

ChilloutForcedPVP

Keeps PVP enabled and locks its UI toggle without a per-frame polling loop.

Date uploaded a day ago
Version 1.0.2
Download link ChilloutMods-ChilloutForcedPVP-1.0.2.zip
Downloads 6
Dependency string ChilloutMods-ChilloutForcedPVP-1.0.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351
ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2

README

Chillout Forced PVP

Version 1.0.2 targets Valheim 1.0.20 and its Player.IsPVPEnabled() and Player.CanSwitchPVP() APIs.

Small compatibility mod for the Chillout Valheim profiles.

It keeps PVP enabled by enforcing the value when Valheim changes or reads the player PVP flag and once after spawning. It also returns false from CanSwitchPVP() and initializes Valheim's shared PVP toggle as enabled and non-interactable, which keeps SeneaL UI visually consistent with the enforced rule. It does not run an Update() loop, does not scan players every frame and does not alter death penalties, spawn protection, map visibility or any other multiplayer rule.

Jotunn requires the same patch version on the server and every client, so a client cannot silently join without the rule.

CHANGELOG

Changelog

1.1.0

  • Applies the PvP enforcement patches after ordinary-priority Harmony patches to reduce conflicts with other mods that touch the same state or UI.
  • Targets the current SetPVP(bool) and OnSpawned(bool) signatures explicitly, so incompatible Valheim changes fail clearly during patching.
  • Uses Jotunn minor-version network strictness: all players and the server must have the mod, while compatible 1.1.x maintenance releases can interoperate.
  • Clarifies that Valheim 1.0.20 is the tested baseline, not an exact-version cap.

1.0.3

  • Rewrites the public description and documentation for general Valheim use.
  • Uses a generic in-game plugin display name.
  • Does not change PvP enforcement, networking or performance behaviour.

1.0.2

  • Enforces PvP when Valheim changes or reads the local PvP state.
  • Locks both the vanilla and SeneaL UI PvP controls.
  • Applies once after spawning without a per-frame polling loop.
  • Requires the same package on clients and the dedicated server.