Skip to content

qWojtpl/LumberJack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LumberJack

Add lumberjack feature to your minecraft server

Tested Minecraft versions:

1.19.3

Installation

Put lumberjack.jar to your plugins folder and restart the server.

Configuration

config.yml

maxTreeHeight - Defines max tree height. To this level always would be checked if there's leaves or wood. Default: 20

woodDestroyInterval - In ticks. This is for animation, if set to 2 then one wood block will be destroyed every 2 ticks. Default: 2

leavesDestroyInterval - In ticks. This is for animation, if set to 2 then one leaves block will be destroyed every 2 ticks. Default: 2

woodRange - Defines range from source block to every sides to check for wood. Default: 2

leavesRange - Defines range from source block to every sides to check for leaves. Default: 2

requiredLeaves - How many leaves must be found to chop this structure like lumberjack (it's protection against mistake house destroying). Default: 15

leavesReduction - By default in minecraft, if you destroy 1 leaves block it will remove 1 from item's durability. Lumberjack feature can destroy all leaves from tree, but if you don't want to destroy your axe so much you can set value to higher numbers. If this number is 18, then every 18 blocks 1 durability will be removed form axe. Default: 18

permission - Permission to use lumberjack feature. You must restart server to apply it (it doesn't updating on /lj reload). Default: lumberjack.use

axes - YAML list of items, which can be used in lumberjack feature.

Commands & Permissions

Use lumberjack feature - Permission: lumberjack.use (unless you change it in config)
/lj - Shows config and help lumberjack.manage
/lj reload - Reload configuration lumberjack.manage

Additional information

  • If durability can handle leaves and wood - leaves and wood will be chopped
  • If durability can handle wood but not leaves - only wood will be chopped
  • If durability cannot handle any of these, nothing will happen to don't destroy player's axe
  • Unbreaking enchantment affects to durability change
  • If item is unbreakable then nothing will happen to durability
  • Silktouch will destroy leaves as a block
  • If you have inventory space all wood will be added to your inventory
  • If player is not online or doesn't have space in his inventory, then wood will be dropped
  • YOU CAN get sticks, apples, saplings etc. from leaves, but not directly to your inventory