You are viewing a potentially older version of this package. View all versions.
bbar-WardEventBlocker-0.3.2 icon

WardEventBlocker

Makes enabled Wards protect a player from random events. Works on both servers and solo games.

Date uploaded 2 years ago
Version 0.3.2
Download link bbar-WardEventBlocker-0.3.2.zip
Downloads 896
Dependency string bbar-WardEventBlocker-0.3.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

Valheim Ward Event Blocker

A lightweight Valheim mod to make Wards protect a player from random events. This mod works on servers (dedicated or otherwise), and singleplayer games. It is safe to have it installed when you join other servers as a client, it just won't do anything.

Features

This mod gives an additional purpose to wards in-game by allowing them to hide players from "raids" (random events, e.g. The forest is moving).

In the vanilla version of Valheim, random events can occur when the following three conditions are met:

  1. The player is in the required biome
  2. The player is not in a dungeon
  3. The player is within 40 meters of at least 3 base structures

Basically, with this mod installed, there is another condition:

  1. The player is not inside any enabled ward

This means that the player can essentially opt-in/opt-out of potential raids by toggling the state of the ward.

Installation

BepinEx for Valheim is required for this plugin to work

Install from your favorite mod manager, or manually by following these instructions:

  1. Download and extract the build artifact for the latest release
  2. Place the bbar.Mods.WardEventBlocker.dll file into <GameDirectory>\Bepinex\plugins
  3. The first time the game starts with the plugin loaded, it will generate a config file: <GameDirectory>\BepinEx\config\bbar.Mods.WardEventBlocker.cfg
  4. Open the cfg file to change configuration as needed. Any manual changes to that file will require a restart. The plugin is also compatible with the BepinEx configuration manager.

Configuration

  • ProtectionRadius
    • Default: 32
    • The radius for wards to hide a player from a random event. This defaults to the vanilla Valheim ward radius. Changing this has no effect on the range of the vanilla ward functionality.
  • FlashWardsOnEventBlocked
    • Default: false
    • Whether or not wards should flash when they hide a player from the random event system.

Quick Links

Attributions

CHANGELOG

Changelog

1.0.0

  • Updated to Valheim version 0.217.38
  • Internal cleanup and organization

0.3.2

  • Updated to new BepinEx version 5.4.2100

0.3.1

  • New icon
  • Documentation and configuration fixes

0.3.0

  • Added metadata files for mod repositories
  • Added build target to package up everything for easier deployment
  • Changed WardRadius to ProtectionRadius for clarity

0.2.0

  • Revamped initial version
  • Works on dedicated servers