promotional bannermobile promotional banner

Auto Logout

Auto logout when a player gets close. Leaves the server (or just alerts you) the moment another player enters your radius. Friends list, NPC filter, J to toggle. Fabric, Forge and NeoForge, 1.21.8 - 26.3.
gallery-1-disconnect-screen.png

gallery-1-disconnect-screen.png

gallery-2-armed.png

gallery-2-armed.png

gallery-3-alert-mode.png

gallery-3-alert-mode.png

Description

Never get caught AFK again

Auto Logout watches the players around you and disconnects you the moment someone comes within your set distance. Perfect for AFK farms, overnight grinding and keeping your base hidden on SMP servers.

Prefer to stay online? Switch to Alert mode and get a sound, a chat message and an action-bar warning instead.

Features

  • Auto logout when a player enters your radius (1 - 512 blocks, default 32)
  • Alert mode - sound + chat + action bar, no disconnect
  • Friends list - your friends never trigger it
  • NPC filter - ignores hub/spawn NPCs that aren't real players
  • Turns itself off after a logout so you can rejoin safely
  • The disconnect screen shows who came close and how far away they were
  • Toggle with J (rebindable in Controls)
  • Client-side only - works on vanilla, Paper, Spigot and modded servers

Configuration

File: config/autologout.json

Option Default What it does
radius 32 Distance in blocks that triggers it
action DISCONNECT DISCONNECT or ALERT
friends [] Player names that never trigger it
ignoreNpcs true Ignore players that are not in the tab list
disableAfterLogout true Switch off after a logout
alertCooldownSeconds 15 Alert mode: time before the same player is reported again

Edit the file, then press J twice in game to reload it.

Versions

Loader Minecraft
Fabric (Fabric API required) 1.21.8 - 1.21.11 and 26.1 - 26.3 (two files)
NeoForge 1.21.8 - 26.3 (one file)
Forge 1.21.8 - 26.3 (one file)

Note

Some servers do not allow player-detection mods. Check the rules of the server you play on.

Made by Pokato - MIT License

Auto Logout Team

profile avatar
Owner
Forgeborn tier icon
  • 12
    Followers
  • 43
    Projects
  • 206.0K
    Downloads

Minecraft mod creator

More from PokatoView all

  • Cars: Drive, Drift & Force Feedback project image

    Cars: Drive, Drift & Force Feedback

    Eight life-size cars and three motorcycles with real driving physics: drifting, leaning bikes with wheelies and stoppies, damage, a full cockpit view and steering wheel support with 500 Hz force feedback.

    • 2.6K
    • November 4, 2026
  • Dragons project image

    Dragons

    Tame, saddle and fly six elemental dragons, each dragon with its own animated model and ability: fire breath, frost breath, lightning, venom, void blink and tidal jet.

    • 28.6K
    • November 3, 2026
  • Dwarves project image

    Dwarves

    Neutral dwarf clans and their great halls carved into the sides of mountains: gates, forges, mines, taverns, throne rooms, trading and dwarven steel gear.

    • 9
    • October 31, 2026
  • Better Zombie Animations project image

    Better Zombie Animations

    Rotting zombies that move like the living dead: limping shamble, clawing reach, snapping jaws, swimming drowned. Needs EMF + ETF.

    • 105
    • October 29, 2026
  • Cars: Drive, Drift & Force Feedback project image

    Cars: Drive, Drift & Force Feedback

    Eight life-size cars and three motorcycles with real driving physics: drifting, leaning bikes with wheelies and stoppies, damage, a full cockpit view and steering wheel support with 500 Hz force feedback.

    • 2.6K
    • November 4, 2026
  • Dragons project image

    Dragons

    Tame, saddle and fly six elemental dragons, each dragon with its own animated model and ability: fire breath, frost breath, lightning, venom, void blink and tidal jet.

    • 28.6K
    • November 3, 2026
  • Dwarves project image

    Dwarves

    Neutral dwarf clans and their great halls carved into the sides of mountains: gates, forges, mines, taverns, throne rooms, trading and dwarven steel gear.

    • 9
    • October 31, 2026
  • Better Zombie Animations project image

    Better Zombie Animations

    Rotting zombies that move like the living dead: limping shamble, clawing reach, snapping jaws, swimming drowned. Needs EMF + ETF.

    • 105
    • October 29, 2026