
TreeCapitator999
The TreeCapitator999 plugin is designed for Minecraft servers, enhancing the tree-cutting experience by allowing players to harvest entire trees with a single action.
New Features
- Additional protection integrations (GriefPrevention, Lands, Towny, PlotSquared) with per-plugin toggles.
Bug Fixes
- Prevented cascading break from being retriggered mid-animation and duplicating drops.
- Reduced false negatives in tree detection by expanding the leaf scan radius.
- Smart tree recognition now requires trunks to be grounded.
- Per-world player settings now apply correctly per world.
- Invalid per-world or tree override entries no longer cause errors and are skipped.
- A max leaves break value of 0 now breaks no leaves.
- Tool break handling now clears the tool safely.
- Tree breaking now respects existing protection cancellations.
New Features
-
Cooldown Bypass Command —
/treecapitation bypass <player>allows admins to toggle cooldown bypass for a specific player. Bypassed players are exempt from the tree felling cooldown entirely. Both the admin and the target player receive a confirmation message when bypass is toggled on or off. Requires thetreecapitation.bypasspermission (default: op). -
Cascading Break Animation — When enabled, tree blocks break sequentially from top to bottom instead of all disappearing instantly. Each block breaks with a configurable tick delay between them. Leaves break after all logs have finished breaking. Particles play on each individual block as it breaks. Auto-replant triggers after the final log is removed. Configurable via
cascading-break.enabledandcascading-break.delayin config.yml. Supports per-world overrides.
-
New Features
- Smart Tree Recognition: Added advanced algorithm to distinguish between actual trees and wooden structures/buildings to prevent accidental destruction
- Validates minimum trunk height requirements
- Checks for nearby leaves to confirm tree structure
- Analyzes proportions to identify man-made structures
- Verifies ground connection for natural tree growth
- Configurable settings for recognition sensitivity
Configuration Updates
- Added
smart-tree-recognitionsection to config.ymlenabled: Toggle the feature on/off (default: false)min-trunk-height: Minimum vertical logs required (default: 2)max-branch-length: Maximum distance for leaf detection (default: 3)
Behavior Changes
- When smart tree recognition is enabled, players will receive a notification when attempting to break structures that are not recognized as trees
- Tree capitation will only occur when the connected logs form a valid tree structure according to the recognition algorithm
- Feature can be configured per-world using the existing per-world settings system
- Smart Tree Recognition: Added advanced algorithm to distinguish between actual trees and wooden structures/buildings to prevent accidental destruction
New Features
- Added configurable leaf detection radius to allow customization of how far from logs to search for leaves
New Features
- Commands:
- Added
/tc toggleguicommand to open a GUI for players to toggle their personal settings forsneak-to-fellandauto-replant. - Added
/tc limitscommand to display the current configured limits of the plugin.
- Added
- Configuration (
config.yml):- Added
durability-multiplieroption to control how much durability is used per log broken. - Added
per-world-settingssection to override any of the main settings for specific worlds. - Added
custom-dropssection to define custom items that can drop when a tree is chopped down. - Added
tree-overridessection to override settings for specific tree types. - Added
modded-wood-materials&modded-leaf-materialslists to add support for modded blocks. - Added
sounds&effectssections to configure sounds and particle effects.
- Added
- Commands:
New Features
- Tool Whitelist/Blacklist: You can now specify a list of tools that can or cannot be used to trigger tree capitator. This is configurable in the
config.ymlfile under thetoolssection. - "Sneak to Fell" Functionality: Players can now be required to sneak to trigger tree capitator. This is configurable in the
config.ymlfile with thesneak-to-felloption. - WorldGuard Integration: Tree capitator will now respect WorldGuard regions and will not work in regions where the player does not have build permissions.
- Cooldown: A cooldown between uses of tree capitator can now be configured in the
config.ymlfile to prevent server strain. - Durability Calculation: The durability taken from the tool will be equal to the number of logs broken.
Changes
- The default value for
auto-replantis nowfalseto match theconfig.ymlfile.
- Tool Whitelist/Blacklist: You can now specify a list of tools that can or cannot be used to trigger tree capitator. This is configurable in the
- Fixed tool durability handling: tools now properly break and notify players when worn out.
- Improved log drops: supports mixed log types and drops correct amounts per type.
- Auto-replanting now only occurs on valid soil blocks with air above to prevent silent failures.
- Enforced safe limits on max tree blocks (capped at 500) and warned about high break distances to protect performance.
- Optimized leaf breaking with BFS and a maximum leaves limit to drastically reduce lag on large trees.
- Added permission checks (
treecapitation.use,treecapitation.reload,treecapitation.toggle) for better control. - Included stripped logs and stems in wood detection for full compatibility.
- Added toggle command to enable/disable the plugin per player.
- Prevented plugin from triggering on fake vertical log columns without leaves nearby to avoid accidental breaks.
🚀 New Features Added /treecapitation reload command to reload config without restart Implemented require-axe config option (default: true) Added drop-as-one option to combine log drops into single stack New auto-replant system with species-matching saplings Configurable max-tree-blocks limit (default: 120 blocks) Support for custom log types via config Permission system with granular controls: treecapitation.use (base permission) treecapitation.bypass.cooldown treecapitation.instant 🐛 Bug Fixes Fixed XP dropping issues with manual block breaking Improved leaf detection to avoid breaking decorative foliage Resolved tool durability miscalculations Fixed potential item duplication issues Better handling of custom block types ⚡ Performance Improvements Optimized tree scanning algorithm Added fail-safe for oversize trees (configurable limit) Reduced memory usage during large tree operations Async processing for very large trees (>50 blocks) ⚙️ Configuration Changes yaml
Run Copy code
New options added:
require-axe: true drop-as-one: true auto-replant: true max-tree-blocks: 120 leaf-search-radius: 5
Custom logs example:
custom-logs:
- "MODDED_LOG_TYPE"
the first release
