
Advanced TreeCapitator
Advanced TreeCapitator enables fast tree felling on Paper 1.21. Sneak with an axe to chop entire trees, with configurable durability loss, world restrictions, and a reload command.
58
0
Список изменений
Changelog
All notable changes to Advanced TreeCapitator will be documented in this file.
[1.1.0] - 2026-03-10
Fixed
enabledflag was never checked — the plugin would still function even whenenabled: falsewas set inconfig.yml. A guard check is now placed at the top ofonBlockBreak()./atc reloadcommand had no handler — the command was declared inplugin.ymlbut the plugin never implementedCommandExecutor, causing the server to return "Unknown command". The plugin now properly implementsonCommand()and handles/atc reload.advancedtreecapitator.usepermission was never enforced — any player could use the feature regardless of their permissions. A permission check is now performed before processing each block break.- Leaf breaking did nothing —
break-leaves: truein config had no effect because the BFS loop collected leaf blocks into a dead branch with no code. Leaves are now properly collected and broken. - Particle effect was commented out — the particle block in
TreeCapitatorTaskwas entirely commented out, soparticle-effect: truenever produced any visual feedback. Particles now spawn correctly using theParticle.BLOCKAPI. breakCountdid not include the initial block — durability loss was calculated one block short because the starting block (broken by the event itself) was excluded frombreakCount. The counter now starts at1to account for it.
Added
- Configurable cooldown — a new
cooldown-msoption inconfig.yml(default:200) replaces the previously hardcoded 100 ms cooldown, giving server admins full control. - Unbreaking enchantment support — axe durability loss now respects the Unbreaking enchantment level using Minecraft's standard probability formula (
1 / (level + 1)chance per hit). - Automatic cooldown map cleanup — a repeating task runs every 10 minutes to purge stale entries from the cooldowns
ConcurrentHashMap, preventing a memory leak on long-running servers. - Additional log types in default config:
PALE_OAK_LOG(Minecraft 1.21.4+)CRIMSON_STEMandWARPED_STEM(Nether wood)BAMBOO_BLOCK(Minecraft 1.20+)
[1.0.0] - Initial Release
- BFS-based tree felling on log break.
- Configurable axe requirement, sneak requirement, world whitelist/blacklist.
- Durability loss on axes with a configurable multiplier.
- Sound and particle effect toggles.
- Per-player cooldown to prevent spam.
Файлы
AdvancedTreeCapitator-1.1.0.jar(13.18 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.1.0
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
3
Дата публикации
1 нед. назад
