promotional bannermobile promotional banner
premium banner
allows the night to pass when only one player is asleep, without requiring all players to sleep.

Description

🌙 SoloSleep Mod

ِAllows the night to pass when only one player is asleep — no need for everyone to go to bed!


✨ Features

  • Solo Sleep: Any single player can skip the night by sleeping, even when others stay awake.
  • Configurable: Full control via a configuration file.
  • Smart Detection: Only triggers during actual night time (ticks 12000–24000).
  • Game Rule Respect: Fully respects the doDaylightCycle game rule.
  • Custom Messages: Sends a configurable message to all players when someone sleeps.

⚙️ Configuration Options

  • enableSoloSleep: true — Enable or disable solo sleep functionality
  • minimumPlayersRequired: 0 — Minimum number of players required online for solo sleep to work
  • sleepMessage: " is sleeping. Good night!" — Message broadcast to all players when someone sleeps
  • requireNightTime: true — Only allow solo sleep during the night
  • respectGameRules: true — Respect doDaylightCycle and related game rules

💡 Summary

SoloSleep is a lightweight quality-of-life mod that makes sleeping more convenient on multiplayer servers — no more waiting for everyone to go to bed!