promotional bannermobile promotional banner

Server Sleep Mod

Implements the playersSleepingPercentage gamerule (useless after 1.17 but I didn't pay attention to change logs).

File Details

server-sleep-mod-1.0.1.jar

  • R
  • Apr 3, 2022
  • 7.50 KB
  • 1.1K
  • 1.18.2+2
  • Fabric

File Name

server-sleep-mod-1.0.1.jar

Supported Versions

  • 1.18.2
  • 1.18.1
  • 1.18

Curse Maven Snippet

Fabric

modImplementation "curse.maven:server-sleep-mod-602694:3734374"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changes:
- Used to trigger sleep/night skip instantly. There's now a check to make sure that the player has slept long enough (100 ticks/5 secs).
- Used to only send a chat message to all players that were sleeping. The notification now goes out to everyone and in the action bar instead of chat.
- optimized some unnecessary code