Confirm with your password

Sparring

Duel another player without either of you dying. Yield instead of falling, then both of you get back up.

· MIT license

Stars
1
Downloads
82
Version
0.3.0
Updated
Author
isimp
Virus scan
—
Runs on
Client (& Server)
Required by
2 mods

Description

Sparring

Duel another player without either of you dying.

Look at another player and type /duel in chat. With nobody in view, /duel lists the players near you instead, and the arrow keys and Enter pick whom to challenge. They get a prompt that shows which keys accept and decline the challenge, unless they are in combat, have PvP on or are otherwise busy, in which case you are told why. A ring is marked out on the ground, a short countdown runs, and the fight begins. Whoever runs out of health yields instead of dying. When the duel ends, both fighters get some health back and their harmful effects are cleared, and a card shows damage dealt and taken, hits and how long it lasted. Hold Backspace to give up.

Only your opponent's hits are made safe, including the fire and poison they leave on you. Creatures, falls and drowning can still kill you, and a duel cannot be started with anything hostile around the ring. Leaving the ring once the fight has begun counts as yielding, and a disconnect or crash ends every protection on its own within a few seconds.

A Sparring duel in progress

AI notice

Most of Sparring was written by Claude Code (Anthropic), which did the heavy lifting on implementation and design. Heads-up so you can judge for yourself.

Commands

Add a number to /duel to set the ring size in metres. /duel rematch challenges your last opponent, /duel preview draws a ring where you stand, and /duel status shows what is going on. Accepting, declining and yielding also work from chat with /duel accept, /duel decline and /duel yield.

Multiplayer

Both fighters need Sparring. Nobody else does. On a server running Sparring, the server's duel rules apply to everyone, while keys and display options stay your own. Players without the mod can still join.

Settings

All settings are in BepInEx/config/isimp.Sparring.cfg, each with a description.

More

Technical notes and build instructions are on GitHub at https://github.com/isimp/Sparring

Changelog

0.3.0 Latest

/duel with nobody in view lists the players near you; the arrow keys choose, Enter challenges and N closes the list.

Every panel has a new look in the game's own lettering.

0.2.3

When a game update changes something Sparring hooks into, Sparring now switches itself off as a whole and says so, rather than /duel simply going missing. /duel answers that Sparring is off and names what the game changed, the log has the full error, and no duel can start with you until Sparring is updated. Any hook that did go in comes out again, so no duel is ever fought with part of its protection missing.

Felling a tree during a duel raises WoodCutting as it does outside one. SkillGain and SkillGainRate are meant for weapon skills, Blocking and Dodge, and also caught WoodCutting, which only ever comes from chopping trees.

0.2.2

The Staff of Protection's shield, and any other area effect meant for friendly players, reaches them again. Those effects carry the same mark a duel blow uses to get past the PvP check, and the RefusePvpBypass setting treated every such hit from a player you were not duelling as forged and stripped the mark. The setting is gone, and Sparring now only marks its own duel blows and leaves every other hit as the game sent it. An older entry left behind in a config file is ignored.

3 older entries, full version history & downloads →

Files

6 files · 150 KB download

Loading files…

Manual installation instructions
1

Install BepInExPack Valheim

BepInExPack Valheim is required to run mods in Valheim.

Download BepInExPack Valheim 5.4.2360 · View mod page

Check out the mod page for detailed installation instructions.

2

Install Sparring

This mod must be installed on the client. Installing it on the server is optional (e.g., for config syncing).

Download Sparring 0.3.0

Extract the ZIP and place the file(s) into the BepInEx/plugins/ folder inside your Valheim game folder.