GurneyArena-RemoveStatusMatching icon

RemoveStatusMatching

Remove Valheim status effects by exact name, substring or prefix using a console command.

Last updated a day ago
Total downloads 32
Total rating 0 
Categories Tools
Dependency string GurneyArena-RemoveStatusMatching-1.0.0
Dependants 1 other package depends on this package

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

README

Remove Status Matching

A lightweight BepInEx plugin for Valheim that adds the removestatus console command. Remove selected active status effects by internal name without clearing unrelated status effects.

Commands

Command Effect
removestatus =Timer180Meadows Exact internal name only
removestatus Timer180Meadows Any internal name containing Timer180Meadows
removestatus ^Timer180 Any internal name starting with Timer180
removestatus ^Timer All active effects whose internal names start with Timer
removestatus Timer --dry-run Print matches without removing them

Matching is case-insensitive and uses the internal StatusEffect.name field, not the localized display name. Other effects are left untouched unless their names match your filter. Equipment effects that match the filter may also be removed.

Expand World Prefabs

Example in an EWP YAML action:

console: removestatus =Timer180Meadows

Or remove every matching timer:

console: removestatus ^Timer

Installation

Install BepInExPack Valheim, then install this mod using a Thunderstore-compatible mod manager, or copy RemoveStatusMatching.dll into BepInEx/plugins/ manually.

Important limitation

The command acts on Player.m_localPlayer in the process that executes it. It does not target arbitrary remote players on a dedicated server. Server Devcommands and Expand World Prefabs can invoke console commands, but this plugin does not implement a server-to-client RPC. On a dedicated server without a local player, it reports that no local player is available.

Compatibility

  • Valheim with BepInEx 5
  • Can be invoked through Expand World Prefabs console: when the execution context has a local player
  • Does not require Jotunn or Server Devcommands as compile-time/runtime dependencies

Author

Custom community plugin. Set your Thunderstore publisher account when uploading; no author name is embedded in this package.