Skip to content

[BUG] - Durability does not decrease #99

@PavelStaryDocker

Description

@PavelStaryDocker

Description

Durability does not decrease, even after changing the settings. I've tried "changing toolDamageDecrease: 10" and still nothing. Yes, I've tried /atc reload and restarting the whole server.

Reproduction steps

1. # damage tool when chopping tree
toolDamage: true
2. # How much durability should be decrease when player brock one block.
toolDamageDecrease: 1
3. Restart server
4. Type /atc enable
5. Chop tree
6. Check durability
7. Axe still brand new

Your Config

# AutoTreeChop by MilkTeaMC team
# Discord support server: https://discord.gg/uQ4UXANnP2
# Modrinth Page: https://modrinth.com/plugin/autotreechop
# Source code: https://github.com/milkteamc/AutoTreeChop
# Default config file: https://github.com/milkteamc/AutoTreeChop/blob/master/src/main/resources/config.yml

# The plugin locale (<language>-<country>-<variant>)
# en, de, zh, es, fr, ja, zh-TW, en-US, de-DE, de-AU, ...
# See all available language in lang folder.
# Want to help translate? Get started here: https://translate.codeberg.org/projects/autotreechop/autotreechop/
locale: en

# If set to true, the plugin will automatically translate to the locale of the player (if there are translations present)
use-player-locale: true

# Tree Chopping setting
# The number of times non-VIP players can chop down trees per day,
# you can give everyone "autotreechop.vip" permission to disable it.
max-uses-per-day: 50
# Tree blocks that non-VIP players can chop down every day,
# you can give everyone "autotreechop.vip" permission to disable it.
max-blocks-per-day: 500
# Cooldown time (second), use 0 to disable
cooldownTime: 0

# VIP setting
# If disable, VIP have unlimited usage
limitVipUsage: true
# Will only work when you enable limitVipUsage
vip-uses-per-day: 100
vip-blocks-per-day: 1000
# Cooldown time for VIP users (second), use 0 to disable
vipCooldownTime: 0

# MySQL setting
# If "useMysql: false", plugin will use SQLite
useMysql: false
hostname: example.com
port: 3306
database: example
username: root
password: abc1234

# Misc
# Use visual effect
visual-effect: true
# damage tool when chopping tree
toolDamage: true
# How much durability should be decrease when player brock one block.
toolDamageDecrease: 1
# Seconds of tree-chop inactivity before the player must re-confirm their intent.
idle-timeout: 300
# Seconds the player has to chop any log (or run /atc confirm) after seeing the warning.
confirmation-window: 10
# Require confirmation when the broken log has no leaf blocks nearby.
# Helps prevent accidentally chopping placed or stripped logs.
enable-no-leaves-confirmation: true
# Require confirmation after the player has been idle or rejoined with ATC enabled.
enable-idle-confirmation: false
# Radius (blocks) used to check whether a log has nearby leaves.
# Increase if large custom trees are falsely flagged. Default 6 covers all vanilla trees.
no-leaves-detection-radius: 6
# Enable this if you want players must hold tools to use AutoTreeChop
mustUseTool: false
# Set the default AutoTreeChop state for new players.
defaultTreeChop: true
# Should plugin check for unbreaking enchantment?
respectUnbreaking: true
# Play a block break sound when ATC breaking every block
playBreakSound: true
# This controls whether players can toggle AutoTreeChop by running "/atc" command
enable-command-toggle: true
# This controls whether players can toggle AutoTreeChop by sneaking (pressing shift)
enable-sneak-toggle: false
# Should plugin show a message when player is sneaking?
sneak-message: false
# How many blocks to break per tick
chop-batch-size: 50
# Maximum tree size allowed (blocks)
max-tree-size: 500
# Maximum blocks to check during tree discovery
max-discovery-blocks: 1000
# Call BlockBreakEvent for each block
# true = Better plugin compatibility
call-block-break-event: true

