pvpOption
by lunixialive
pvpOption lets a server switch player-versus-player combat on per player, so only flagged players can hit each other.
What it does
Each player opts in to PvP with a single command, and the flag is stored per player by UUID so it survives restarts. A hit lands only when both attacker and defender are flagged; a swing at an unflagged player is cancelled and the player is told why. Admins can force a player's flag off or lock a troublemaker out of PvP entirely, and a server-wide switch turns the whole system off for everyone at once.
The mod runs on the server alone and works on Fabric and NeoForge, with Paper, Spigot, Bukkit and Purpur listed as server platforms. Files cover game versions 1.21 – 26.3 across 17 release versions, and Fabric API is optional. Released under the MIT License, the source code is open source and was first published on 2026-03-25, last updated on 2026-09-23. The latest Fabric and NeoForge files are 1.5.5 for 26.3, dated 2026-09-23.
Players who fight enter a short warmup before combat starts, so no one is ambushed the moment the flag goes on. A valid hit starts a combat timer for both players, and during it a player cannot unflag, which keeps fights honest. The action-bar HUD shows the current state, the warmup countdown, PvP Active and the remaining cooldown.
Key features
Per-player opt-in
Players turn PvP on with one command, and the flag replaces a single server-wide switch for most servers.
Warmup and combat cooldown
A countdown runs before PvP begins, and a combat timer locks the flag on both players after each valid hit.
Live action-bar HUD
The action bar shows the PvP state, the warmup countdown and the remaining combat cooldown at a glance.
Optional auto-unflag and broadcasts
Inactive flagged players can be unflagged automatically, and announcements can tell the server when someone enters or leaves PvP mode.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Optional 1
Use cases
Who it’s for: Server owners who want player-versus-player combat to be a choice rather than a default. The mod is meant for server installs, so players join without installing anything on their own side.
Questions
Does pvpOption need to be installed on the client?
Is Fabric API required for pvpOption?
Which server platforms can run pvpOption?
Can admins change the timers while the server runs?
More from lunixialive
What the author says
On most servers PvP is a single switch: on for everyone, or off for everyone. pvpOption replaces it with a per-player, opt-in flag. You deal and take player-versus-player damage only when you've chosen to — and only against other players who've chosen to as well. Everyone else stays fully protected. No more…
Official listing
- Modrinth page
- modrinth.com/mod/pvpoption
- Owner
- lunixialive
- Published
- 2026-03-25
- Updated on Modrinth
- 2026-09-23
- Facts verified
- 2026-10-15
