
Sensible Sleepiness
A mod that adds further per-player customization for Phantom's behavior.
About this Mod
Sensible Sleepiness
A small, server-side Fabric mod to allow each player to select how they want to interact with Phantoms. Players can select between one of three "sleepy" modes via commands. However, this mod does not override the doInsomnia gamerule. That is, if it set to false, then no Phantoms will spawn for everyone, regardless of their sleepy mode.
Insomnia mode
/sleepy-mode insomnia
This is the default sleepy mode for those who want to keep the vanilla behaviour of Phantoms for themselves.
Hypersomnia mode
/sleepy-mode hypersomnia
This mode prevents Phantoms from spawning around the player with the mode enabled. They will also become invisible to already spawned Phantoms.
Parasomnia mode
/sleepy-mode parasomnia
This mode increases the difficulty of Phantoms by making them bigger and deal more damage the more nights the player has gone without sleeping. The period of grace becomes shorter. Though there is a chance that Phantoms will appear in smaller groups, this chance will only decrease the more nights go by without sleeping.
To compensate for the added difficulty, Phantoms spawned for players with this mode enabled will have higher chances to drop more experience, and better chances to drop loot upon death.
You can view your current sleepy mode by simply running/sleepy-mode.
Default sleepy mode
As a server admin, you can also select the default sleepy mode for new players by running/gamerule defaultSleepyMode <sleepyMode>
Where <sleepyMode> can be one of the following:
InsomniaHypersomniaParasomnia
Support
If you would like to report a bug, or make a suggestion, you can do so via the mod's issue tracker.
Credits
- Thanks to @Baconbacon123 for giving me the idea and name for this mod.
Available Versions
How to Install Sensible Sleepiness 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.21).
Install Mod
Open the mod browser in the dashboard and search for "Sensible Sleepiness". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21, 1.20.5, 1.20.4 (+4 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Sensible Sleepiness 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.21). You can switch loaders with one click in the panel.
Is Sensible Sleepiness compatible with fabric?
Sensible Sleepiness officially supports fabric for Minecraft 1.21, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Sensible Sleepiness – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Sensible Sleepiness 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 Sensible Sleepiness with just one click on your server.