# Protection plugins setting
# If you are using Residence, you can set which Flag players have access to AutoTreeChop in residence.
residenceFlag: build
# If you are using GriefPrevention, you can set which Flag players have access to AutoTreeChop in GriefPrevention.
griefPreventionFlag: Build
# Stop chopping if the blocks are not connected (not part of the same tree)
stopChoppingIfNotConnected: false
# Stop chopping if the blocks are of different types
stopChoppingIfDifferentTypes: false

# Define which materials can be chop
# You can add something else as you like
# Fun fact: If you add "DIAMOND_ORE", this plugin can become an auto mining plugin, lol
log-types:
  - OAK_LOG
  - BIRCH_LOG
  - SPRUCE_LOG
  - JUNGLE_LOG
  - ACACIA_LOG
  - DARK_OAK_LOG
  - MANGROVE_LOG
  - CHERRY_LOG
  - PALE_OAK_LOG
  - WARPED_STEM
  - CRIMSON_STEM

# Leaf removal setting
enable-leaf-removal: true
# smart (recommended), radius (faster, less accurate)
# and aggressive (guaranteed clean but may remove leaves from other trees)
leaf-removal-mode: smart
# Delay after tree chopping, 20ticks = 1 second
leaf-removal-delay-ticks: 20
# Blocks around the original log to search for leaves
leaf-removal-radius: 10
# Whether removed leaves should drop items
leaf-removal-drop-items: true
# Show particle effects when removing leaves
leaf-removal-visual-effects: true
# Process leaf removal asynchronously
leaf-removal-async: true
# How many leaves to process at once (performance)
leaf-removal-batch-size: 5
# Whether leaf removal counts towards daily block limit
leaf-removal-counts-towards-limit: false
# Define which materials count as leaves for removal
leaf-types:
  - OAK_LEAVES
  - BIRCH_LEAVES
  - SPRUCE_LEAVES
  - JUNGLE_LEAVES
  - ACACIA_LEAVES
  - DARK_OAK_LEAVES
  - MANGROVE_LEAVES
  - CHERRY_LEAVES
  - PALE_OAK_LEAVES
  - WARPED_WART_BLOCK
  - NETHER_WART_BLOCK

# Replanting setting
# Enable automatic sapling replanting after tree chopping
enable-auto-replant: true
# Delay before planting sapling (in ticks, 20 ticks = 1 second)
replant-delay-ticks: 10
# If true, players must have saplings in inventory to replant
# If false, saplings are automatically provided
require-sapling-in-inventory: true
# Show visual effects when replanting saplings
replant-visual-effect: true
# Map log types to their corresponding sapling types
# This defines both which logs can be replanted and which saplings are valid
log-sapling-mapping:
  OAK_LOG: OAK_SAPLING
  BIRCH_LOG: BIRCH_SAPLING
  SPRUCE_LOG: SPRUCE_SAPLING
  JUNGLE_LOG: JUNGLE_SAPLING
  ACACIA_LOG: ACACIA_SAPLING
  DARK_OAK_LOG: DARK_OAK_SAPLING
  MANGROVE_LOG: MANGROVE_PROPAGULE
  CHERRY_LOG: CHERRY_SAPLING
  PALE_OAK_LOG: PALE_OAK_SAPLING
# Define valid soil types where saplings can be planted
valid-soil-types:
  - DIRT
  - GRASS_BLOCK
  - PODZOL
  - COARSE_DIRT
  - ROOTED_DIRT

# Configuration file version - DO NOT MODIFY
config-version: 1

Logs

Server Version

[13:54:33 INFO]: This server is running Paper version 1.21.11-130-ver/1.21.11@c5a2736 (2026-04-11T11:14:19Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT)
You are running the latest version

Server Plugins

[13:52:22 INFO]: ℹ Server Plugins (15):
[13:52:22 INFO]: Paper Plugins (1):
[13:52:22 INFO]:  - MiniMOTD
[13:52:22 INFO]: Bukkit Plugins (14):
[13:52:22 INFO]:  - AutoTreeChop, CustomJoinMessages, EssentialsC, FreedomChat, InteractiveChat, InvSeePlusPlus, ItemEdit, LuckPerms, packetevents, PlaceholderAPI
[13:52:22 INFO]:  ProtocolLib, TAB, Vault, ViaVersion

Other Info (If needed)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions