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.
介绍
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
- Install the mod on your server
- Use
/sleep percentage 25to require only 25% of players to sleep - 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
- Night Detection: The mod monitors when it’s night time in the world
- Player Counting: Counts the total number of players and sleeping players
- Percentage Calculation: Calculates required sleepers based on configuration
- Cooldown Check: Prevents rapid sleep/wake cycles with configurable cooldowns
- Sleep Trigger: When enough players sleep, the night is skipped to day
- Auto Wake-up: All sleeping players are automatically woken up
- 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.
常见问题
One PlayerSleep 支持哪些 Minecraft 版本?
One PlayerSleep 支持 Minecraft Java 版 1.21–1.21.8,共 9 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
One PlayerSleep 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
RobTrap 的其他作品
查看全部 →
Inventory Organizer
This Inventory Organizer mod for Minecraft adds useful commands that help players efficiently manage and organize their inventories.
SmartStorageSystem
The Smart Storage System is an intelligent Minecraft mod that revolutionizes inventory management by automatically sorting items into categorized chests, providing global search functionality, and offering automatic item routing.
Hardcore-ban
Hardcore Ban Mod The Hardcore Ban Mod enhances the gameplay experience by automatically banning players for 24 hours upon their death.
SimpleGlowing
A Minecraft mod that makes players glow with unique colors, visible through walls.
评论
登录后评论和评分