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 150k downloads!
I do not have much time for working on new features but expect to see new updates with very useful things!
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.
Hi, is it possible to make it take a long time to chop, depending on how big the tree is? i feel like it should take longer than a single block normally would
In reply to nuttapillar97:
I though about that, but my initial take on this plugin was entirely to get wood as fast as possible (but not just /give wood 9999). Maybe I could add it as a configurable feature for the 1.18 update like "time to destroy block", where =0 would be the default option and the current behaviour, and =10 would make each block 10 ticks to break. The problem is that it won't destroy the blocks in the sequence you might expect and it would look like a worm eating the forest, which will be funny for sure.
In reply to Cristichi:
Thank you, but what I meant, is multiply the time it takes to destroy the bottom block, by how many blocks the operation will chop. So a massive tree will take longer to chop at the base. But once it is chopped, the blocks falls instantly, as normal. Other tree chopping blocks have done this in the past. But for some reason, everyone is abandoning this nowadays. It still feels like a cheat to get dozens of logs in a couple seconds. A large tree should take like 30 seconds or more. But it'd still be more convenient than climbing up there for the vanilla method.
Hello! I saw a comment from "skopi8" about disabling the /tc toggle message on loign. Is that already possible, or you cant still turn that off?
In reply to gusManteiguinha:
Hi, sorry for taking this long to respond. I'm currently, and finally, planning on adding it as a configurable option. Keep an eye on updates, but I can't confirm how soon it will be because I don't really have much control of my time, it could be tomorrow or next month but I promise it will be as soon as possible.
Have a nice day.
Hio! Please help, what it is?
[Server thread/ERROR]: Could not load 'plugins\CrisTreeCapitator (1).jar' in folder 'plugins'[Server thread/ERROR]: Could not load 'plugins\CrisTreeCapitator (1).jar' in folder 'plugins'org.bukkit.plugin.UnknownDependencyException: Unknown dependency CrisWebConfiguration. Please download and install CrisWebConfiguration to run this plugin. at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:269) ~[craftbukkit.jar:3143-Bukkit-f66c437] at org.bukkit.craftbukkit.v1_17_R1.CraftServer.loadPlugins(CraftServer.java:382) ~[craftbukkit.jar:3143-Bukkit-f66c437]
In reply to exubepph:
Hi!
Sorry, my mistake, I'm fixing it right now. Thank you a lot!
Hi, i saw there was an question from "grinejonex" about disabling the /tc toggle message on loign. Is that already possible, or you cant still turn that off? I would appreciate it a lot if you would make that possible. I want it to be set on enable mode all the time. So i dont need the toggle message. Thanks for your time in advance.
In reply to skopi8:
Thank you a lot for your curiosity but I'm afraid it is not implemented yet. I'm working right now as a free agent and every bit of time I can be working I'm doing it because I need the value I get for the time. I will probably make changes and improvements when 1.17 is about to released or the day it is. I will notify you when it is implemented if you wish.
Thank you again and sorry, have a nice day.
Hi. How do I disable the / tc toggle message on login?
In reply to grinejonex:
I'm sorry but right now it is not possible. I can make it possible to enable/disable certain messages but currently I don't have much time. Sorry for the inconvenience. As soon as I can I want to make it possible to choose which messages show or not, but maybe If I manage to get some time I will add a setting to disable that one in particular.
Have a nice day.
Edit: It can be disabled now, using /tc setjoinmsg false as admin/console or editing that value using the config file..
Cristichi give me urs mail, i have some solutions and able to help u with plugin) P.S. have some tasty source codes )
Hey could u please add like when u press shift it will turns off. Like in Timber+, check it
In reply to MADREX:
I do find it personally uncomfortable that way, but I may add the option in the future.
Hi,
is there any way to check if the log has beed placed by a player bc when i build with wood the only way to break 1 block without destroying the whole house is to type /tc toggle
In reply to qwertywolf062:
No, unless I want to cause a lot of lag and make the plugin not work consistently
Hello,
Is there anyway to configure the plugin to only enable tc if the user writes the command /tc toggle?
thx,
Jotta
In reply to Forge_User_60619575:
Not at the moment, but it's a good idea so keep an eye on updates. I'll sure look for a few minutes free to implement it.
In reply to Cristichi:
I'm waiting for that update then. Will it be any soon? I need it on my server to avoid massive destruction.
thx for replying,
Jotta
In reply to Forge_User_60619575:
I don't know for sure because I don't have too much free time now, but it will hopefully be no later than this weekend.