
Sleep Anywhere
Sleep anywhere without a bed!
About this Mod
Sleep Anywhere
The Sleep Anywhere mod is a convenient addition to Minecraft that allows players to sleep anywhere they want without the need for a bed. Whether you're exploring distant lands, delving into deep caves, or simply caught out in the wilderness at night, this mod lets you rest on the go.
Features
Singleplayer and Multiplayer compatible:
Both the server and client need to have the mod installed. The config of the server takes priority.
Configurable Key Binding:
You can configure the key binding for sleeping according to your preference. By default, press 'M' to sleep.
Debuffs for Balance:
To maintain game balance and prevent abuse, the mod introduces configurable debuffs when sleeping. These debuffs include:
- Hunger
- Nausea
- Blindness
- Darkness
- Mining Fatigue
- Weakness
- Slowness
Configuration
You can customize the effects of the Sleep Anywhere mod through its configuration file (located in .minecraft/config/sleepanywhere-config): Adjust the duration of debuffs applied when sleeping, or disable them entirely if desired (by setting them to 0).
Feedback and Support
If you encounter any issues or have suggestions for improving the Sleep Anywhere mod, feel free to reach out via GitHub Issues or leave a message in the comments.
License
This mod is distributed under the CC0-1.0 License.
Available Versions
How to Install Sleep Anywhere on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).
Install Mod
Open the mod browser in the dashboard and search for "Sleep Anywhere". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.3, 1.20.2 (+2 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Sleep Anywhere server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.
Is Sleep Anywhere compatible with fabric and forge?
Sleep Anywhere officially supports fabric, forge for Minecraft 1.20.4, 1.20.3, 1.20.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Sleep Anywhere – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Sleep Anywhere consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Sleep Anywhere with just one click on your server.