▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Advanced TreeCapitator
Advanced TreeCapitator

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
Все версииAdvanced TreeCapitator 1.1.0

Advanced TreeCapitator 1.1.0

Release1 нед. назад

Список изменений

Changelog

All notable changes to Advanced TreeCapitator will be documented in this file.


[1.1.0] - 2026-03-10

Fixed

  • enabled flag was never checked — the plugin would still function even when enabled: false was set in config.yml. A guard check is now placed at the top of onBlockBreak().
  • /atc reload command had no handler — the command was declared in plugin.yml but the plugin never implemented CommandExecutor, causing the server to return "Unknown command". The plugin now properly implements onCommand() and handles /atc reload.
  • advancedtreecapitator.use permission 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 nothingbreak-leaves: true in 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 TreeCapitatorTask was entirely commented out, so particle-effect: true never produced any visual feedback. Particles now spawn correctly using the Particle.BLOCK API.
  • breakCount did not include the initial block — durability loss was calculated one block short because the starting block (broken by the event itself) was excluded from breakCount. The counter now starts at 1 to account for it.

Added

  • Configurable cooldown — a new cooldown-ms option in config.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_STEM and WARPED_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

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.21–1.21.11

Загрузок

3

Дата публикации

1 нед. назад

Загрузил

ID версии

Главная