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.
WeaponRename
Shift+right-click a weapon in your inventory to rename it or reset it to the default localized name. Custom names travel with the item so every player with the mod can see them.
By TWOKEY
| Last updated | 8 hours ago |
| Total downloads | 23 |
| Total rating | 0 |
| Categories | Mods Gear Misc Server-side |
| Dependency string | TWOKEY-WeaponRename-0.1.2 |
| 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.2333ValheimModding-Jotunn
Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.
Preferred version: 2.29.2README
WeaponRename
Shift+right-click a weapon in your inventory to rename it, or reset it to the default localized name.
The custom name is stored on that item instance (not the prefab). Every player with this mod sees the same name on world drops, in chests, and on item stands.
Install
Install with r2modman or another Thunderstore manager. This mod depends on:
Dedicated servers and every client must have matching versions. Vanilla clients will be rejected at join so renamed weapons stay visible to everyone.
How to use
- Open your inventory.
- Hold Shift (configurable).
- Right-click a weapon.
- Rename, Reset (back to the default localized name), or Cancel. Escape also closes.
Features
- Weapons by default: axes, clubs, swords, spears, polearms, knives, fists, shields, bows, crossbows, elemental and blood magic, and ammo (arrows, bolts, missiles, bombs, blob bombs). Pickaxes, tools, armor, and food cannot be renamed unless you turn WeaponsOnly off.
- Reset restores the real vanilla name, including other languages.
- Host rules (rename enabled, weapons-only, max length) sync from the server. The Shift key stays per-client.
- Does not change internal prefab ids. Other mods still see an Iron Sword.
- Optional: DarwinAwards death feed can show the custom weapon name.
DarwinAwards
WeaponRename does not require DarwinAwards. If both mods are installed, the victim's client replaces {weapon} in PvP death lines with the killing weapon's display name (custom if set). Lines without {weapon} are left unchanged. The Discord webhook gets the same string.
DarwinAwards itself only knows {player} (the victim) and {enemy} (the killer's character name). Paste {weapon} into death by player: on the host/server.
Copy-paste pool: AwardCategories.death-by-player.example.yml in this package (or in the WeaponRename repo under WeaponRename/Package/).
death by player:
- "{player} was killed by {weapon}."
- "{player} was slain by {enemy}'s {weapon}."
- "{player} wanted to hug {enemy} and found {weapon} instead."
- "{player} wanted to make new friends, but met {weapon}."
- "{player} was smacked by {enemy}'s {weapon}."
- "{player} lost an argument with {weapon}."
- "{player} never saw {weapon} coming."
- "{player} brought words. {enemy} brought {weapon}."
- "{player} learned {weapon} works both ways."
- "{player} lost a staring contest with {weapon}."
- "{player} heard a click. Then {weapon}."
- "{player} should not have stood in front of {weapon}."
- "{player} was on the wrong side of {weapon}."
- "{player} learned {weapon} has a short fuse."
- "{player} could not outrun {weapon}."
- "{player} walked into the long end of {weapon}."
- "{player} got too close to {enemy}'s {weapon}."
- "{player} was kept at spear's length by {weapon}."
Edit BepInEx/config/AwardCategories.yml on the host, then restart or wait for DarwinAwards' file watcher. You cannot add new category keys. DarwinAwards picks one of these lines at random for any PvP kill.
Turn replacement off with synced config DarwinAwardsShowWeapon.
Changelog
0.1.2
- Death feed no longer appends
(Name). Paste{weapon}into DarwinAwards YAML. - Rename allowlist is skill-based (pickaxes and tools excluded).
0.1.1
- DarwinAwards death feed can show the killing weapon's custom name.
0.1.0
- First release.