How to Prevent Phantom Spawns for Awake Players
When playing on a server with percentage-based sleeping, players who stay awake working on builds can still accumulate insomnia and face phantom attacks. You can configure the mod so that passing the night resets insomnia for everyone.
Checking the Rest Reset State
By default, skipping the night resets the rest timer for sleeping players, but you can check whether it also applies to those who remained awake:
1. Open your in-game chat interface.
2. Run the command /sleep all_players_rest.
3. Read the chat response to see whether the last slept time currently resets for all players when the night is successfully skipped.
Enabling Rest for Awake Players
To ensure awake players avoid phantom spawning as long as the sleeping threshold was met:
1. Run /sleep all_players_rest <all_players_rest>, replacing the argument with your desired setting state.
2. Alternatively, open your world folder, access the serverconfig directory, and edit easier_sleeping-server.toml to set this rule permanently.
When enabled, all players in the dimension have their last slept time refreshed when morning arrives, completely preventing phantom harassment for everyone online regardless of who was in bed.