HomeJavaModsTreeMaintainer
TreeMaintainer
TreeMaintainer

A Minecraft Spigot plugin that automatically maintains trees by replanting saplings and removing floating parts, creating a more natural and tidy environment.

Installation
  1. Download the latest release
  2. Place the .jar in your server's `plugins` folder
  3. Restart your server
  4. Configure the plugin in the `config.yml` file
Usage

The plugin works automatically when players cut down trees with axes. No player action or commands are required. When a player cuts a tree with an axe:
  1. The plugin detects the tree type
  2. After the tree is cut, a sapling is automatically replanted
  3. Any floating logs or leaves are cleaned up naturally
Configuration

The plugin's configuration file (config.yml) is organized into logical sections:

Code (YAML):

# Master switch to enable or disable the plugin
enabled
: true

# Auto-replant settings
replanting
:
  # Enable automatic sapling replanting
  enabled
: true
 
  # Delay in ticks before replanting (20 ticks = 1 second)
  delay
: 5

# Floating tree parts cleanup
cleanup
:
  # Enable removal of floating logs and leaves
  enabled
: true
 
  # Maximum distance to check for connected blocks
  max-distance
: 10

# Tool settings
tools
:
  # Only trigger the plugin when trees are cut with axes
  require-axe
: true
 
  # Respect tool efficiency enchantments
  respect-efficiency
: true

# Enable/disable specific tree types
tree-types
:
  oak
: true
  spruce
: true
  birch
: true
  acacia
: true
  dark_oak
: true
  mangrove
: true
  cherry
: true
  jungle
: false

# Debug mode for troubleshooting
debug
: false
 
For detailed configuration options, see the comments in the generated config.yml file.

Made with ❤️ by McKenzieJDan

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

TreeMaintainer is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 153 times (via Spigot). Download it and open it directly in the game.

Explore more