Skip to content

Bebonaiem/OneHitTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌳 OneHitTree v1.0

OneHitTree is a powerful Minecraft plugin that instantly breaks entire trees when players destroy just one log block. Perfect for survival servers looking to streamline wood gathering, it supports all Minecraft versions from 1.13 to 1.21.

✨ Key Features

🌲 Tree Destruction

  • ⚑ Instant Breakdown: Breaks all connected logs and leaves with one hit
  • πŸͺ“ Axe Requirement: Optional config setting to require holding an axe
  • 🌿 Leaf Decay: Automatically breaks connected leaves for clean tree removal
  • πŸ”„ All Tree Types: Supports all vanilla trees including nether fungi

βš™οΈ Configuration

  • πŸ“ Simple YAML Config: Easy-to-edit configuration file
  • πŸ”„ Live Reloading: /onehittree reload updates settings instantly
  • 🌳 Customizable Blocks: Add or remove log/leaf types in config

πŸ›‘οΈ Server Integration

  • ⚑ Performance Optimized: Efficient recursive algorithm
  • 🌐 Multi-World Support: Works in all worlds automatically
  • πŸ” Permission Control: Built-in reload permission

πŸ“₯ Installation

  1. Download OneHitTree.jar
  2. Place in plugins/ folder
  3. Restart server
  4. Edit plugins/OneHitTree/config.yml if needed

βš™οΈ Sample Config

# Should players need to hold an axe to break trees?
require-axe: false

# List of log materials that should be considered part of trees
log-types:
  - OAK_LOG
  - SPRUCE_LOG
  - BIRCH_LOG
  - JUNGLE_LOG
  - ACACIA_LOG
  - DARK_OAK_LOG
  - MANGROVE_LOG
  - CHERRY_LOG
  - CRIMSON_STEM
  - WARPED_STEM

# List of leaf materials that should be broken with trees
leaf-types:
  - OAK_LEAVES
  - SPRUCE_LEAVES
  - BIRCH_LEAVES
  - JUNGLE_LEAVES
  - ACACIA_LEAVES
  - DARK_OAK_LEAVES
  - MANGROVE_LEAVES
  - CHERRY_LEAVES
  - NETHER_WART_BLOCK
  - WARPED_WART_BLOCK
  - AZALEA_LEAVES
  - FLOWERING_AZALEA_LEAVES

πŸ”‘ Permissions

  • onehittree.reload - Reload config (default: op)

πŸ•ΉοΈ Usage

  • Players automatically break entire trees when destroying one log
  • Admins can use /onehittree reload to update settings

πŸ“Œ Technical Specs

  • Minecraft: 1.13 - 1.21
  • Java: 17+
  • Dependencies: PaperAPI
  • Storage: No database required

❓ FAQ

Q: Does this work with player-placed trees?
A: Yes, any connected logs will break regardless of how they were placed

Q: Can I exclude certain tree types?
A: Yes, simply remove them from the log-types list in config

Q: Does this affect performance with large trees?
A: The algorithm is optimized to handle even giant jungle trees efficiently

🌟 Pro Tips

  • Great for skyblock servers to prevent floating trees
  • Combine with TreeCapitator plugins for ultimate wood gathering
  • Enable require-axe for more balanced gameplay
  • Perfect for building servers to quickly clear areas

(Your ultimate solution for frustration-free tree cutting in Minecraft!)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages