Anti-Combatlog (AntiLogout)

Anti-Combatlog (AntiLogout)

Prevent combat logging & provide /afk command for farming!

663 downloads 1 followers

AntiLogout

Stop combat logging on your server!
Prevents players from logging out during combat by keeping them in the game until the fight is over.


Features

  • Combat logout protection: Players who log out during combat remain as a dummy in the world until combat ends.
  • AFK command system: /afk command: lets players logout with the account still online, with optional time limits.
  • Easy in-game configuration: Change settings and reload config without restarting the server.
  • Permission system: Fine-grained control over who can use commands and features.

Commands

Player Commands

  • /afk [time] [player]
    • [time] — How long to stay AFK (in seconds, -1 for unlimited)
    • [player] — Set another player AFK (requires permission)

Admin Commands

  • /antilogout get <option> — View current settings
  • /antilogout set <option> <value> — Change settings
  • /antilogout reload — Reload configuration
  • /antilogout status — Show mod status

Examples

  • /afk time 300 — Go AFK for 5 minutes
  • /afk time -1 — Go AFK until you reconnect
  • /antilogout set combatTimeout 30 — Set combat timeout to 30 seconds

About

Note: This is a fork of the original AntiLogout (CombatLog & AFK) by samolego, updated for Minecraft 1.21.7 with code cleanup and improvements.


Have fun!

No gallery available for this project.

Version Minecraft Loader Download

Anti-Combatlog 2.1.0 for 1.21.7

2.1.0

1.21.7
fabric
Download

Anti-Combatlog 2.1.0 for 1.21.8

2.1.0

1.21.8
fabric
Download

Anti-Combatlog 2.0.0

2.0.0

1.21.7
fabric
Download