HomeJavaModsCombat Persistence
Combat Persistence
ModsJava

Combat Persistence

by PottersGame · on Modrinth

A server-side Fabric mod that prevents combat logging with persistent NPCs, featuring a secure authentication system and custom skin support for offline…

⬇ Download on Modrinth

Combat Persistence 🛡️

Combat Persistence is a professional-grade, 100% server-side Fabric mod for competitive Minecraft servers. It kills combat logging by spawning a vulnerable NPC whenever a player disconnects mid-fight — so closing the game is never an escape. It also ships a hardened, built-in authentication system to lock down offline-mode and cracked servers.

No client install required. Your players just connect and play.


⚔️ Combat Logging Protection

🔐 Built-in Secure Authentication

🪓 Arena / SMP Extras


🆕 What's New in 1.7.0

⌨️ Commands

Command Description
/register <password> <confirm> Register your account.
/login <password> Log in to your account.
/skin <name> Apply a skin from a Mojang account name.
/authreset <player> (Operator) Reset a player's account so they must register again.

🔧 Configuration

Everything lives in config/combatpersistence.json and generates on first launch. Highlights:

Setting Default What it does
combatTagDurationSeconds 15 Length of the combat tag.
blockedCommands /spawn, /home, /tp, /tpa, /warp, /back Commands disabled while tagged.
disableEnderChests false Block ender chests server-wide (arena/SMP).
enableAuth true Toggle the whole authentication system.
forceAuthInOfflineMode true Require auth even in offline mode.
enableIpAutoLogin false Optional IP-based auto-login (use only on trusted servers).
maxLoginAttempts / loginLockoutSeconds 5 / 300 Brute-force lockout threshold and cooldown.
sessionDurationHours 24 How long an auto-login session lasts.
hideInventoryBeforeAuth true Conceal inventory until login.
hideCoordinatesBeforeAuth true Conceal coordinates until login.

All in-game messages are fully customizable (color codes supported).

📦 Requirements

💎 Why Combat Persistence?

Built with an exploit-first mindset. We've manually patched duplication glitches (cursor stacks, inventory ghosting), offline-mode identity spoofing, and authentication bypasses that affect other similar mods. It uses ReentrantLock and background saving to stay thread-safe and lag-free under load.

❤️ Support

If this mod helps your server, you can support development here: ko-fi.com/pottersgame


Source Code · Issue Tracker · GPL-3.0 License

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more