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