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

    askmeaboutlo0m

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


    ATTENTION:
    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!

    Features:
    • 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)


    Description:
    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.

    Pictures:
    Show Spoiler

    [​IMG]
    Approach tree...

    [​IMG]
    ...and punch it.

    [​IMG]
    All logs will be yielded.

    [​IMG]
    The leaves will decay like normal.


    Set-up:

    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 ChopTree.properties 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 ChopTree.properties file will look like this when first created:
    Code:
    # -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.


    Commands:
    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)​



    Aliases:
    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.


    Permissions:
    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
    Changelog:
    • 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. Offline

    Pixelzz

    Attention..This plugin no longer works since "Build 1000" so please someone fork this plugin or mark it as "Inactive" I really enjoyed this plugin as it lasted...:'(
     
  3. Offline

    ValBGaming

  4. Offline

    kahlilnc

    Thanks for doing this.
     
  5. Offline

    Arcwolf

    Here is a link to a slightly updated version. I overlooked a deprecated method and went ahead and worked around it.

    http://www.filedropper.com/choptree_1

    SRC is also included in the zip. So if anyone else wants to maintain... Enjoy :)
     
    askmeaboutlo0m likes this.
  6. Does this work with the new Bukkit Permissions/Super Perms?
     
  7. Offline

    Arcwolf

    I didnt go that far in the update, but I believe if you use the Bukkit permissions bridge it would.
     
  8. Offline

    askmeaboutlo0m

    Thank you very much, I'll look into it what you've changed sometime and update the links on the page now.
     
  9. Offline

    Shooty

    Any chance to add iconomy support :) ?
     
  10. Offline

    Zathras

    I like this concept!

    You have a version mismatch...

    Just downloaded the 1.24 jar and when it runs, it says this:
    Code:
    08:08:31 [INFO] [ChopTree] Attempting to create directory...
    08:08:31 [INFO] [ChopTree] Success.
    08:08:31 [INFO] [ChopTree] Attempting to create properties file...
    08:08:31 [INFO] [ChopTree] Success.
    08:08:31 [INFO] [ChopTree] Using Permissions.
    08:08:31 [INFO] ChopTree 1.23 enabled!
    
    Downloaded from:
    http://dl.dropbox.com/u/27166980/ChopTree/1_24/ChopTree.jar
    (link from http://forums.bukkit.org/threads/fun-mech-choptree-1-24-chop-trees-by-removing-lowest-block-like-cacti-1000-by-arcwolf.15566/ )

    Download size:
    24,443 bytes
     
  11. Offline

    Arcwolf

    I've noticed it too. Its because I didnt notice that when the original version was programed it was doing

    log.info("ChopTree 1.23 enabled!");

    instead of checking the plugin.yml for the version number. Open the jar with a unzip program like winzip or something and check the plugin.yml. It should say 1.24.

    I've noticed that problem too, its not a critical flaw.
     
  12. Offline

    vanja

    it finally works again :))) thanks

    or no, chopping trees makes everyone on my server get MINECRAFT CRASHED, not server but the client, which is strange

    or wait sorry plugin is not the problem... does anyone knows anything about a crash with light blue screen and some see trough dirt in up left corner?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  13. Offline

    askmeaboutlo0m

    Are you running WorldGuard?
    I am not sure but that seemed to cause lots of problems with previous versions similar to yours.
    Also try using the edit button instead of posting new threads, it looks better that way :p
     
  14. Offline

    ariennex

    Chopping trees is definitely causing the blueish then black Minecraft screen of death. I've been struggling with this for over a week now. I really don't want to have to remove this but the client crashing is soooo frustrating.
     
  15. Offline

    Ha1luciNate

    HELPPPPPPPPPPPPPPP MY CLIENT BLACKSCREENS AND BLUESCREENS! I removed the plugin and RESTARTED the server! It's still happening!! FUCK
     
  16. Offline

    askmeaboutlo0m

    If you use an old version of the plugin on the wrong build then stuff like that happens.
    Use the latest version.
    Also, if you had read at least a bit in the posts in the thread you'll see that this is a common problem when using an old version on a new build and that it fixes itself after a few minutes of doing nothing.
     
  17. Offline

    Tobytheminer

    It fucks totaly up

    When i did that my game could not rejoin the server

    Code:
    [ChopTree] Attempting to create directory...
    2011-07-31 06:46:14 [INFO] [ChopTree] Success.
    2011-07-31 06:46:14 [INFO] [ChopTree] Attempting to create properties file...
    2011-07-31 06:46:14 [INFO] [ChopTree] Success.
    2011-07-31 06:46:14 [INFO] [ChopTree] Using Permissions.
    2011-07-31 06:46:14 [INFO] ChopTree 1.23 enabled!
    2011-07-31 06:46:14
    
    After i chopped the wood i could not goto that posision or players could not with our crashing totaly
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  18. Offline

    ariennex

    I'm running the new version on my relatively new server, and clients still crash occasionally when chopping trees. Anyone who approaches the chopped tree will also crash. The only resolution I've found is to to manually teleport affected people away from the doom tree, and wait for the the doom tree to despawn.
     
  19. Offline

    askmeaboutlo0m

    @Ha1uciNate @Tobitheminer @ariennex
    What other plugins are you using?
    Maybe that way I can find out if there's a conflict with a certain one.
     
  20. Offline

    twiclo

    So I'm trying to set it so you can only use a gold axe for it to work so i just deleted all the other pickaxes in the config folder and set allow all items to false and i saved it and the plugin still thinks that all items are allowed even after a server and client reset. plz help me.

    just saw that it could not load the config.yml please help!
     
  21. Offline

    bluehasia

    Bug report...mabye

    is thier a known bug where it crashes the client and you get a blank screen and have to crtn alt delete out of mine craft? i try to relog and it will display the game for 1 sec and i cash again.

    this only happens some times when i chop the base of a tree, ill crash client side. server is still running and i am unable to log back in for about 7 mins or i will crash again.
     
  22. Offline

    askmeaboutlo0m

    It is a known error, but it only applies for some people.
    What plugins are you using? I am fairly sure it's a conflict with something and I am trying to find out which one it is. And for that I need as many plugin lists as possible so I can outrule.
     
  23. Offline

    bluehasia

    i am using
    mcMMO 1.0.49

    ChopTree 1.24

    AntiCreeper 1.0
    GenOre .03
    HookShot 1.2.2
    WorldWarp 2.0
    XcraftGate 0.8
    Giant Trees 0.3.3 (but disabled via mcmyadmin)

    I am also using servercraft.com as my hoster if that helps
     
  24. Offline

    PhotonLance

    crash blue screen but dont use any plugins on server and i use blank official client

    this plugin problem ...
     
  25. Offline

    Bronski

    I've been running this for 2 days and chopped maybe 10 trees or so. I know that's not much but I haven't crashed yet. Here's my plugins if it happens to help. I will report if I get a crash:

    Show Spoiler
    Server:

    AutoAnnouncer.jar
    BigBrother1101.jar
    BinarySkates032.jar
    BorderGuard411.jar
    ChestShop3b11.jar
    Essentials256.jar
    FalseBookBlock.jar
    FalseBookCart.jar
    FalseBookCore.jar
    FalseBookExtra.jar
    FalseBookIC.jar
    HeroicDeath182.jar
    LWC330.jar
    LightVote172.jar
    LogOres063.jar
    Lottery05.jar
    NoCheat111b.jar
    Permissions.jar
    PermissionsEx112.jar
    PlgDisableCmd_op13.jar
    PreciousStones533.jar
    Slots21.jar
    SpawnControl082.jar
    SpawnMob196.jar
    SuperJump07.jar
    VanishNoPickup.jar
    VoxelDoop.jar
    WorldEdit.jar
    WorldGuard522.jar
    Zombebanner150.jar
    dynmap20.jar
    iConomy501.jar

    Client side:

    Zombe
    WorldEditCUI
    XRay
     
  26. Offline

    Lynxdragon

    Choptree 1.24 works with MCMMO 1.0.48 fine on bukkit #1k
     
  27. Offline

    askmeaboutlo0m

    It doesn't happen to me so it's not the plugin itself. I just haven't found out what everyone getting the error has in common.

    Are you crashing with those plugins or is it running fine?
     
  28. Offline

    WilsonXRS

    When adding this to permissions "choptree.override.useanything" is when it crashed me and several players. Before adding that it worked fine.
     
  29. Offline

    PhotonLance

    cuz 95% players dont use axe when attack the trees
     
  30. Offline

    Aiyania

    I am trying to make it so only a Golden Axe will trigger the mod, how can i make it so. Ive tryed messing with the config file to no alas >< any help?
     
  31. Offline

    ChaosMuffin

    Hey got the blueish screen with these plugins:
    DeathMessage
    Iconomy
    Iconomy ChestShop
    Lockette
    McMmo
    WarpWiz
    And
    Welcome Message

    Also how do I resolve this issue so I can play on my server?
     

Share This Page