Cristichi's Tree Capitator
Updated to 1.19.3
The latest build has been tested and 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. I'm also still around so please leave your suggestions here if you want to, I'll surely read them.
Thank you for the 143k downloads!
2023 is here, and this year is going to bring more support for this plugin, more improvements based on your feedback and more updates keeping up with Minecraft updates. Thank you immensely for all your support during 2022, let's make 2023 even better!
Features
Please note that only the latest build supports ALL of the following features. The latest build works for 1.19.*, 1.18.*, 1.17.*, 1.16.*, 1.15.*, 1.14.* and 1.13.*.
- Let users destroy entire trees by breaking only 1 log. Even the biggest tree will fall!
- Works on nether trees (If server is +1.16).
- Auto-update. You don't need to come back here to download the plugin again when new features come out.
- It 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.
- Crouch mode. Use true to make crouching players not trigger this plugin. Use inverted to make standing players not trigger this plugin, or false to make crouching not change how this plugin works.
- Ask for new features by DM or this page! I'll try to answer and consider every suggestion.
Commands/Configuration
- /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. True by default.
- /tc setInvincibleReplant <true/false>: Sets if replanted saplings should be unbreakable by survival players. False by default.
- /tc setAxeNeeded <true/false>: Sets if an axe is required for the plugin to work. True by default.
- /tc setDamageAxe <true/false>: Sets if the axe used is damage (only takes place if an axe is needed). True by default.
- /tc setBreakAxe <true/false>: Sets if the axe used can be broken (only takes place if an axe is needed and damaged). False by default.
- /tc setVipMode <true/false>: Sets if vip mode is on. False by default.
- /tc setNetherTrees <true/false>: Sets if the plugin works on the new nether "trees". False by default.
- /tc setStartActivated <true/false>: 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. True by default.
- /tc setJoinMsg <true/false>: Enables or disables the join message that remind players about /tc toggle. True by default.
- /tc setIgnoreLeaves <true/false>: Makes the plugin ignore or not the leaves aroung logs. False by default.
- /tc setCrouchPrevention <true/false/inverted>: Defines if crouching allows players to break logs individually. If set to inverted, players must crouch to break multiple logs with this plugin. False by default.
You may also use /treecap or /treecapitator as valid aliases for the /tc command.
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 your downloaded .jar file into YourServerDirectory/plugins/.
- Start or reload server.
- Then you may configure the plugin just the way you want, either using commands OR editing the config file and then typing /tc reload in the in-game chat (with cristreecapitator.admin permission/OP) or in the server console.
How to use VIP mode
VIP Mode enables an easy switch for the plugin. If VIP Mode is enabled regular users won't be able to use this plugin by default because they will also need an additional permission.
- 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.*, 1.18.* or 1.19.*, 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 your server to at least MC 1.13.
The lack of an option to limit this to just 1 tree makes it a no go for me.
If you can figure that out and possibly add an option to extend the time it takes to cut the bottom block depending on the tree size and this would be a must for my server.
When the server is started after the first cut tree will prompt an error, subsequent does not affect the use. Please tell me how to solve it.
In reply to 丶曲終人散ゞ:
Hi! Thank you for telling me. If you are running the latest version of my plugin, it looks like the error comes from a specific line that is mentioning a few game blocks. Can you let me know what server runnable (Bukkit, Spigot, Paper, etc) you are running and for what Minecraft version? I may use that information to fix the issue with an update on my plugin. Thank you in advance!
回复Cristichi :
感谢你的回复。我使用的服务器是Arcright1.18。这是地址:https://www.fastmirror.net/#/download/Arclight?coreVersion=1.18
(build187)
我刚刚又去测试了。安装没有 MOD 的插件。还是提示之前的错误。
In reply to 丶曲終人散ゞ:
Hi! Thank you for the information,
I have rolled a new update v6.3.9 of this plugin with a fix that should solve the issue. Bukkit will make it public after they check that everything is OK, so it might take a day or two.
When it is published, update your plugin and it should work now. If it doesn't get fixed with v6.3.9, please let me know and I will see if the issue is somewhere else.
Hello! Please please please! Make it so that the nether trees are affected up to 1.19.3. It's like a lot of pain trying to chop down these trees and I'm in bad need of this.
In reply to yellopikachu:
Hi! It does, you have to enable it in the configuration.
Im trying to use this in my server and it's listening to every command except the axe needed command, whether its set to true or false my friend and I can still break whole trees with our bare hands or any other item.
In reply to CorruptedFate13:
Thank you for the heads up! I seem to have overlooked that in my last update. I'm fixing it today asap.
In reply to Cristichi:
awesome! I can't wait to see it fixed! Thank you for the super quick reply btw!
In reply to CorruptedFate13:
Hello. Sorry for responding late to this one. The update was published by the time you responded. Please update if you haven't yet, and thank you for your kind response.
Edit: Actually I think it was almost at the same time xD
In reply to Cristichi:
Yeah, I checked right away and it was there, it worked perfectly as soon as I updated! I have absolutely zero complaints with the plugin now, I love it for my server! Thanks so much for being so on top of updates and replies! Keep being awesome dude!
hi, great plugin,
so i have a question, to prevent a bunch of trees from just disappearing when i cut down onw.
the only option is to set `ignore leaves: true` right?
asking cos, it seems like the number of logs that are cut is greater than what the axe is supposed to allow, according to its type,
In reply to user4302:
Hello! Thank you very much.
I reckon the best way right now to prevent tons of trees to just go pop is to either set a limit or, yes, set it to ignore leaves.
At the moment I'm investigating a possible bug/mistake on my part where some limits like the durability of the axe (sometimes it seems like the axe is broken but it keeps on going instead of stopping) or the configured block limit is bypassed by the plugin, so if it is happening to you as well I'm sorry for the inconvenience and I promise a fix is coming asap.
In reply to Cristichi:
OH a limit! That sounds like a good solution.
So if I set it as 1, it should be good right?
oh the limit id of the no of blocks. not trees, hmmm
In reply to user4302:
That limit represents the number of blocks the plugin will destroy at once. After reaching the limit, it will stop. You can set it in-game using /tc setlimit (number). It is not an ideal solution, since using a low value like 10 or 20 can result in jungle trees floating, and the plugin priorices some directions to look for blocks more than others, so dense forest can get wanky. It will stop anyway once the server can't handle more blocks destroyed, so a high value will change nothing.
I think the most ideal solution is ignore leaves and maybe set a limit like 40 or 50 just in case too many trees are touching. I hope it helps.
Just a question: is there a way to change the namespace of the plugin because I’m using towny on my server and they both use “tc”
In reply to mrmirchi:
Hi! Sorry to hear that. If it's my plugin the one you can't use, try using /treecap instead. If it's towny the one you can't use, I don't know if I could do something about it. Could you please tell me which towny are you using? I quickly checked https://www.spigotmc.org/resources/towny-advanced.72694/ but I didn't see any /tc command. I don't have a lot of time to check it further. Thank you in advance and have a nice day.
In reply to Cristichi:
I'm using towny chat with towny, sorry, I should have said that earlier. And thanks for the treecap thing I didn't know that was there lol
In reply to mrmirchi:
Don't worry! I believe it says so nowhere, I should add the different aliases in the main page of this plugin (oops). Thank you for the warning!