- Fixed players still having tree gravity enabled after they lost the lumberjack.use permission
- 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.
Removed a debug message. Sorry, I forgot to remove it in 5.1.0
- 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
Fixed player placed stripped logs being subject to tree gravity
Fixed tree gravity not working for those nasty nether trees
- Switched to JeffLib v5.0.0 (Reduces some unnecessary code duplications)
- Added PlaceholderAPI support
- 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)
Reduced file size from 1.2MB to 177KB
Fixed exception when breaking certain blocks
Added Russian translation - thanks to @Alskar
- 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"
- 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.
- Fixed server crashing when using worlds generated by Terra
- Fixed nag message on shutdown
- Updated Dutch translation
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
- 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)
- 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!
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)
- Fixed nether trees not being detected when they were standing on netherrack
- Fixed support for GriefPrevention, WorldGuard and other protection plugins (thanks to
@CoolPeople for reporting this)
- Added Dutch translation
Added support for GriefPrevention and similar protection plugins (thanks to
@CoolPeople for reporting this)
(Fixed last update again, sorry)
- Fixed message "Block type not found: WARPED_STEM" (etc.) spamming console in MC versions < 1.16
Added podzol as valid ground block
- 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
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!
Improved tree detection: Tree detection will stop if it encounters blocks of another wood type
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.
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.
removed forgotten debug messages
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.
Removed some debug messages that I forgot since 1.1.4
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.
The lumberjack.force and lumberjack.force.ignore permission have been readded. They now work as intended.
Also compiled against spigot 1.13.2
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.
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.
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.
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)
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.