AFK Sleep

AFK Sleep

Sleep while players are idle on your server · Works with custom player sleeping percentages · Handles dimensions, leaving, joining, ...

5.2K
24

Version 1.3.2

release30 марта 2025 г.

This version drops support for game versions before 1.21, which will give me a good baseline for any future features. I don't plan on introducing anything new any time soon.

This version also removes the debug logs that I left in. They don't do anything if you don't have a particular tag, but still add a very, very small amount of overhead. So I wanted to get a new release out for myself that doesn't contain them.

Version 1.3.2

release23 декабря 2024 г.

This version drops support for game versions before 1.21, which will give me a good baseline for any future features. I don't plan on introducing anything new any time soon.

This version also removes the debug logs that I left in. They don't do anything if you don't have a particular tag, but still add a very, very small amount of overhead. So I wanted to get a new release out for myself that doesn't contain them.

Version 1.3.1

release11 ноября 2024 г.

This is a patch release for 1.3 that drops support for older versions of the game. Both releases behave the same.

To recap the changes in 1.3:

  • Players in other dimensions are no longer counted toward the total number of players
  • Changing player conditions will now update the playersSleepingPercentage while players are trying to sleep
    • This means a player leaving and rejoining, or travelling to the nether, will now work correctly!
  • The "relative percentage" (percentage of online, non-AFK players in the same dimension) that have to sleep to pass the night can now be updated directly by changing the playersSleepingPercentage gamerule
    • I kept having to check my own documentation to remember what value had to change. This massively simplifies the experience and removes a big source of surprise.

Version 1.3

release11 ноября 2024 г.

This version is a massive internal refactor.

Fixes

  • Players in other dimensions are no longer counted toward the total number of players
  • Changing player conditions will now update the playersSleepingPercentage while players are trying to sleep
    • This means a player leaving and rejoining, or travelling to the nether, will now work correctly!
  • The "relative percentage" (percentage of online, non-AFK players in the same dimension) that have to sleep to pass the night can now be updated directly by changing the playersSleepingPercentage gamerule
    • I kept having to check my own documentation to remember what value had to change. This massively simplifies the experience and removes a big source of surprise.

Version 1.2.1

release17 июня 2024 г.

Updated to include support for 1.21.0

Совместимость

Minecraft: Java Edition

1.20–1.21.81.18–1.19.41.17–1.17.1

Создатели

clo4

clo4

Владелец

Детали

Лицензия:MIT
Опубликован:1 год назад
Обновлён:8 месяцев назад