You are viewing a potentially older version of this package. View all versions.
valph-valPHPvPTweaks-2.5.0 icon

valPHPvPTweaks

PvP and ward tweaks: removes raid pins, anti-ping chat, blocks combat emotes and bind, protects player wards, fixes false ship wave damage. Server-synced config; all players must have this mod.

By valph
Date uploaded a week ago
Version 2.5.0
Download link valph-valPHPvPTweaks-2.5.0.zip
Downloads 21
Dependency string valph-valPHPvPTweaks-2.5.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 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.2350

README

valPHPvPTweaks

A small set of PvP quality-of-life tweaks, ward protection, and a ship wave-damage fix.

Features

  • Removes the raid/random-event pin from the minimap.
  • Hides your position on the map while sending a chat message (anti-ping).
  • Blocks emotes while you're in combat.
  • Disables the bind terminal command.
  • Ward protection: structures inside an enabled ward take no damage from players. Monsters, fire, and weather still damage them normally.
  • Ward terrain protection: players not permitted on a ward can't level, raise, dig, or otherwise reshape terrain inside it.
  • Ward overlap prevention: a new ward can't be placed if its radius overlaps an existing ward owned by someone else. Wards sharing an owner can overlap freely.
  • Ward rules only apply to player-built wards. Wards that come pre-placed in vanilla locations (Mistlands, Ashlands, etc.) are ignored.
  • Fixes spurious ship "wave slam" damage on calm seas: vanilla feeds an un-smoothed, network-corrected clock value into the wave-height physics calc, causing false depth spikes every ~2 seconds. This reuses the game's own already-smoothed value instead.
  • Server sync: everyone connecting to the server must have this exact mod and version installed, or they are disconnected with an explanatory message.

Installation

Install with your mod manager, or drop the DLL into BepInEx/plugins. Must be installed on the server and on every client.

Configuration

The config file is created at BepInEx/config/pvptweaks.valph.cfg on first launch. Every setting defaults to true (enabled).

Settings are synced from the server to all clients: the server's values are enforced, and client-side edits are overwritten.

Section Setting Controls
General RemoveRaidPin Raid/random-event minimap pin removal
General HideChatPosition Anti-ping while chatting
General TrackPvpHits Tracking and logging hits taken from other players
General DisableBindCommand Blocking the bind terminal command
General BlockEmotesInCombat Blocking emotes while in combat
Ward WardDamageProtection Player-damage immunity inside wards
Ward WardTerrainProtection Terrain-edit blocking inside wards
Ward WardOverlapPrevention Blocking overlapping ward placement

Compatibility

Requires BepInExPack_Valheim. No other mod dependencies. Every client and the server must run the same version.

Credits

Uses ServerSync by Azumatt for mod-required enforcement and config sync.

CHANGELOG

Changelog

2.5.0

  • Added a server-synced config file (BepInEx/config/pvptweaks.valph.cfg) with an on/off toggle for every feature. All default to enabled.

2.4.0

  • Ward rules (damage protection, terrain protection, overlap prevention) now only apply to player-built wards. Wards pre-placed in vanilla locations are ignored.

2.3.0

  • Fixed spurious ship wave-slam damage caused by the wave-height calculation using an un-smoothed, network-corrected clock value.

2.2.0

  • Added ward terrain protection.
  • Added ward overlap prevention.

2.1.0

  • Initial public release: raid pin removal, anti-ping chat, combat emote blocking, bind command blocking, ward damage protection, server-enforced version sync.