TreeCap is an AllayMC plugin that lets players cut down an entire tree by breaking one log with an allowed axe.
The plugin is designed for Minecraft: Bedrock Edition servers running AllayMC. It detects valid trees, breaks connected logs, optionally removes nearby leaves, and drops the blocks naturally.
- Cuts connected logs of the same tree.
- Detects vanilla logs automatically using AllayMC block tags.
- Supports custom log IDs through configuration.
- Optional leaf breaking.
- Configurable maximum block limit.
- Configurable allowed tools.
- Optional sneak requirement.
- Tree validation using soil and nearby leaves.
- Bundles required configuration libraries into the release jar.
Default configuration:
# TreeCap Configuration
# Enable/Disable the plugin
enabled: true
# If enabled, players must sneak to activate tree cutting
sneak-required: false
max-blocks: 500
# Tools allowed to trigger TreeCap
allowed-tools:
- minecraft:wooden_axe
- minecraft:stone_axe
- minecraft:iron_axe
- minecraft:golden_axe
- minecraft:diamond_axe
- minecraft:netherite_axe
- minecraft:copper_axe
# One of these blocks must be under the tree
allowed-soil:
- minecraft:dirt
- minecraft:grass_block
- minecraft:podzol
- minecraft:coarse_dirt
- minecraft:dirt_with_roots
- minecraft:mud
- minecraft:crimson_nylium
- minecraft:warped_nylium
- minecraft:moss_block
# Extra blocks considered tree logs. Vanilla logs are detected automatically.
log-blocks: []
# If enabled, leaves will be automatically broken when a tree is cut
break-leaves: false
# Minimum number of leaves required around the tree? (0 = Check disabled)
min-leaves: 5This project is licensed under Apache License 2.0. Please see the LICENSE file for details.