
Sleep Deprived
A small mod that gives players a reason to use the bed and sleep.
Screenshots


About this Mod
Sleep Deprived
Description
DEPRECATED, PLEASE USE AT YOUR OWN RISK, CONTAINS BUGS!
A small mod that gives players a reason to use the bed and sleep. After some amount of time without sleeping, you will get the "Sleep Deprivation" effect. The effect will get stronger over time over the course of four phases. Your stats like reach and movement speed will decrease. You will get blindness, nausea, and hear strange noises. In the last phase, you will get damage.
You won't get sleep deprived when you have the "Awake" effect active, currently obtainable through the "Red Horse Energy" item and golden apples. When you consume them, you will have the "Awake" effect for some time. The "Red Horse Energy" item is not craftable but you can find it as loot.
Feel free to write a comment or join my Discord if you have questions or ideas for this mod.
Thanks to Lorc for his amazing 700+ RPG icons free for use!
Config
- ''minutes_until_tired" -> The number of minutes until you get tired. 20 minutes is one day-night cycle. (default: 40.0)
- "die_from_exhaustion" -> If you will die from exhaustion or remain on one heart. (default: True)
- "phase_time_ticks" -> Number of ticks a phase should last. (default: 6000.0) PLEASE DONT CHANGE!
Compatibility
Since you might want to obtain the awake effect by some other items from different mods, I changed this mod to use a tag system to give the effect after consuming items, tagged as low, mid and high stimulant. You can add items to this tag, through a datapack.
I will start and create some packs myself for you to use and customize. Currently available:
NOTE: If you want to enable a datapack by default, without adding it to every world manually, I recommend the OpenLoader mod by Darkhax.
Future Plans
- Add some 'hallucination' effects.
- Fix known issues with the config.
- Make exhaustion status bar stages more smooth
Known Issues
- Please don't change the "phase_time_ticks" value in the config (default : 6000.0)! The implementation is buggy and there are still hardcoded parts. I will fix this in the future, but for now, please leave this value on default!
- You have to end the numeric values in the config file with ".0". Otherwise the config will not be saved, but overwritten by the config plugin I use!
Available Versions
How to Install Sleep Deprived on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "Sleep Deprived". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Sleep Deprived server crashes on startup – what to do?
Most common cause: wrong forge 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.1). You can switch loaders with one click in the panel.
Is Sleep Deprived compatible with forge?
Sleep Deprived officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Sleep Deprived – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Sleep Deprived 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 Deprived with just one click on your server.