Home›Java›Mods›AFK Command
AFK Command
ModsJava

AFK Command

Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.

by aylanj123 · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.1 · NeoForge⬇ Download for 1.20.2 · Forge⬇ Download for 1.20.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more