Anti-Combatlog (AntiLogout)
by nuss
Anti-Combatlog stops players from escaping a fight by logging out, keeping their character in the world until combat ends.
What it does
When a player logs out during combat, the character stays in the world as a dummy until the fight is over, so logging out cannot be used to dodge damage or consequences. The same server-side system also includes an AFK command that lets a player log out with the account still online, with an optional time limit set in seconds, where -1 means unlimited.
The mod is server-side only, so the server needs it and players join without installing anything. Installation needs Fabric API as a required dependency. Files are published for Fabric only, for 1.21.7 and 1.21.8, with 2.1.0 for 1.21.8 as the latest file, released under the GNU Lesser General Public License v3.0 only, which makes it open source with public source code and an issue tracker.
Key features
Combat logout protection
A player who disconnects mid-fight remains in the world as a dummy until combat ends, closing the logout exit.
AFK command
Players can use an afk command to log out while the account stays online, with an optional time limit.
Permission controls
Fine-grained permissions decide which players can use each command, and setting another player AFK requires its own permission.
Config reload in game
Settings can be changed and the config reloaded without restarting the server.
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.
Required 1
Use cases
Protecting PvP servers
Server owners running player combat can keep fights from ending with a logout, since the character remains until the fight is over.
Stopping AFK farming
Server owners who want to block AFK command farming can restrict or time-limit the command through its permissions and time settings.
Who it’s for: Server owners who run PvP or survival servers and want to prevent combat logging, and who need fine control over who may use the AFK command.
How it compares
GoAFK is server-side only and open source under the MIT License, published for 1.21.8 – 1.21.10 on Fabric. Logout Timer is client-side only, under the MIT License and not open source, built for 1.21.4 on Fabric, so it runs on the player side and not the server. No combat Logging is server required with client optional, open source under the MIT License, and covers 1.21.11 – 26.2 on Fabric.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Anti-Combatlog (AntiLogout) | Fabric | 1.21.7 – 1.21.8 | Server-side only | 2025-07-28 |
| GoAFK | Fabric | 1.21.8 – 1.21.10 | Server-side only | 2025-10-15 |
| Logout Timer | Fabric | 1.21.4 | Client-side only | 2025-12-08 |
| No combat Logging | Fabric | 1.21.11 – 26.2 | Server required, client optional | 2026-08-30 |
Questions
Does Anti-Combatlog need Fabric API?
Do players need to install Anti-Combatlog?
Which game versions have Anti-Combatlog files?
In the catalog
Anti-Combatlog (AntiLogout) is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 17,695 mods support Minecraft 1.21.8.
Similar mods
What the author says
Stop combat logging on your server! Prevents players from logging out during combat by keeping them in the game until the fight is over.
Official listing
- Modrinth page
- modrinth.com/mod/anticombatlog
- Owner
- nuss
- Published
- 2025-07-14
- Updated on Modrinth
- 2025-07-28
- Facts verified
- 2026-10-15
