Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
FriendlyTrollstav
Prevent Trollstav-summoned trolls from targeting or damaging players, with player protection for tagged Trollstav impact and area effects.
By koolestkidz
| Last updated | a week ago |
| Total downloads | 63 |
| Total rating | 0 |
| Categories | Tweaks AI Generated Enemies |
| Dependency string | koolestkidz-FriendlyTrollstav-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
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.2360README
Friendly Trollstav
An unofficial Valheim mod that adds player protection to Trollstav and its summoned trolls.
Experimental initial release. In-game validation is pending. This package has been compiled and its game-method hooks checked against Valheim 1.0.21. Complete gameplay testing before publishing it.
Features
- Excludes players from the summoned troll's enemy selection.
- Clears an existing player target during the troll's next target update.
- Blocks summoned-troll damage against players.
- Tags Trollstav projectiles and related impact/area effects to protect players from those effects.
The mod works with the normal Trollstav (StaffRedTroll) and Summoned Troll (Troll_Summoned). It also covers existing summoned trolls after the mod loads. No new items, crafting recipes, or controls are added.
Scope
Player protection is the focus of this mod. Tamed creatures, structures, trees, and terrain retain their normal interactions with summoned trolls and Trollstav effects. The summoned troll retains its native health, damage against enemies, abilities, summon limits, and staff costs. Regular wild trolls retain their normal behavior.
Installation
Mod manager
Install FriendlyTrollstav through your Valheim mod manager. The manifest declares BepInExPack Valheim as a dependency.
Manual
- Install BepInExPack Valheim.
- Copy the included
BepInExfolder into your Valheim installation folder. - Restart Valheim completely.
The plugin file belongs at BepInEx/plugins/FriendlyTrollstav/FriendlyTrollstav.dll.
Usage
Cast Trollstav normally. No configuration or new hotkeys are required.
For console testing with developer commands enabled:
spawn StaffRedTroll 1
Multiplayer
Multiplayer and remote authority have not been tested. For any multiplayer testing, install the same mod version on the server and all clients. Do not assume a client-only installation protects every player.
Compatibility and dependencies
- Valheim 1.0.21: compilation and method-signature checks completed.
- BepInExPack Valheim 5.4.2360.
- Uses Harmony supplied by BepInExPack.
- Independent of Spirit Caller, Hover Sword, and crown mods.
- Other AI, projectile, or damage mods may patch the same game methods; compatibility requires testing.
Uninstall
Close Valheim and remove BepInEx/plugins/FriendlyTrollstav/FriendlyTrollstav.dll, or uninstall it through your mod manager.
Validation status
Build and packaging checks are complete. In-game verification of targeting, melee damage, meteor impacts, lingering fire/area effects, existing summons, and multiplayer remains pending. Reports should identify the Valheim version, mod version, reproduction steps, and relevant BepInEx/LogOutput.log errors.
AI disclosure
The code and documentation were created with OpenAI Codex. Use Thunderstore's AI Generated category when publishing this package.
Notice
This is an unofficial mod, unaffiliated with Iron Gate AB or Coffee Stain Publishing. The package includes no original Valheim assets, game assemblies, or bundled mod loader.