Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Changelog
This version of the data pack maintains compatibility with previous versions but changes a lot internally.
This changelog doesn't go into much detail. For more information, read the documentation. A copy is included in a download of this data pack.
-
Improved the responsiveness of the AFK detection
- The data pack is performant enough that on a low spec system it can easily run for tens of players on every tick, but I'm only increasing the rate of checking from every 5 seconds to 1.5 seconds.
-
Added an
afk
trigger- Admins can run
/scoreboard players enable <username> afk
to allow a player to manually become AFK
- Admins can run
-
Added a new
afk.ticks
scoreboard, which can be used to track the amount of ticks that players have been AFK -
A player exiting and re-joining the game is counted as active
-
Players leaving the game can be detected by add-ons without implementing a custom scoreboard
-
Added a configurable threshold for players becoming AFK, instead of hard-coding 3 minutes
- An admin can run
/scoreboard players set .threshold afk.settings <ticks>
- 3600 ticks by default, which is 3 minutes
- An admin can run
-
Changed scoreboard objective names. The names documented in the documentation are now stable and part of the public API.
Files
Metadata
Release channel
ReleaseVersion number
1.2Loaders
Game versions
1.20.3–1.21.4Downloads
37Publication date
December 11, 2024 at 11:40 PMPublisher
clo4
Owner