Mineuniverse
Log in Register
Mods

AFK Command

Adds an AFK command with some extra functionalities
by aylanj123
Download Claim this project
21,565 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Server Utility Utility & QoL

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

afk_command-1.00.001-1.21.1.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-07-02 Get
Small bug on issue tracker - 1.20.2
MC Client, 1.20.2, Forge, Server
Release 2024-02-26 Get

More from aylanj123

Waystones and Lightman
59,233
Useful Ladders
142,544

You Might Also Like

VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579
APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Datapack Commands
A mod massively expanding on Minecraft's commands (including textboards!)
9,986
World Type Lock
Forces players to use a specified World Type!
9,893