One PlayerSleep
The One Player Sleep mod enhances sleep management on multiplayer servers by allowing players to easily change the percentage of players required to sleep simultaneously to skip the night.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
One PlayerSleep
One PlayerSleep
The One PlayerSleep mod enhances sleep management on multiplayer servers by allowing players to easily change the percentage of players required to sleep simultaneously to skip the night. This mod is especially useful for servers with many players, where it can be challenging for everyone to sleep at the same time. With this mod, just one player or a configurable percentage of players can sleep to transition from night to day.
Basic Setup
1. Install the mod on your server 2. Use `/sleep percentage 25` to require only 25% of players to sleep 3. Players can now sleep to skip the night with fewer participants
Advanced Configuration
``` /sleep percentage 10 # Only 10% of players need to sleep /sleep nether on # Allow sleep in Nether /sleep messages off # Disable sleep messages /sleep reload # Reload configuration from file /sleep cooldown clear # Clear all sleep cooldowns ```
How It Works
1. Performance Optimized: The mod monitors when it's night time in the world 2. Performance Optimized: Counts the total number of players and sleeping players 3. Performance Optimized: Calculates required sleepers based on configuration 4. Performance Optimized: Prevents rapid sleep/wake cycles with configurable cooldowns 5. Performance Optimized: When enough players sleep, the night is skipped to day 6. Performance Optimized: All sleeping players are automatically woken up 7. Performance Optimized: Only checks every 20 ticks (1 second) for better performance
This mod provides a simple but powerful way to improve the quality of life on multiplayer servers by reducing the hassle of coordinating sleep.