Detect AFK PlayersСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачать
ВЕРСИИ (9)
release
Version 1.2.2
1.2.2+mod26 июл. 2025 г.23,7 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8fabric, forge, neoforge, quilt
Что нового
This update doesn't introduce any new functionality, but it does add compatibility for older versions of the game at the same time as newer versions thanks to the magic of having a build step.
release
Version 1.2.2
1.2.226 июл. 2025 г.1,1 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8datapack
Что нового
This update doesn't introduce any new functionality, but it does add compatibility for older versions of the game at the same time as newer versions thanks to the magic of having a build step.
release
Version 1.2.1
1.2.1+mod11 апр. 2025 г.3,8 тыс.Minecraft: 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, forge, neoforge, quilt
Что нового
This removes a debugging function that was causing harmless (but ugly) errors in the game logs, and bumps the data pack version.
release
Version 1.2.1
1.2.111 апр. 2025 г.586Minecraft: 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5datapack
Что нового
This removes a debugging function that was causing harmless (but ugly) errors in the game logs, and bumps the data pack version.
release
Version 1.2
1.2+mod30 мар. 2025 г.463Minecraft: 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, forge, neoforge, quilt
Что нового
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](https://github.com/clo4/datapacks/blob/afk-1.2.0/afk/README.md). 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 upwards of 40 players on every tick while only increasing the MSPT by about 1 or 2. I'm only increasing the rate of checking from every 5 seconds to 1.5 seconds (1 in every 30 ticks)
- Added an `afk` trigger
- Admins can run `/scoreboard players enable <username> afk` to allow a player to manually become AFK
- 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
- Changed scoreboard objective names. The names documented in the documentation are now stable and part of the public API.
release
Version 1.2
1.211 дек. 2024 г.355Minecraft: 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5datapack
Что нового
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](https://github.com/clo4/datapacks/blob/afk-1.2.0/afk/README.md). 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 upwards of 40 players on every tick while only increasing the MSPT by about 1 or 2. I'm only increasing the rate of checking from every 5 seconds to 1.5 seconds (1 in every 30 ticks)
- Added an `afk` trigger
- Admins can run `/scoreboard players enable <username> afk` to allow a player to manually become AFK
- 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
- Changed scoreboard objective names. The names documented in the documentation are now stable and part of the public API.
release
Version 1.1.1
1.1.117 июн. 2024 г.903Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3datapack
Что нового
Updated to support Minecraft 1.21.0, and corrects the previously incorrect older-version support. Because of the scoreboard names, only versions after 1.18 are supported.
This version changes nothing from the previous version.
release
Version 1.1
1.125 февр. 2024 г.301Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4datapack
Что нового
Updated to guarantee that players are tagged with `afk` before `#afk:away` and `#afk:back` are called.
release
afk v1.0.0
1.0.02 авг. 2023 г.466Minecraft: 1.20, 1.20.1datapack
Что нового
First release!