Cristichi's Tree Capitator
Updated to 1.19
The latest build works for 1.19, 1.18.*, 1.17.*, 1.16.*, 1.15.*, 1.14.* and 1.13.*. I recommend using the latest build always in servers running on those Minecraft versions. Keep an eye on 1.19! I'm also still around so please leave your suggestions here if you want to, I'll surely read them.
Thank you for the 113k downloads!
Remember to complain about anything that doesn't work the way you need it to. And thank you for the 113k downloads!
Features (some of them may be available for the latest builds only, so keep it updated!)
- Let users destroy trees by breaking only 1 log. Even the biggest tree will fall!
- Works on nether trees (+1.16).
- Auto-update. You don't need to come back here to download the plugin again when new features come out.
- Also destroys all leaves around.
- Auto-replant. Replanted saplings can also be automatically protected so they cannot be broken until they grow a tree.
- Switch on/off if an axe is required and/or damaged.
- VIP mode. Use it to restrict access to the benefits of this plugin, for premium users for example.
- Each player can toggle on/off the plugin for himself. Choose if you want a message to remind players when they log in.
- Players are not able to break trees in protected areas (by WorldGuard and most other protection plugins), even if they try to break a log block that is outside in order to break log blocks inside the protected area.
- Axes are damaged accordingly.
- Switch on/off if axes should be prevented from being broken.
- Switch on/off if tree leaves should be ignored by the plugin. Enabling it will make the plugin take down only connected logs, reducing the lag and balancing a little bit.
- Ask for new features by DM or this page! I'll try to answer and consider every suggestion.
Commands (some of them may be available for the latest builds only)
- /tc help: Lists all commands.
- /tc toggle: Toggles the plugin for you. Just in case you made your home using lots of logs.
- /tc update: Checks for new updates, and updates if able.
- /tc reload: Reload config.yml changes.
- /tc setLimit<number>: Sets the limit of blocks this plugin can destroy at once. (-1 for unbounded)
- /tc setReplant <true/false>: Sets if trees should be replanted.
- /tc setInvincibleReplant <true/false>: Sets if replanted saplings should be unbreakable by survival players.
- /tc setAxeNeeded <true/false>: Sets if an axe is required for the plugin to work.
- /tc setDamageAxe <true/false>: Sets if the axe used is damage (only takes place if an axe is needed).
- /tc setBreakAxe <true/false>: Sets if the axe used can be broken (only takes place if an axe is needed and damaged).
- /tc setVipMode <true/false>: Sets if vip mode is on.
- /tc setNetherTrees <true/false>: Sets if the plugin works on the new nether "trees".
- /tc setStartActivated: Sets if this plugin is activated for players when they enter the server. If false, players will need to use /tc toggle to activate it for themselves.
- /tc setJoinMsg: Enables or disables the join message that remind players about /tc toggle.
- /tc setIgnoreLeaves: Makes the plugin ignore or not the leaves aroung logs.
Permission nodes
- cristreecapitator.user: Always required to take down trees fast.
- cristreecapitator.admin: Required to change options by commands.
- cristreecapitator.vip: Required to take down trees fast when Vip Mode is enabled.
How to Install
- Place downloaded .jar file into YourServerDirectory/plugins/
- Start or reload server
- Then you may configure the plugin just the way you want, using either commands or editing the config file, then typing /tc reload on chat (with cristreecapitator.admin permission or OP) or in the server console.
How to use VIP mode
- Enable vip mode (/tc setVipMode true).
- Give 'cristreecapitator.vip' permission node to VIP players.
- It's already done! VIP players will be the only ones allowed to cut down trees faster! Don't worry, average players can still get wood, but the vanilla way.
If your server is not running 1.13.*, 1.14.*, 1.15.*, 1.16.*, 1.17.* or 1.18.*, please click here to download v3.0.1 instead. It won't have all the advantages and performance of the latest version so please consider updating to at least 1.13 to use the best version of this plugin.
In reply to loganebashit:
Technically those are not trees but I agree with you. I didn't have much time to improve the plugin, but as long as I have a few minutes free I will make that change to my algorithm. Thank you, and sorry for the inconvenience.
Hi,
Is it possible to make it compatible with Precious Stones?
Here is one of the last build
http://jenkins.elmakers.com/job/PreciousStones/22/net.sacredlabyrinth.Phaed$PreciousStones/
(You have to copy and paste link, click dont work, dont know why)
In reply to Forge_User_00411395:
I'm so sorry but I can't make it check for every single protection plugin (altho it would work with every protection plugin that uses worldguard's api)
In reply to Cristichi:
Excuse me, but on my server axe's durability doest decrease as it should(it only takes one point), and time of chopping is extremely high. Is it possible to fix? Thank you!
Hey, is there any chance you can make the plugin detect which blocks have been placed by a player or if it is a natural tree? Or make it so you have to hold shift to use tree capitator or vice versa`? (Make this something you can change in the config pls).
I always break half of my house when I missplace one log, and end up chopping everything :/
In reply to theroflcopterguy:
As commented below, It is not possible unless Bukkit or Minecraft makes it possible to know if a block was generated or placed by a player. But still, you can use /tc toggle to prevent the plugin from acting on you. Use it again when you go to the forest! I hope it helps, good luck.
In reply to Cristichi:
Thanks, didn't realise that was a command. I ended up changing the max blocks to 1 in config, then doing /reload (which is super annoying). But /tc toggle sounds good enough for me :)
What about sneak for enable / disable treecapitator, do you think you could make that work?
In reply to theroflcopterguy:
Yes I could, but then everyone should remember it all the time, and I don't feel like as a user I would like to have it in mind all the time around my wooden house.
In reply to Cristichi:
I'm no good with mods or plugins, but you could have a setting in the config which was default false, so that only people who wanted it could enable it? :)
Just a thought, I've seen some other tree-capitator plugins do it (all of which are outdated, so it doesnt matter)
In reply to theroflcopterguy:
I believe that if a server got this plugin is because they want to allow players to use it, so enabling it by default seems like the logical option to me. Anyway, maybe what I could do is send a message with the information about /tc toggle when they connect to the server, just like other plugins do.
In reply to Cristichi:
I only have a tiny server with me + 4 people playing, and all of them are playing on old macbooks, where typing is a hassle. Easiest for them (and for me) would be to sneak for treecapitate and standing for 1 log, or vice versa, but /tc toggle works alright. Thanks anyway :)
Hello there! Can you update it to 1.15?
In reply to Forge_User_35215444:
It seems to be working on 1.15, but I'm still doing some tests. I will update the plugin or the page info when I'm finished ü
In reply to Cristichi:
When I tested it on my server, It broke all wood log in my house
In reply to Forge_User_35215444:
Make sure to use /tc toggle when you don't want it to break everything when you break 1 log
Great plugin and saves a lot of time on gathering wood to build a house or bigger structures. I am new to owning a server and Cristichi helped me a lot with making this plugin work. Great plugin and great creator of the plugin. 10/10 for customer support.
Houses built of wood are also destroyed by axes, please add a distinction in the materials that can be cut down by this plugin
In reply to Cursed_Sumrak:
As I already said in other comments, it is impossible to distinguish a tree's log from a placed-by-player log. For the game they are both exactly the same.
Hi!, latest version doesn't work, as commented below.
I tried download previous version. It works but there is a problem with cutting itself:
When some trees are near each other (there is no empty block between leaves) it can cut all the wood when we cut only one tree :)
In reply to Forge_User_23128044:
As commented below, I already knew why it was happening. It is already fixed, we just have to wait for Bukkit to publish the last version I already updated.
Sorry for making you wait :c