HoldMySpear
A simple spear ownership mod for Valheim.
About this mod Author’s original text
HoldMySpear
A simple spear ownership mod for Valheim.
Why? As a spear user, when playing in multi-player with friends, spears
cannot be thrown without risking pickup by another player. Because of this,
spear users must essentially opt-out of using the spear's special ability
when playing with others to avoid confusion and/or lose their weapon.
This mod solves that issue by providing player ownership of spears.
Overview
- Ownership
- Tips
- Dependencies
- Requirements
- Installation
- Accreditation
Ownership
To take ownership of a spear, simply pick up an unowned spear.
Once owned, a spear can be disowned by throwing it on the ground
and using the L-Alt + E key combination when hovering over it
with your cursor.
Tips
Just like binding a spear to yourself, other players in the world may
bind any unbound spear to themselves; for this reason, it's a good idea
to take ownership of any spears outside of your inventory when first
running this mod (spears in storage, item stands, etc).
Dependencies:
- BepInEx 5.4.2200
Requirements
This mod must be installed on all clients who participate; players
without this mod will be able to pick up all spears in the world
they have access to.
Installation
Place HoldMySpear.dll into C:\Users\\AppData\LocalLow\IronGate\Valheim\BepInEx\plugins and run Valheim.
Accreditation
Much of the understanding of BepInEx, Valheim and HarmonyX APIs
was derived through Azumatt's
BindOnEquip plugin.
The name of this project was suggested by Chee, a user on Discord.
Donations
I spend most of my time these days playing and modding Valheim. Any donations are greatly appreciated and can be given through my Buy Me A Coffee page.
Thanks to all of those who support my work! This kind of support gives me more ability to work on mods with my time:)
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: