LumberJack | Tree Gravity & Leaf Decay & Custom Tree Drops icon

LumberJack | Tree Gravity & Leaf Decay & Custom Tree Drops -----

Toggle tree gravity + configurable faster leaves decay. Prevents torch exploit + auto config updater




[+] Added support for 1.21.3

Discord: https://discord.jeff-media.com
Donate: https://paypal.me/mfnalex
----------, Oct 27, 2024

  • [+] Added support for the new 1.20 cherry trees
Discord: https://discord.jeff-media.com
Donate: https://paypal.me/mfnalex
----------, Jun 21, 2023

  • Fixed players still having tree gravity enabled after they lost the lumberjack.use permission
----------, Aug 12, 2022

  • Added 1.19 support
    • Note: gravity for mangrove trees is not working properly yet. Full support for mangroves will be added in the next update.
----------, Jun 14, 2022

Fixed 1.18.2 support
----------, Mar 7, 2022

Added 1.18.2 support
----------, Mar 1, 2022

Removed a debug message. Sorry, I forgot to remove it in 5.1.0
----------, Feb 6, 2022

  • Added support for FarmLimiter (although tbh that plugin is a bit... "special"... it offers an API but only for people who actually bought the plugin, and because I haven't bought it, LumberJack has to access its API via reflection - but don't worry, this doesn't lead to any problems for you :) )
  • Switched from per-player YAML files to PDC - can be disabled in the config, but it doesn't make any sense to disable it.
  • Added SNOW_BLOCK to valid ground types for overworld trees. This should make it work for custom trees created by some world generators in snowy biomes
  • Removed unused classes, reducing file size by 150 kb
----------, Feb 5, 2022

Added 1.18 support
----------, Nov 29, 2021

Fixed player placed stripped logs being subject to tree gravity
----------, Sep 28, 2021

Fixed tree gravity not working for those nasty nether trees
----------, Sep 28, 2021

  • Switched to JeffLib v5.0.0 (Reduces some unnecessary code duplications)
----------, Sep 10, 2021

Fixed filename
----------, Sep 4, 2021

- Added PlaceholderAPI support
----------, Sep 4, 2021

  • Limited max amount of tasks being scheduled for faster leaf decay
  • Fixed plugin showing wrong version
    • (I finally switched to letting maven handle the version string so it won't happen again)
----------, Aug 6, 2021

Reduced file size from 1.2MB to 177KB
----------, Aug 5, 2021

Fixed exception when breaking certain blocks
----------, Jul 12, 2021

Added Russian translation - thanks to @Alskar
----------, Jul 12, 2021

  • Added configurable custom drops for all kinds of naturally generated leaves and stripping naturally generated logs
    • See custom-drops.example.yml file
  • Added support for stripped wood and the "6 sided tree block"
----------, Jul 7, 2021

  • Added option "requires-at-least". Only has an effect when "require-axe" is set to true
    • When set to IRON, gravity will only work with iron, diamond and netherite axes
    • When set to DIAMOND, gravity will only work with diamond and netherite axes
    • etc...
  • Added option "must-sneak". When enabled, players must sneak to use tree gravity.
----------, Jul 7, 2021

  • Fixed server crashing when using worlds generated by Terra
  • Fixed nag message on shutdown
  • Updated Dutch translation
----------, Jul 7, 2021

Huge improvements!
  • Added option for faster leave decay (disabled by default)
    • Configurable, random delay for decay
  • Player placed logs will no longer be detected
    • Only works for logs placed after installing this update
    • Works WITHOUT any database, etc
----------, Jun 21, 2021

- Updated config version so the auto config updater can add the new option from 2.4.0 (sorry I forgot that in 2.4.0)
----------, Apr 4, 2021

- Fixed torch exploit one and for all by adding NBT Tags to falling blocks.
- Added "prevent-torch-exploit-aggressive" that will prevent the logs from breaking even if a player somehow bypasses the torch exploit detection.
- Torch exploit prevention works with all other blocks (slabs, snow, carpet, ...) as well!
----------, Apr 4, 2021

Updated API version to 1.16.5.
If you already use version 2.3.5, you do NOT need this update (but it doesnt hurt to install it lol)
----------, Jan 18, 2021

- Fixed nether trees not being detected when they were standing on netherrack
----------, Jan 15, 2021

- Fixed support for GriefPrevention, WorldGuard and other protection plugins (thanks to @CoolPeople for reporting this)
- Added Dutch translation
----------, Oct 25, 2020

Added support for GriefPrevention and similar protection plugins (thanks to @CoolPeople for reporting this)
----------, Oct 20, 2020

(Fixed last update again, sorry)
----------, Jul 13, 2020

- Fixed message "Block type not found: WARPED_STEM" (etc.) spamming console in MC versions < 1.16
----------, Jul 13, 2020

Added podzol as valid ground block
----------, Jul 13, 2020

- Added support for blocks with upper-diagonal blocks like acacia or dark oak
- Added support for crimson and warped fungus trees
- Removed tree-types config option. Let me know if you need this again
- Added automatic config updater
- Improved plugin update checker
- Added Spanish and Turkish translation
- Updated Spigot API to 1.16.1
- Code cleanup
----------, Jul 12, 2020

You can now disable LumberJack for certain worlds. Just put this into your config file:

Code (YAML):
#########################
#### disabled worlds ####
#########################

# You can disable LumberJack for certain worlds. Each world's name has to
# be on a separate line, starting with a hyphen and followed by a space

# Example:
#
# disabled-worlds:
# - world_nether
# - world_the_end

disabled-worlds:
Thanks to @Mrgts for the suggestion!
----------, Apr 29, 2019

Improved tree detection: Tree detection will stop if it encounters blocks of another wood type
----------, Nov 20, 2018

Features advanced tree recognition features! A tree is only counted as a tree if it stands on one of the blocks defined in the config at "tree-ground-blocks" (by default grass, mycelium, dirt and coarse dirt) and contains no more than "max-air-in-trunk" blocks of air (by default 1).
This update renames your config.yml to config.old.yml and creates a new one, so you have to transfer your config changes if you don't want to use the new default settings.
----------, Nov 20, 2018

Players now have to use an axe to use tree gravity by default. You can change this back to the old behaviour by setting "must-use-axe" to false.
----------, Nov 11, 2018

removed forgotten debug messages
----------, Nov 10, 2018

Logs will not start to fall when the first non-empty block below the trunk is not solid. This only applies if you did not set prevent-torch-exploit to false.
----------, Nov 10, 2018

Removed some debug messages that I forgot since 1.1.4
----------, Nov 10, 2018

By default, players can no longer place torches or other non-solid blocks inside or below falling tree parts.
This can be disabled in the config by setting "prevent-torch-bug" to false.
----------, Nov 10, 2018

The lumberjack.force and lumberjack.force.ignore permission have been readded. They now work as intended.
Also compiled against spigot 1.13.2
----------, Nov 9, 2018

Removed lumberjack.force permission because it made problems with wildcard permissions.
If anyone needs this feature: message me and I will make it work again in another way.
----------, Nov 7, 2018

The default config file is now generated with UTF8 charset and includes a French translation thanks to Automatizer ( https://github.com/Automatizer )
----------, Sep 20, 2018

Added permission "lumberjack.force.ignore".
You do not have to use this permission directly, but it has an important use: When you gave yourself ALL permissions (using the * symbol), it was not possible to disable LumberJack because you automatically got the lumberjack.force permission.
To allow people to use wildcard permissions without facing disadvantages, I have added the lumberjack.force.ignore permission. You will then be able to use the command to disable LumberJack although you technically have the lumberjack.force permission.
You do not need this update if you do not use wildcard permissions.
----------, Sep 19, 2018

You can now change the blocks that are counted as tree parts in the config.

From now on, the following block types are counted as tree part by default:
- ACACIA_LOG
- ACACIA_WOOD
- BIRCH_LOG
- BIRCH_WOOD
- DARK_OAK_LOG
- DARK_OAK_WOOD
- JUNGLE_LOG
- JUNGLE_WOOD
- OAK_LOG
- OAK_WOOD
- SPRUCE_LOG
- SPRUCE_WOOD
- STRIPPED_ACACIA_LOG
- STRIPPED_ACACIA_WOOD
- STRIPPED_BIRCH_LOG
- STRIPPED_BIRCH_WOOD
- STRIPPED_DARK_OAK_LOG
- STRIPPED_DARK_OAK_WOOD
- STRIPPED_JUNGLE_LOG
- STRIPPED_JUNGLE_WOOD
- STRIPPED_OAK_LOG
- STRIPPED_OAK_WOOD
- STRIPPED_SPRUCE_LOG
- STRIPPED_SPRUCE_WOOD

You can customize this in the config with the option "tree-blocks".

Please note that once you update to this version, your old config file will be renamed, so that you can use the new features. Please transfer your changes to the new config file.
----------, Sep 15, 2018

Fixed config option "gravity-enabled-by-default" not working. Please delete your plugins/LumberJack/playerdata/ folder if you want to have gravity enabled for all new players. (You can also give them lumberjack.force permission to force them to use gravity)
----------, Aug 30, 2018

LumberJack recognizes sidely attaches logs!
- Can be toggled in the config
- Logs that are attached at the side or diagonally are recognized.
- Logs that are one block above at the side or diagonally are currently NOT recognized. I will add that later.

That means: Acacia will only work for some trees, but all others should work fine.

Also added a permission called lumberjack.force, that will enable tree gravity and prevent the player from disabling it.
----------, Aug 28, 2018

Resource Information
Author:
----------
Total Downloads: 75,234
First Release: Aug 27, 2018
Last Update: Oct 27, 2024
Category: ---------------
All-Time Rating:
46 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings