AFK Command
Modby aylanj123
Adds an AFK command with some extra functionalities
Type
Mod
CurseForge Downloads
22,098
CurseForge ID
974185
Last Updated
Jul 29, 2026
Description
Running a server and you're having problems with players going AFK and preventing sleep for others? Fear not, this mod will help a lot for those servers that run without plugins (Or want some extra functionality).
AFK players do not count towards the required amount of players needed to sleep.
This mod is required on both client and server. Other sleep related mods could be incompatible, excercise caution.
Configurations have been added! Now available for NeoForge 1.21.1!
The players can go AFK with the command /afk but an operator or a command block can force a player into AFK status with /afk force <target>.
There are many configurations available to tweak your experience! For example, AFK players can be immune and untargetable, auto AFK on login, cooldowns, AFK players kicked from server after a set time, etc!
The mod won't be updated further in 1.20.1 but will be ported to other versions. If you have a suggestion, I might add it to all versions if is good enough! If you have translations for other languages not available. Let me know with an Issue on GitHub. I'll gladly add it!
Current translations are:
- English by me and proof-read by some friends
- Spanish by me
- German by Junnichi81
- Swedish by _Darkfalcon_
- Portuguese by Zaderos
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Hardcore Revival (Outdated Versions)
Help your friends back up after they die (if you can make it in time)
SWISS
Simple Wireless Interface Storage System
TechStack's Heavy Machinery Mod
Adding Heavy Machines to Minecraft like : Loaders, Dump trucks, Bulldozers & much more!
Nerfed Elytras
Adds a speed limit to elytras
Mana Liquidizer
A mod that allows you to turn mana into and from mana fluid, which allows a lot of possibilities!
[CDM] ChaosCraft's Devices
A lightweight in-game desktop for Minecraft featuring windowed apps, virtual files, wallpapers, and per-player persisten...