Description
This mod is designed to replicate the sleep system found in Enshrouded. It prevents the entire server from being penalized just because one player can’t access a bed or is AFK. When at least one player sleeps, time begins to speed up. The more players that sleep, the faster the night passes.
The traditional “instant night skip” mechanic has been removed to fit this system, and everything is fully configurable through the mod’s settings.
⚙️ Configuration
["General Settings"]
# Default: 1
# Range: 0 ~ 100
minPlayerPercentage = 1
# Default: 10.0
# Range: 1.0 ~ 1000.0
multiplierPerPlayer = 10.0
# Default: 100
# Range: 1 ~ 10000
maxAcceleration = 100
# Default: 5
# Range: 1 ~ 100
tickInterval = 5
allowVanillaSkip = false
# Default: 50
# Range: 0 ~ 100
skipPercentage = 50
enablePhantomReset = true
#If true, the phantom reset (insomnia timer) will only apply to players who were sleeping.
enablePhantomResetOnlyForSleepers = true
[Notifications]
displaySleepTitle = true
titleMessageTemplate = "&e{sleeping}/{total} &7sleeping (Speed: &b{speed}&7)"
morningMessage = "&6☀ &eThe night passed quickly thanks to the sleepers !"
enableMorningMessage = true
enableMorningSound = true
morningSoundId = "minecraft:block.bell.use"
#If true, the morning sound will only be played for players who were sleeping.
morningSoundOnlyForSleepers = true
enableSmoothWake = true
#If true, the smooth wake effect (blindness) will only be applied to players who were sleeping.
smoothWakeOnlyForSleepers = true
hideSleepOverlay = true
titleOnlyForSleepers = false
# Default: 10
# Range: 0 ~ 100
titleFadeInTicks = 10
# Default: 20
# Range: 0 ~ 200
titleStayTicks = 20
# Default: 10
# Range: 0 ~ 100
titleFadeOutTicks = 10
📜 Informations
If you're interested in using it or feel some features are missing, feel free to contact me, I'm open to feedback and suggestions ! Join my Discord or contact me directely via CurseForge.
