HomeJavaModsAutoAfkSleep
AutoAfkSleep
ModsJava

AutoAfkSleep

by johnflyiii · on Modrinth

Automatically sleep when AFK! Features chat monitoring, disconnect phrases, and customizable failure actions. Perfect for AFK farms and idle players.

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21.9–1.21.10⬇ Download for 1.21–1.21.8
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.
AutoAfkSleep — screenshot 1AutoAfkSleep — screenshot 2AutoAfkSleep — screenshot 3AutoAfkSleep — screenshot 4AutoAfkSleep — screenshot 5

AutoAFK Sleep - Automatic Bed Usage & Hunger Management for AFK Players (v1.2.1)

Never worry about surviving the night or starving while AFK again! This client-side mod automatically uses nearby beds when night falls and manages your hunger, keeping you safe and fed while you're away from your keyboard.

✨ Key Features

🛏️ Smart Auto-Sleep System

🍖 Auto-Eat Feature (New in v1.2.0, Fixed in v1.2.1)

💬 Chat Monitoring & Auto-Response

🚪 Remote Disconnect Feature

⚙️ Flexible Failure Handling When unable to sleep, choose your preferred action:

⚡ Performance Optimized (v1.1.0+)

📋 Requirements

🎮 Quick Start

  1. Install the mod with Fabric API
  2. Join your world/server
  3. Press K to open settings or use /autoafksleep enable
  4. Place a bed within 2 blocks of your AFK spot
  5. Configure your preferences and go AFK with confidence!

🔧 Commands

🤝 Compatibility

This mod is client-side only and works on:

📝 License

Licensed under Apache 2.0 - You're free to use, modify, and redistribute with attribution.

🙏 Acknowledgments

Special thanks to the players at MCVerse City for testing and providing valuable feedback during development!

https://mcverse.city/


Perfect for AFK farms, long building sessions, or any time you need to step away from the game! Stay safe from mobs and hunger while maintaining your server presence. Version 1.2.1 brings reliable AutoEat functionality to keep you fed during those long AFK sessions!

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.

Verified by MCModsHub

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

Explore more