Back to mods
Combat Persistence project artwork

Modrinth · Minecraft mod

Combat Persistence

Stops combat logging on Fabric servers. Quit mid-fight and a copy of you stays behind with your gear. Kill it and take the loot. Server-side only, players don't need to install anything.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Combat Persistence release matches 26.3?

Updated 2 days ago
Best match for your filters 1.10.0
Game version 26.3
Loader Fabric

Combat Persistence 1.10.0 targets 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Combat Persistence required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Combat Persistence 1.10.0 need?

1.10.0 on 26.3. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Combat Persistence 1.10.0
required
Matching file found Matched file: 0.166.0+26.3

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Combat Persistence without breaking your instance.

Built for Combat Persistence 1.10.0 on 26.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.10.0. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.10.0. It opens that exact file at the source.

About this project

What does Combat Persistence add?

Combat Persistence

Someone is losing a fight, so they quit the game. On most servers that's the end of it: they're safe and they keep their stuff.

Not with this mod. If a player leaves while they're in combat, a copy of them stays behind for the rest of the combat timer, wearing their gear. Kill it and their items drop. When they log back in, they're dead.

It runs on the server only. Your players don't need to install anything.

For Fabric survival and PvP servers. See available Minecraft versions.

A player logs out mid-fight, their mannequin gets killed and drops the loot

How it works

  • Hitting another player puts you both in combat for 15 seconds. The countdown shows above the hotbar. You can change the length in the config.
  • If you log out during combat, an [OFFLINE] mannequin with your gear stays where you were standing.
  • If someone kills the mannequin, your items drop and you die the next time you join.
  • If nobody kills it before the timer runs out, it disappears and you get everything back when you log in.
  • Only PvP starts the timer. Mobs, fall damage and lava don't. Losing connection counts the same as quitting.

Here's the second case, where nobody kills the mannequin:

The mannequin survives the timer and the player logs back in with all their gear

No teleporting out of a fight

While a player is in combat, /spawn, /home, /tp, /tpa, /warp and /back are blocked. You can add your own commands to the list.

Trying /spawn and /tp during combat

Installing

  1. You need a Fabric server on Minecraft 26.3, with Fabric Loader 0.20.1 or newer and Java 25.
  2. Drop Combat Persistence and Fabric API into the mods folder.
  3. Start the server once. The config is created at config/combatpersistence.json.

On an older Minecraft version? Check the Versions tab. Each file only works on the versions listed for it.

Settings most people change

Setting Default What it does
combatTagDurationSeconds 15 How long combat lasts after the last hit.
blockedCommands /spawn, /home, /tp, /tpa, /warp, /back Commands you can't use in combat. Add aliases your server uses.
combatMessage IN COMBAT: %s s remaining The countdown text.
npcNamePrefix [OFFLINE] Shown before the mannequin's name.
npcDeathBroadcast [PvP] %s combat logged and was slain! Chat message when a mannequin dies.
disableEnderChests false Turns off ender chests for the whole server.

The full config list is on GitHub.

Offline-mode servers

If your server runs in offline mode, there's an optional login system built in: /register and /login, hashed passwords, a lockout after too many wrong attempts and a login timeout. Online-mode servers skip all of this because Mojang already checks accounts.

One warning: offline mode doesn't encrypt traffic, so passwords can be read by anyone who can see the connection. Use online mode if you can, and tell players not to reuse real passwords.

Questions

Do players need the mod? No, only the server does.

Does it work on Paper, Spigot, Forge or NeoForge? No, it's Fabric only.

What happens if the server restarts while a mannequin is standing there? The mannequin is gone, but the inventory is saved to disk, so the player gets it back the next time they join.

Does it work with other mods? Vanilla inventories, armor and the offhand are covered. I haven't tested mods that add their own inventory slots (backpacks, trinkets), so try it on a test world first.

Anything it can't handle? If the server crashes right after a mannequin dies, before the world saves, the dropped items can be lost. More detail is in the security notes.

Bugs and support

Found a bug? Open an issue with your Minecraft version, mod version and server log, and I'll take a look. Remove passwords and IP addresses from the log first.

If this saves your server some drama, following the project here helps, and so does a coffee on Ko-fi.

Need a different Minecraft version or loader? Tell me what your server uses. Requests help decide which ports are worth maintaining; they don't promise a release.

Custom work for your server

Want a different combat rule, command restriction, or integration with another mod? Ask about paid customization.

Describe what you need and which Minecraft version and mods your server uses. I'll check feasibility before agreeing on scope, price, or a delivery date. An inquiry does not commit either of us to paid work.

Combat Persistence stays free. Bug reports and ordinary feature requests don't require payment.

Project description from Modrinth.

Pick your setup

Combat Persistence by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

3 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Combat Persistence versions and loaders

1 of 6 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.