Inactive [FUN/MECH] ChopTree 1.24 - Chop Trees by Removing Lowest Block - Like Cacti [1000] (by Arcwolf)

Discussion in 'Inactive/Unsupported Plugins' started by askmeaboutlo0m, May 1, 2011.

  1. Offline


    ChopTree - Chop trees like cacti or make logs move down while chopping
    Version: 1.24

    There seems to be a plugin conflict where the client crashes with a blue-white screen and keeps crashing for minutes after that.
    If you encounter the error please give me a list of the plugins you are using, with enough lists I will be able to outrule what causes it. Please also tell me if you are using any client-side mods.

    Thanks very much to Arcwolf for developing version 1.24!

    Tested with Craftbukkit build [740], [766], [798], [818], [1000].
    Supports: Permissions v. 2.7.2 (Phoenix) and mcMMO v. 1.0.07.
    Please give me feedback, ask any questions you like and/or provide suggestions!
    Thank you!

    • Lets trees act like cacti - remove a block and all blocks above are yieled too.
    • Or you can make that log blocks move down one by one instead - no more climbing trees.
    • Works with all three tree types (they all yeild their own wood).
    • Also works with "big" trees that have multiple branches - makes felling them a lot easier.
    • Restrict using this plugin to certain tools only.
    • Supports mcMMO and Permissions.
    • Only works on trees, houses made of logs are safe!
    • Chunk protection to make your tree houses safe.
    Download (JAR file) | Source (ZIP file)

    This plugin was requested by Britich and is inspired by the Canary plugin RealTree by billyoyo.
    However, it is not just a simple port of that plugin, it was made from scratch after Britich's description.

    Show Spoiler

    Approach tree...

    ...and punch it.

    All logs will be yielded.

    The leaves will decay like normal.


    Even though I added a lot of things for version 1.2 it will act like the original one if you don't change any settings - with the exception of players are able to toggle the plugin.​
    To run this plugin just copy it into your plugins folder. On first startup it will create a ChopTree folder and a file, which you can edit.​
    There will be a ChopTree.players file which saves player toggles and a ChopTree.chunks file which saves protected chunks.​

    Properties File:
    Show Spoiler

    The file will look like this when first created:
    # -ChopTree Properties-
    # You can add or change the command and toggle command aliases here.
    # Because of technical limitations the console commands will always be "ChopTree" and "ct", but the in-game comments will be taken from here.
    Command = ChopTree, ct
    Toggle = ToggleChop, tc
    # Here you can change the options (can also be done in-game).
    ActiveByDefault = true
    UseAnything = true
    MoreDamageToTools = false
    InterruptIfToolBreaks = false
    SupportMcmmoIfAvailable = true
    TreeFellerNeeded = false
    LogsMoveDown = false
    OnlyTrees = true
    # -Material List-
    # If the "UseAnything" option is false, the plugin will take the items you can use to chop trees with from here.
    # You can either put in the material's name or its ID.
    mat = WOOD_AXE
    mat = STONE_AXE
    mat = IRON_AXE
    mat = GOLD_AXE
    mat = DIAMOND_AXE
    Command and Toggle can be changed manually by just adding more aliases for them, seperated by commas. Note that if you run the command from the console it will always have the aliases "ChopTree" and "ct", no matter what it says in your file.
    You can also remove either of the lines to disable the command for players completely.

    The options can be changed manually in the file too. To find out which option has which effect look at the "Commands" section below.

    The material list will only be used if the option UseAnything is false. In that case you can specify which items players can use to chop trees with this plugin, other items will not trigger plugin effects (except chunk protection). You can either use the item ID or it's name.
    If you want to make tree chopping more costly you can only allow gold axes for example.
    List of item IDs on Minecraft Wiki, list of all item names in the Bukkit documentation.

    Show Spoiler

    ChopTree - show status of all options.
    ChopTree (option) - show status of specified option.
    ChopTree (option) (true/false) - switch option on or off.
    ChopTree chunk - shows if your current chunk is protected.
    ChopTree protect - deactivates the plugin in your chunk.
    ChopTree fullprotect - disables destroying logs in general (not only with plugin) in your chunk.
    ChopTree reload - reloades changes from your properties file (the normal reload won't do that)
    ToggleChop - toggles the plugin on and off for a player.

    (option) can be:
    ActiveByDefault - choose if plugin will be toggled on or off for players (on).​
    UseAnything - if activated players can use any item to chop trees, else materials list will be used (off).​
    MoreDamageToTools - toggles damage to tools for every chooped log (off).​
    InterruptIfToolBreaks - if activated tree chopping will interrupt if the tool breaks (off).​
    SupportMcmmoIfAvailable - if activated plugin will support mcMMO if it can find it (on).​
    TreeFellerNeeded - choose if players need to have mcMMO's tree feller enabled (off).​
    LogsMoveDown - if activated logs will move down when chopped instead of popping like cacti (off).​
    OnlyTrees - if enabled only trees can be chopped, else all logs can be (on).​
    EnableOverride - if enabled choptree.override nodes can be used (off)​

    Show Spoiler

    ct or "command" in properties file for ChopTree.
    tc or "toggle" in properties file for ToggleChop.
    c for chunk.
    p for protect.
    f or full for fullprotect.
    r for reload
    a or default for ActiveByDefault.
    u or anything for UseAnything.
    m or damage for MoreDamageToTools.
    i or interrupt for InterruptIfToolBreaks.
    l or down for LogsMoveDown.
    o or trees for OnlyTrees.
    e or override for EnableOverride.

    Show Spoiler

    Permissions node - description (default if you are not using Permissions)

    choptree.chop - chop trees using this plugin (all)

    choptree.command.check - check what status the options have (all)
    choptree.command.change - change status of options (ops)
    choptree.command.toggle - toggle plugin per player (all)
    choptree.command.protect - protect/unprotect chunks (ops)
    choptree.command.chunk - see if the chunk is protected (all)
    choptree.command.reload - reload properties file (ops)

    Override nodes will be ignored if EnableOverride is false.

    choptree.override.moredamagetotools - will not have tools damaged for every log (off)
    choptree.override.useanything - can use any item (off)
    choptree.override.interruptiftoolbreaks - chopping won't interrupt when the tool breaks (off)
    choptree.override.treefellerneeded - tree feller is never needed (off)
    choptree.override.onlytrees - can chop all logs, not only trees (off)
    choptree.override.chunkprotection - chunk protection will be ignored (ops)

    To Do:
    • (Medium) Test with WorldGuard, remove conflict
    • (Medium) Enhance isTree algorithm a bit more
    • (Medium) Add [tools], [non-tools] and [hands] to material list
    • (Low) Add configurable drops
    • (Low) Add automatic sapling replant
    • Version 1.24 by Arcwolf - Download (JAR file) | Source (ZIP file) - July 28. '11
      • Removed deprecated methods
      • Fixed mcMMO compatibility
      • Updated for Craftbukkit build [1000]
    • Version 1.23 - Download (JAR file) | Source (ZIP file) - June 02. '11
      • Fixed an error with iron axe receiving double damage as if it wasn't an axe
      • Added /ct reload command to reload changes from properties file
    • Version 1.22_2 - Download (JAR file) | Source (ZIP file) - June 01. '11
      • Recompiled for Minecraft 1.6.6/Craftbukkit [818]
    • Version 1.22_1 - Download (JAR file) | Source (ZIP file) - May 22. '11
      • Fixed chunk protection Permissions
    • Version 1.22 - Download (JAR file) | Source (ZIP file) - May 22. '11
      • Fixed chunk protection
    • Version 1.21 - Download (JAR file) | Source (ZIP file) - May 16. '11
      • Added EnableOverride option (off by default) to fix wildcard problem
    • Version 1.2 - Download (JAR file) | Source (ZIP file) - May 14. '11
      • Rewrote tree finding algorithm
      • Fixed some bugs leading clients to crash
      • Fixed and extended Permissions support
      • Added toggle commands
      • Added mcMMO support
      • Added option that player has to have mcMMO's TreeFeller enabled
      • Added optional damage to tools
      • Added optional tools list to restrict using this plugin only with certian tools
      • Added option to let trees go down one by one instead of popping like cacti
      • Added chunk-wise protection
      • Included plugin.yml into source download
      • Probably more
    • Version 1.1 - Download (JAR file) | Source (ZIP file) - May 5. '11
      • Added Permissions support
      • Fixed bug with some pine trees not being chopped
    • Version 1.0 - Download (JAR file) | Source (ZIP file) - May 1. '11
      • Initial Release
  2. This is already mentioned, Choptree and Giantree can give a bit of a problem with the server, if you chop a gianttree and have Choptree running, the server overloads.

    Can you add a check if there are to many (> 20 logs, the chop tree will only cut 1 log or any ammount specified in the config?
  3. Offline


    Can you add a simple feature : More time for break the lowest block ? (like 30 second ) ?
  4. Offline


    i got that crash, using this plugins:
    AutoSave, AntiCreeper, AntiHack, AuthMe, Citizens, Essentials, EssentialsChat, EssentialsGeoIP, EssentialsProtect, EssentialsSpawn, LWC, NoIce, NPCQuester, OwnBlocks, RegionClaim-v0.1.2, WorldGuard, mcMMO, HeroicDeath, Factions
  5. Offline


    I can't use this on our server until this is changed. If people build a giant tree house, regardless of if it is protected by residency or worldgaurd, any random player can grief the building by trying to remove the log. I really like your plugin and will donate if you add support for residency/worldgaurd !
  6. Offline


    My version says 1.23... :confused:
  7. Offline


    minecraft bluescreened with the mcMMO RPG mod, Permissions, Essentials, Locker, Worldguard and Worldwarp
  8. Offline


    Known conflict with mcMMO. I call it a 'fog screen' actually...
  9. Offline


    still happenig for one of my users, any solution?
  10. Offline


    is this plugin alive?!

    I got this erro when log moved down
    Now I cant login Im getting internal server error

    [WARNING] Failed to handle packet: java.lang.NullPointerException
    at net.minecraft.server.ItemStack.d(
    at net.minecraft.server.ItemStack.f(
    at net.minecraft.server.InventoryPlayer.pickup(
    at net.minecraft.server.EntityItem.b(
    at net.minecraft.server.EntityHuman.i(
    at net.minecraft.server.EntityHuman.v(
    at net.minecraft.server.EntityPlayer.v(
    at net.minecraft.server.EntityLiving.m_(
    at net.minecraft.server.EntityHuman.m_(
    at net.minecraft.server.EntityPlayer.a(
    at net.minecraft.server.NetServerHandler.a(
    at org.getspout.spout.SpoutNetServerHandler.a(
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at org.getspout.spout.SpoutNetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(
    2011-09-06 11:26:13 [INFO] Connection reset
  11. Offline


    I am having a problem on my server were when i place wood it turns it to grass dos this have anything to do with this mod???
  12. Offline


    I think no .. this plugin is just moving tree logs down ..
    OR maybe you set up move all log .. please post you config of choptree, and If you don't mind post list of all plugins installed

    Please will some one add new support for MCmmo?
    Thank you
  13. Offline


    I think it'd be a really cool option to modify the mining speed based on how big the tree is, so bigger trees take longer to cut down.
  14. Offline


    Like 30 mins before i found this i got the thingy that is in the OP with the blue-white screen... I'll tell you if it happens again. Anyway nice plugin
  15. Offline


    sorry the glitch whent away
  16. Offline


    I'm having this problem now, too. blue screens. users getting booted. Here's my version and plugins:
    19:44:08 [INFO] Plugins: Biome, BroadcastDonator, ChopTree, FireControl, Help, HeroChat, iConomy, LightVote, mcbans, MessageManager, MineMail, MultiHome, MultiInv, Multiverse-Core, Multiverse-Portals, MyWarp, PermissionsEx, RawcriticsOreObfuscationPlugin, SignShops, SimpleCensor, SimpleSignEdit, StairDrop, SupplySign, Tables, UserLog, WorldBorder, WorldEdit, WorldGuard, CommandHelper, Permissions, dynmap, General, Jobs, LWC, mcMMO
    19:44:20 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    19:44:20 [INFO] This server is also sporting some funky dev build of Bukkit!
    I'm disabling ChopTree until this gets fixed. Too bad. I hate floating tree tops and this is the only fix I found.
  17. Offline


    still crashes with update and have mcmmo...i suggested in the past dont think you saw, i am wondering if you can slow down the speed the logs break up when you chop the lowest log. i think just the speed that the logs break up can be causing the issue with mccmmo
  18. Offline


    Players can chop trees in protected areas please can you fix this!

  19. Offline


    I would love to see this updated for 1.8.*
  20. Offline


    Wait so how do I use tree feller? I need to download it or just enable it in the config?
  21. Offline


    Any interest in adding support for 1.8's mushrooms? :D It'd be a lovely addition!
  22. Offline


    Getting the exact same error when using Choptree and mcMMO.

  23. Offline


    There is only one issue I have. Lots of the time, the logs get stuck in the leaves of a tree, and you either have to wait for it to decay, or destroy all the leaves. Is there anyway to get around this?
  24. Offline


    Please update! I haven't found a chopping plugin better, however, it has caused people to be kicked and not be able to return for several minutes too often. I had to take it out. I do use mcmmo and worldguard.
  25. Offline


    I solved this problem, but it cost 1 mcmmo skill ... I disabled mcmmo support and now it works, but you not getting any exp for trees (but I don't mind its not horrible for my server)
  26. Offline


    This also did the trick for me.
  27. Offline


  28. Offline


    Or someone should take over this plugin.
    This is a highly loved plugin on my server which we can't live without D:
  29. Offline


    Not sure if anyone else has asked this, but it would be cool to say if you use this tool then the tree will fall apart, but if you don't then it will just move the logs down. I know this is more work and a bit more detailed properties, but would be a cool customization.

    Awesome plugin and keep up the good work. Floating trees bug the crap out of me :)
  30. Offline


  31. Offline


    Stuff was being really busy for me, I wasn't home for quite a while for various reasons.
    I am still aware that I need to update this plugin.
    The thing that will probably happen is that I will drop the mcMMO support because it just doesn't work.
    //Also: giant mushrooms.
    Daedalus` and Netu like this.

Share This Page