ModsFinder

AntiLogout (CombatLog & AFK)

by samolego

When a player logs out during combat, AntiLogout keeps the character online for a set time, so a logout cannot end a fight.

FabricQuiltServer-side onlyGNU Lesser General Public License v3.0 onlyOpen source1.19.3 – 1.20

What it does

AntiLogout is a server-side mod that stops players from escaping tagged combat by disconnecting. When a player logs out while in combat, the body stays in the world for a configured amount of time. Players who are AFK can be marked so that combat logging is disabled for them, which keeps AFK farming from being used to avoid danger.

The mod adds an afk command with a time setting, and an afk option for changing the time of other players. Permission nodes control who can set their own AFK time, who can set it for others, who can bypass tagged combat, and who can edit or reload the configuration. Operators decide those permissions on their server, so regular players can be limited to the commands they need.

Because it runs on the server alone, only the server owner needs to install AntiLogout. Players join without installing anything. Files are published for Fabric and Quilt, with 1.1.3 as the latest build for 1.20, released on 2023-06-08. The code is open source under the GNU Lesser General Public License v3.0 only, and the mod's source code and issue tracker are public.

Key features

  1. Combat logging prevention

    A player who disconnects during tagged combat remains as a body in the world for the configured time.

  2. AFK command

    Players can mark themselves as AFK with a time setting, and this disables combat logging while they are away.

  3. Setting AFK time for others

    A permission-gated option lets authorized players set the AFK time of other players.

  4. Configuration commands

    Authorized players can edit the AntiLogout configuration and reload it without restarting the server.

Compatibility

Latest build for each game version and loader.

1.201.1.31.1.3
1.19.41.1.11.1.1
1.19.31.1.01.1.0
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

Use cases

Protecting PvP servers

Server owners can keep players in combat by preventing them from leaving the world during a fight.

Limiting AFK farming

Disabling combat logging for AFK players stops them from using idle time to escape hostile encounters.

Who it’s for: Server owners who run survival or PvP servers and want players to stay in combat until it ends. Server administrators who need to control AFK status and configuration through permissions will also find the command set relevant.

Questions

Does AntiLogout need to be installed on clients?

No. Only the server needs it, and players join without installing anything. Only the server runs the mod.

Which loaders can run AntiLogout?

Files are published for Fabric and Quilt. The latest build for both loaders is 1.1.3 for 1.20, released on 2023-06-08.

Which permissions control the AFK commands?

Separate nodes cover setting an AFK time, setting it for others, bypassing tagged combat and editing or reloading the configuration.

In the catalog

AntiLogout (CombatLog & AFK) is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 10,288 mods support Minecraft 1.20.

More from samolego

All projects

Similar mods

What the author says

Anti logout serverside mod! Provides /afk and disables combat logging. Want to afk on your farm that requires player online? Do you want to prevent players escaping from combat by looging out?
samolego, on the Modrinth page

Official listing

Owner
samolego
Published
2023-01-24
Updated on Modrinth
2023-06-08
Facts verified
2026-10-15

Tags