For servers
Server behavior
The mod respects the vanilla playerSleepingPercentage gamerule.
If this value is set below 100%, only players who actually slept during the night will receive:
- the Rested effect
- the night summary
Players who did not sleep will not receive these rewards.
Rest counter handling
The config includes the following option:
"server": {
"resetPhantomTimerForNonSleepers": true
}
This setting controls how the phantom rest timer (timeSinceLastRest) is reset when the night is skipped.
- enabled (true)
- disabled (false)
- The rest timer is reset for all players
- Even players who did not sleep will have their counter reset
tip
Prevents situations where players who didn't participate in skipping the night are still targeted by phantoms later.
- The rest timer is reset only for players who actually slept
- Players who didn't sleep keep their
timeSinceLastRestvalue and may still be targeted by phantoms on future nights