
VillageAI
Intelligent village defense system. Villages centered on bells automatically detect nearby villagers. Friendly players gain reputation by trading. Hostile players lose reputation by attacking villagers. When hostile players are nearby reputation drops belo
100
3
Список изменений
[2.2.0] - 2026-03-16 - Bug Fixes & Stability Release
🐛 Bug Fixes
- Projectile Damage Exploit —
onDamagenow correctly identifies the player as the attacker when using projectiles (arrows, tridents, etc.), ensuring reputation penalties are applied for ranged attacks on villagers. - Golem Persistence — Golem UUIDs are now saved in
VillageSnapshotand restored on server restart.VillageManagernow re-registers restored golems, preventing "golem leaks" and ensuring they continue to defend the village after a restart. - Reputation Spam Exploit — Added a 5-second cooldown to villager interactions to prevent players from spamming right-click to instantly reach maximum reputation.
- Startup Race Condition — Added a
loadingflag toVillageManagerto prevent the creation of duplicate/empty village objects while data is still being loaded asynchronously from disk.
🚀 Performance & Stability
- Atomic File Replaces —
AsyncVillageStoragenow usesFiles.movefor atomic renames, further reducing the risk of file corruption during save operations. - Thread Safety — Enhanced thread safety in
VillageSnapshotandVillageManagerto prevent potentialConcurrentModificationExceptionduring data restoration.
Файлы
VillageAI-2.2.0.jar(80.35 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
2.2.0
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
16
Дата публикации
1 нед. назад
