Список изменений
AntiAFKPlus v2.8 — API Overhaul
Release type: Feature & API Upgrade Compatibility: Minecraft 1.16 – 1.21.10 | Java 17+
What's New
📊 Real Data Everywhere
- Activity, history, and statistics endpoints now return live server data.
getActivityInfo,getActivityStatistics,getAFKStatistics,getPlayerStatistics, andgetAFKHistoryconsume the internal tracking system (no more placeholders).
🚦 Reliable Events
- AFK warnings and pattern detections are always delivered to the public API.
- Listeners (
registerWarningListener,registerPatternDetectionListener) can modify messages or cancel actions before the plugin kicks/teleports players.
🗺️ Zone Awareness
- New helpers (
isAFKAllowedAt,getAFKZoneAt) resolvezone-managementsettings and WorldGuard regions on the fly. - Worlds can be toggled at runtime with
setAFKDetectionEnabled, persisting the change toconfig.yml.
⚙️ Ease of Use
- README/API docs include updated examples for the new endpoints (activity, zones, stats).
- API version bumped to
2.8, ready for your integrations.
Upgrade Notes
- Replace the old JAR with
AntiAFKPlus v2.8. - Update your dependency to
2.8(Maven/Gradle snippet in the README). - Review the new API examples and adjust your listeners if you want to react to warnings/patterns.
No configuration changes are required. Everything works with your existing
config.yml/messages.yml.
Файлы
antiafkplus-2.8.jar(3.46 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
2.8
Загрузчики
BukkitFoliaPaperPurpurSpigot
Версии игры
1.16.5–1.21.10
Загрузок
18
Дата публикации
4 мес. назад

