CombatLock | No Commands During PvP
Few things ruin a server fight faster than an opponent who vanishes mid-swing. You land a solid hit, they type /spawn, and suddenly you are swinging at empty air. CombatLock | No Commands During PvP exists to end that frustration once and for all. This lightweight, server-side add-on tags players as "in combat" the moment blades start flying and locks down every command until the dust settles.
What CombatLock | No Commands During PvP Actually Does
The core idea is simple: when you attack another player or get attacked, both of you enter a 30-second combat state. During that window, all commands are blocked by default, including /spawn, /home, /tpa, /msg, and anything else that could be used to escape a fight or interfere with it. Every new hit resets the timer, so nobody can simply stall for a few seconds and then teleport to safety while the battle is still raging.
An action bar countdown shows exactly how many seconds remain before commands unlock again, which keeps players informed without cluttering chat. It is a small touch, but it makes the whole system feel transparent rather than punishing.
Features That Keep Fights Honest
- Automatic combat tagging: attacking or being attacked starts a 30-second timer for both players.
- Complete command blocking: every command is disabled during combat, with no exceptions by default.
- Resetting combat timer: each PvP hit restarts the countdown so players stay tagged while actively fighting.
- Action bar countdown: a live readout of remaining combat time.
- Configurable duration: change how long players remain combat-tagged to match your server's pace.
- Command whitelist: optionally allow specific commands, such as a friendly /msg or a staff tool, during combat.
- Logout protection: optional, configurable punishments for players who disconnect mid-fight.
- Server-side only: players join without installing anything on their clients.
Supported Versions and Loaders
CombatLock | No Commands During PvP for Minecraft is built as a server-side mod, so it runs on the server and requires no client installation. It supports modern Minecraft releases on the Fabric and NeoForge loaders, with Forge builds available for older modpacks. If you run a mixed-version network, check the file listing on the project page to grab the build that matches your server's Minecraft version and loader before you deploy it.
Because the mod is server-side only, vanilla clients can connect without any changes. That makes it a painless addition for communities where not everyone wants to manage mods locally. If you prefer a hands-off setup, the foxygame.net launcher can handle the entire process for you: its add-on catalog lets you install CombatLock | No Commands During PvP in a single click, and it keeps the mod updated automatically whenever a new Minecraft version drops.
Who Should Use It
CombatLock is especially valuable for survival and SMP servers, PvP and raiding communities, factions servers, and modded multiplayer worlds. Anywhere that combat logging or teleporting away from a fight is a problem, this mod closes the loophole. It is also a strong fit for servers that want fair play without installing heavy anti-cheat suites, since it targets one specific abuse case and handles it cleanly.
How to Install
Getting started takes only a few minutes. Here is how to install CombatLock | No Commands During PvP on your server:
- Download CombatLock | No Commands During PvP from the official project page, choosing the build that matches your Minecraft version and loader.
- Stop your server and drop the mod file into the server's mods folder.
- Restart the server so the mod can generate its configuration files.
- Open the config to adjust combat duration, whitelisted commands, and logout protection if the defaults do not suit your community.
- Restart once more and test with two accounts to confirm the countdown and command blocking behave as expected.
The default settings work immediately, so you can skip configuration entirely if you just want standard 30-second tagging with full command blocking.
Final Thoughts
Fair fights are the foundation of any healthy PvP community, and CombatLock | No Commands During PvP delivers exactly that with minimal fuss. It does one job well: it stops players from commanding their way out of a losing battle. No complicated mechanics, no client-side requirements, and no reason for your next duel to end in a teleport. Fight it out, don't command your way out.