CombatLock
by SleepyLux
CombatLock is a configurable Fabric mod that stops players from logging out during combat, server-side only.
What it does
The mod targets combat logging, where a player leaves the server mid-fight to escape. It is server-side only, so players join without installing anything and only the server runs it. Files are published for Fabric, for the 1.21 game version, with v2.0-1.21-HOTFIX for 1.21 as the latest build, dated 2024-08-07. The code is released under the GNU General Public License v3.0 only, and the source code and issue tracker are public.
Key features
Anti-combat-logging
Players who log out during combat are kept in the mechanic the mod sets, which discourages leaving to escape a fight.
Configurable settings
The settings can be adjusted by server owners to tune the behavior without editing code.
Server-side operation
Only the server installs the mod, and players connect as usual with no client change.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Combatlog is a server-side Anti-combat-logging option that also covers Fabric, Forge and NeoForge for 1.16.5 – 26.3 under the MIT License. Anti Strip is a client-side only Fabric mod for 1.21.11, not open source. CombatLock is a Fabric server mod for 1.21 under the GNU General Public License v3.0 only.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| CombatLock | Fabric | 1.21 | Server-side only | 2024-08-07 |
| Combatlog | Fabric, Forge and NeoForge | 1.16.5 – 26.3 | Server-side only | 2026-09-25 |
| Anti Strip | Fabric | 1.21.11 | Client-side only | 2026-01-27 |
Questions
Does CombatLock need to be installed on the client?
Which loader does CombatLock use?
In the catalog
CombatLock is one of 5,392 Social mods on ModsFinder, and one of 4,084 Social mods for Fabric. 15,770 mods support Minecraft 1.21.
More from SleepyLux
Similar mods
What the author says
A simple, easy-to-use, fully configurable Anti-CombatLog Mod. Join The Fabric Project Server if you cannot dm me.
Official listing
- Modrinth page
- modrinth.com/mod/combatlock
- Owner
- SleepyLux
- Published
- 2024-08-03
- Updated on Modrinth
- 2024-08-07
- Facts verified
- 2026-10-15
