Inactive [FUN/MISC] Giant Trees v0.4.3 - Make Massive Trees in Minecraft [1.1-R6]

Discussion in 'Inactive/Unsupported Plugins' started by Connor Mahaffey, Jun 14, 2011.

     
  1. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    This post has been edited 7 times. It was last edited by Connor Mahaffey Apr 19, 2012.
  2.  
  3. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Look below.
    Coming in the next update, until then, ummmm fire :)

    UPDATE:
    A fix by @nisovin is coming ASAP and should stop the crashing problems some of you are having (why some and not others I have no idea). I do apologize. If you are having problems I suggest disabling the plugin until version 0.2 is released. Version 0.2 will also add a /undo option.
    fffizzz likes this.
  4. Offline

    fffizzz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Something else I thought of... this plugin is the only one with a space in the name. Not that it should matter, but for consistency, remove the space like the other plugins :)
  5. Offline

    Tux2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, just out of curiosity I ran another test with LyTreeHelper disabled. I did get more leaves on 1/2 of the tree, but the other side looked the same. I was standing at 117, 440 and ran /gt 70 16. There were no errors in the console and it did say "Tree Completed!" before I did my final evaluation. Also, here are the specs of my server and all the plugins I had installed at the time I ran this one:
    OS: Ubuntu 10.04 64bit
    RAM: 3GB dedicated to minecraft out of a max of 6GB
    CPU: Core2duo 2.33GHz
    Java version: OpenJDK Runtime Environment (IcedTea6 1.9.4) (6b20-1.9.4-0ubuntu1~10.04.1)
    OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
    Bukkit version: 860
    Plugins list:
    AntiXray
    BigBrother
    BlastControl
    FlowControl
    ButtonWarp
    ChairCraft
    ClayGen
    GiantTrees
    HeroicDeath
    ICoLand
    iConomy
    LocalShops
    LWC
    MapClone
    McMyAdmin
    mcMMO
    all of Minecart Mania
    Minequery
    MonsterBox
    MultiVerse
    NSCommand
    Permissions
    Realshop
    ShelfSpeak
    SimpleCensor
    SpongeRestore
    ThunderTower
    Turnstile
    WeatherRestrictions
    And a screenshot of the tree I built:
    2011-06-15_09.09.52.png
  6. Offline

    Darkride

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Was in the chat a message like Tree Finished or something like that in green ? If not the tree is still in build process
  7. Offline

    Tux2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yup, I edited my post to include that just as you were posting that. But yes, I did wait for the green "Tree Completed!"
  8. Offline

    Pim1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    does a forest create lag?
  9. Offline

    fffizzz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I can do a /forestgen 100 5 random, it takes about 10 seconds and then suddenly thousands of trees.. I wonder how worldedit manages to do this compared to how its being done in GiantTrees.
  10. Offline

    Pim1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    is that possible with this plugin, or do i need another plugin or is this a good idea you might add as a feature?
  11. Offline

    fffizzz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, thats done with WorldEdit. Currently with this plugin, you can only do one tree at a time.
  12. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The /forestgen is likely done with bukkit's built-in method of spawning trees. But you can't make those trees as big as the ones in this plugin. Also, using the new method I talked about above, the trees will spawn pretty much instantly, it just takes a few seconds for the algorithm to get the locations of the blocks.

    Trust me I'm on top of it :)
  13. Offline

    fffizzz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    awesome, me and my users can't wait to try it out :)

    I made a 70x10 tree and hollowed out the bottom part and inserted a annoying beat machine, its like jumanji when approaching this beast tree.. quite epic i must say.
  14. Offline

    Pim1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    nice :)
  15. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Version 0.2 is out!

    Change Log:
    0.2

    - Tree building completely revamped - now takes about 6 seconds (5 of those are wasted time the server gives you to run away) - Special thanks to: @nisovin
    - New tree building code fixes crashes - @nisovin
    - Added an undo command, which will work even after a server restart
    - Added a cache of trees to be built
    (Though as fast as they build now its really un-needed)
    - Added configurable tree size restrictions for admins in config.txt
    - Modified algorithm so bigger trees (ex. /gt 70 10) aren't bare (though they are still less leafy than their smaller counterparts)

    Sorry @nisovin for whatever reason it isn't automatically tagging your name.

    There aren't any files that won't be automatically changed, so feel free to grab the .jar and start it up. Remember to take a look at the new permissions and new config settings. The new tree building is great guys, it builds instantly! The only reason it takes any time at all is because I give you 5 seconds to run so you won't get stuck in your own tree. The crashes are gone too. You can all thank @nisovin ! The undo feature is pretty neat too. You can undo a tree right after you fail, or 2 weeks later when you decide you don't want it any more. All saved on files.

    Great stuff. Check it out, and thanks for using my plugin. As always post any issues on here. Next update will include different tree bark types, and hopefully a better tree creating algorithm. They're still a little square for my taste!
    Tux2 likes this.
  16. Offline

    Alesana

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I can only use this version on my main world ... any idea?
  17. Offline

    fffizzz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
    2011-06-16 07:18:40 [INFO] [Giant Trees] Could not load the world! Check server.properties
    2011-06-16 07:18:40 [INFO] [Giant Trees] version 0.2 is disabled
    
  18. Offline

    Ambedrake

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Lovin' it mate, Just got done spawning an entire rain forest can't wait till my users wake up to find this!
    Connor Mahaffey likes this.
  19. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Send me your server.properties. Are you sure you have level-name=WORLDNAME set to the map you are using? Are you trying to use a multiworld plugin?
  20. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugin does not support multiworld plugins, if that's what you're wondering. It will only support the world specified in server.properties under level-name=<this>
  21. Offline

    fffizzz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Level name is Start in server.properties, I do use multiverse (which im sure of alot of people wanting to use this are).
  22. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well unfortunately right now multiverse is not supported. Each tree needs to have a world attached to it, otherwise a tree location in one world would show up in every world, and you could undo a tree in any world. Basically, it messes everything up. I'm not 100% sure how multiverse works, but if start is an actual map, you should be able to make trees in the Start map, just not any of the others. I'm puzzled as to why it fails on startup, unless Start is not actually a world that can be loaded.
  23. Offline

    fffizzz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
    minecraft@Minecraft:~/mc$ grep start server.properties
    level-name=start
    Code:
    minecraft@Minecraft:~/mc/start$ du -h
    5.5M    ./players
    172K    ./data
    4.0K    ./BOBPlugins
    71M     ./region
    77M 
    very much a world. :)

    Also, you can get world values from the bukkit api, since you're attaching a world to the tree, this should be an easy change I would think. Im not a java programmer unfortunately, but this is how all the other multiworld plugins work.
  24. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'll look into it. It's going to require multiple instances of certain things running to get it to work, because certain parts of the code are dependent on knowing what world they are writing to, and can't be changed. No promises.

    Just know that there might be serious risks - 4 people might be able to create a tree on 4 different worlds, and crash the server.
  25. Offline

    fugue2005

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Dude!!!

    Epic tree is Epic!!
    took like 2 seconds to make this time too.

    huge improvement over .1
    Connor Mahaffey likes this.
  26. Offline

    Ambedrake

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah world values can be pulled from the API and also the world the player is in can be as well, we use that for the NightQuery plugin to output to our website. The API is pretty straight forward with it so should be rather simple to add no real need to support just multiverse so long as you use the built in API any multiworld plugin should in theory work.

    Another thing you may want to check into is if there is a block in a location allow for the configuration to either replace the blocks or to ignore the block and not replace it. This will allow for people to feel more safe growing these beasts around larger buildings that would take large amounts of time to repair.

    A request from our users on our server was to support multiple tree types, though honestly if need be I can tell them they have to wait lol.

    And finally an idea from myself, check to see if there is a block underneath the tree stump and fill that in too as it looks kinda hinky growing these things on hillsides. Also the option for configurable sized roots that could either follow the ground line or even penetrate the ground would make this look epic like the beasts have been there for centuries.

    Keep up the good work I love it so far,
    Ambe
  27. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    UPDATE:

    Version 0.2.1 Now available - fully supports Multiverse
    Note: If you create a new world in Multiverse without restarting the server, you need to do a /gt reload before you can place trees in the new world.

    A LOT more people than I thought use Multiverse, and I realized it was well worth changing. It should work fine now. This also means you can now put trees in the Nether (don't know why you'd want to, but go for it).

    You should be able to grab the new .jar and replace the old one without any conflict. Thanks for using my plugins and as always post any problems in here, along with the console error (if there is one). The more descriptive you are, the most helpful I can be.
  28. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    1. Got multiworld working :D
    2. I'll probably add this in a future update - if it destroys too much you can always do a /gt undo and try again
    3. Definitely adding this in a future update, just not sure how I want to handle it yet. Should it just be wood types or leaf types as well? Leaves automatically change depending on the biome right now.
    4. Roots are hard, I've seen other mods do them, and they usually don't look so hot, but I can try. And I have it that way right now because if you go to the side of a cliff and make a tree, I wouldn't want the bottom to stretch 30 blocks down. Maybe some kind of cut-off at the bottom
    5. Thanks, will do :)
  29. Offline

    Ambedrake

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The leaf types seem to me to be specific to the tree type as well, so I would assume matching one type of tree to the usual leaf sub data it uses would be the best way to go about it. Once its placed though it shouldn't be an issue for it to stay in place in any biome so it can totally be up to you. You could even make that customize-able, say I want a redwood with the leaves of a birch I could do a command like /gt 70 10 redwood birchleaf, etc etc. Anyways there is a lot of potential here in way of customization, you could even go on to let it make some funky things like have it take block ID's for the leaves and wood for example allowing for a fake tree made of iron and diamond or something using a command like '/gt 70 10 42 57' where 42 you be the trunk value and 57 would be the leaf replacement. Just would have to allow for sub data for colored wool's and the like.
  30. Offline

    icomeinpieces

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    looks awesome, testing tonight.
    will come back later to report my findings and opinion :)
    first impressions say it's exactly what i'm looking for;)
    Connor Mahaffey likes this.
  31. Offline

    Stone_Lazaurus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugins works pretty smoothly, love the idea and its very simple to boot. Tree trunks looks cool imo. Only downside for me, is the shape of leaves on top. Once that crazy afro gets combed, this plugin will be perfect.
    Connor Mahaffey likes this.
  32. Offline

    fffizzz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    works awesome!!! thanks!!!
    Connor Mahaffey likes this.

Share This Page