Download Anti-Combatlog (AntiLogout) — Minecraft Mods — ModStock

Anti-Combatlog (AntiLogout)

Active

Downloads

0

Last update

1 month ago

Versions

1.21.7 — 1.21.8
Server
Fabric
Game mechanics
Control

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!

Project members
nuss

nuss

Developer