RemoveStatusMatching
Remove Valheim status effects by exact name, substring or prefix using a console command.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.
