About Selective Pet Protection
From ThunderstoreSelectively prevent your pets from dying
Selective Pet Protection
This mod is based off of PetProtection (thunderstore github). Rather than protecting all pets, it only protects pets you choose individually to protect. Pets can either be immortal or stunnable, akin to V+'s immortal and essential options. "Immortal" means, that pets will be completely unfazed by damage. "Stunnable" means that rather than dying, pets become stunned for a custom period of time where they will simply freeze in their spot and recover. I don't think essential/stunnable actually works (anymore) in PetProtection/V+ so I made sure it works for Selective Pet Protection.
Commands
To make a pet immortal or stunnable, you simply rename them with the commands !god or !stun respectively. This will not actually rename the pet, but just add the protection. You can always tell the state of protection by the shield icon after the pets name. By default, gold means immortal, light blue means stunnable. You can change the colors to your liking in the config. Use !none to remove protection.
NEW: You can now toggle the protection with the displayed hotkey (Shift + T by default), when you hover your cursor on the pet.
Configuration
You can change the shield color for immortal and stunnable. You can set the time a pet will be stunned for. You can change the hotkey to toggle the protection on hover.
Compatibility
Partial support for VikingNPC. Only toggling via the hotkey (default is Left Shift + T) works. The hotkey tooltip will not show up when you hover over a tamed Viking, but it will still work, apparent by the shield icon. When your Viking is stunned it will also not say "Recovering" when you hover, but it is indeed recovering in the background.
Known Issues
- When a pet is stunned and there is no other valid target around, the attacker will keep attacking the stunned pet. This has no effects on the pet, but rather than the attacker roaming around, he will be fixated on the pet. This might be somewhat of a fringe case, since usually a player will be around.
- When stunned, pets might be locked in their current animation und they recovered
- Non-physical damage can unstun pets.
Contact
magnus.jpg on the Valheim Modding Discord
Changelog
0.2.2 Fixed a Prefix NRE when a Tameable didn't have a Character component (e.g. HardRock)</br> 0.2.1 Partial support for VikingNPC.</br> 0.2.0 Added a hotkey to toggle the protection on hover</br> 0.1.1 Forgot to mention the !none command in the readme
Highlights
From source dataLoaders
Runs on BepInEx.
Footprint
Rated a light load on a server.
Dependencies
Needs 1 other project installed alongside it.
Selective Pet Protection on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
- Server side
- Optional on the server
- Server type needed
- BepInEx
- Server load
- light
- Smallest plan we suggest
- Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 0.2.2, released 2025-04-08
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| BepInEx |
From 5 recorded builds of Selective Pet Protection.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 0.2.2 | 2025-04-08 | n/a | BepInEx |
| 0.2.1 | 2025-04-05 | n/a | BepInEx |
| 0.2.0 | 2025-04-04 | n/a | BepInEx |
| 0.1.1 | 2025-03-19 | n/a | BepInEx |
| 0.1.0 | 2025-03-19 | n/a | BepInEx |
Dependencies
- Required: BepInExPack Valheim
Declared by the newest build that lists any. Required ones are installed with it on one-click installs.
Run Selective Pet Protection on a Valheim server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogCreatures & NPCs
Adds or changes creatures, NPCs and how they behave.
Works on a server
From source side supportThunderstore lists server-side support for Selective Pet Protection as optional: it can run on a server, but isn’t required there.
Compatibility
- Game
- Valheim
- Loaders
- BepInEx
- Runs on
- Serveroptional on the server
- Requires
- One-click install needs a BepInEx server. 1 other project installed alongside it.
Verified at the source
- ✓ThunderstoreOfficial listing, checked 2026-10-02Open ↗
- ✓AuthorMagnusMagnuson, as published on Thunderstore
- ✓LicenseNot published by the sourceFree






