Giant Trees
Giant Trees
Giant Trees is a plugin for adding procedurally generated giant trees to your world. Giant trees are generated in three ways:
- Giant trees are grown in creative/survival mode by planting saplings and fertilizing with bone meal
- Giant trees are summoned with a command
- Giant trees naturally grow when new forested biomes spawn
Tutorials in other languages:
Planting Giant Trees
To plant a giant tree in creative/survival mode, perform the following steps:
- Flatten a 5x5 area of dirt
- Surround an emerald block with two rings of saplings
- Fertilize a sapling with a stack of 64 bone meal
- Stand back
The type of sapling fertilized will determine the species of giant tree that grows.
Commands
To create a giant tree with a command, use the /tree-create or /gt command, followed by the name of the tree. Tree names are found in the plugin's data directory. For example, to summon a giant acacia tree, use the command
/gt tree.ACACIA
To edit the model for an existing tree, or create a new tree model, use the /tree-edit command. This command can only be used from the server console.
/tree-edit tree.ACACIA
Naturally Growing Trees
By default, Giant Trees will grow naturally in newly generated chunks in the default overworld (the world called "world"). To add giant trees to more worlds, increase the frequency of tree growth, or disable natural tree growth altogether, edit the plugin's config.yml.
Tree Species
For the beta the following species of trees can be summoned with the /gt command:
- tree.ACACIA
- tree.BIRCH
- tree.DARK_OAK
- tree.JUNGLE
- tree.OAK
- tree.SPRUCE
More tree species will be added in future releases.
Undoing Giant Trees
Trees summoned with the /gt command can be undone using WorldEdit's //undo
command. This feature is automatically enabled if WorldEdit is installed.
Making Your Own Giant Tree Species
You can make your own species of giant tree. Start by using the /tree-edit command from the server console, giving it the name of the tree you want to edit or create. (For new trees, ignore the file not found error). As an alternative, you can double-click the Giant Trees plugin .jar file to start the visual tree editor.
Design your tree using the visual tree editor. When you are done, click save and exit the visual editor. To add roots to your tree, create another tree with the same name as your tree, with .root added to the end. For example, /tree-edit tree.ACACIA.root. Root trees are rendered upside down in the world and scaled to match their tree.
Is your new tree really awesome? If so, PM me the model and I'll include it in the next version of the plugin.
Permissions
- gianttrees.create (default OP) - Allows the creation of a giant tree using the tree-create command.
- gianttrees.grow (default true) - Allows a player to grow a giant tree by fertilizing a grid of saplings.
Source Code/Issues
https://github.com/rmichela/GiantTrees
Metrics
This plugin utilizes Hidendra's plugin metrics system. the following information is collected and sent to mcstats.org unless opted out:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- Plugin's version
- Server's version
- OS version/name and architecture
- core count for the CPU
- Number of players online
- Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
@locarnos
Is it broken in 1.4.6? If not there is no reason for an update. Plugins do not have to be updated with each build.
Please update to 1.4.6 !!!
@Saiyan1337
Unless there was a radical change in the API, plugins quite literally never have to be updated. Ever. It doesn't matter what version of Bukkit you are running, this plugin will continue to work. If it has broken, feel free to let me know. However, tons of people see that it was last built-against a build from months ago and *assume* it is broken.
Umm there is the new plugin checker that bukkit is doing. read up on that and make sure that this plugin will work with that.
@devman45
Is it broken? Because as long as it still works it doesn't need to be updated.
Please update!
@AntonDenStore
Have you changed the "tree build delay" parameter in your settings? If it is already at 0 then I'm afraid that's as fast as it will go. I'm quite limited by what bukkit can do I'm afraid.
It is REALLY slow building of trees. I tought tht i will just pop up like planting a sapling but its just too slow. If u can make it faster then it is a really nice plugin =D
@Sfmplayer
If you have tree build delay in settings set to 0 then I'm afraid there's not much I can do. The Bukkit API doesn't handle changing lots of blocks well, and as such, I have to do small sections to keep the server from crashing (and even then, it does sometimes). Sorry it can't be as fast or smooth as I'd like it to be.
Hey @CMahaff
first of all i love this plugin!
But. mann it takes Wayyyy to long to create tree! can you make this faster ?
greetings from sfm
@pkt77
No new features will be added until the release of the official Minecraft API. However, I will make sure it keeps running as Bukkit is updated. It should continue to work without updates barring a huge change by Bukkit.
Has this plugin been abandoned?
@m1k3y9292
HI didnt realise the server address was so hidden after I restructured the website. Thanks for pointing that out. The address you need to use is mulgrewenterprises.co.uk
You don't need the IP address, I host several servers (minecraft and web) so the IP address wont always work.
@m1k3y9292
I can build trees much faster with world edit but these ones look more natural so I prefer to wait. I tend to add to them with world edit. I posted a tutorial below, take a look. Your also welcome to come on the server to take a look at the results. Please bear in mind though its a development server. If you see my name on the players list expect lag spikes as I make large edits with world edit (sometimes over a million blocks) and expect a few reboots. I have a testing server for the big stuff though so its not normally too bad.
@m1k3y9292
Try looking at the settings file and limiting the build speed. I've built some epic trees, see below. and peaked a little over 2 GB Took forever to build though Think my delay was 1
@m1k3y9292
Sorry, but that is just the reality of changing that many blocks so quickly in Minecraft. Similar things happen in other plugins like WorldEdit if you try to generate giant spheres, etc.
@CMahaff
I guessed the feature freeze may be the case. Thought I'd swap ideas anyway, it never hurts. I'm no good with java so giving feedback is the best way I can contribute.
1 Yeah I cant think of an elegant way to do it, maybe with some performance improvements it may not be much of an issue about the size limits.
4 Yeah I know I use world edit and regularly change towards a million blocks in one operation. Anything above and around the 200,000 point seems to lock the server up for several seconds and much over this its very likely to boot anyone whos on.
5a I've solved this issue by manually starting a new tree to overlap the first, its hardly elegant but might be easy to do. If a tree has been started but not finished (ie server crashed) it will auto restart when the server reboots. Might be better to message the admins and ask if it should restart in case it loops crashing the server. for example when an admin logs in give them the message "A giant tree was started but not finished, to finish it type /gt resume"
5b didnt know that but had a feeling
6 The biggest tree I made was around 220x40, crashed my server the first few times. It kept maxing out the ram then crashing. I had it set to 2GB, running on a 6 core PC with 2 cores allocated, and from a SSD. Even when I got it to build I had to leave it over night. Was totally worth it though and I don't mind the long wait as long as it runs OK, its not like I had to do anything.
@bigmommulgrew
You may or may not know that this plugin is in a code freeze. Basically, I'm waiting for the official Minecraft API to come out, and then I will re-write the plugin for that. Right now it is not worth it to start re-coding this plugin when everything could very well change in a month or two. Anyway, to answer your questions:
1. It would, but there is no good way to handle it. Bukkit permissions can't hold any kind of value, just "has" or "has not". Adding it to the config would add clutter. 2. Very true. To be honest though, build delay will probably be gone whenever the next version comes around. Just doesn't seem very useful. 3. Also true, but again, probably won't be a build delay in the future. 4. Minecraft struggles changing too many blocks at once. Not just in this plugin, but any plugin really. In the future I'll probably let the server owner specify how many blocks to add each tick. Hopefully that will alleviate some stress. If not I could always also specify a number of ticks to wait in-between adding the specified number of blocks. 5.a. Definitely true. It should know to finish, especially in the event of a crash (which is often with this plugin :P ).Will keep in mind. 5.b. When the server stops, plugins are force closed if necessary. Not possible. 6. Well to be honest I can't make a tree that big without crashing my own PC! D: But I know there are issues with big trees. Algorithm is poor - the biggest thing that needs improvement. Of course, when I originally coded this plugin, 128 was the max height of a world. 7. Yes. I think I'll make configurable "schemas". Basically, you will be able to define as many presets as you want in a file. Things like % chance for branches, maybe base size or your own formula for calculating how big the top should be (ex. 2x the WIDTH). This would open up possibilities for people who really want to get into it without overwhelming people who have never gone beyond /gt 24 4.
Cool tutorial! And I'll keep ya in mind. Watch out of Giant Trees on whatever medium plugins will appear on when the official Minecraft API is out.
One last thing.
I've posted on our forum a rough guide to building the tree city we built. Its here http:mulgrewenterprises.co.uk/minecraft/?q=node/23
Feel free to copy it and build it into your own tutorial pages.
Hi I don't mean this to detract form the project, I know its only an alpha release but I'd also like to share a few notes and thoughts I've had.
1. It would be nice to be able to set different size limits per user group. That way It would be possible to allow users to make medium size giant trees and allow admins to make large giant trees without giving the admins the unlimited permission. That way trusted players could be allowed to make much bigger trees without needing to know what size tree would crash the server. 2. If there is a build delay set for giant trees it should automatically remove the delay when there are no players online so all the servers resources can be devoted to building the tree when there is no one online. 3. There should be a command (for admins only) to specify the build delay for a tree so that if for example it was set to 2 an admin could specify the next tree be built with no delay. 4.Need a better way of creating a build delay. I've found 0 makes the server laggy with trees over a certain size, 1 makes really big trees take forever. I'd like to set it to something like 0.2 but obviously you cant measure part of a tick. Maybe you could increase the blocks placed per tick and then allow a much higher build delay 5. Stopping the server while a tree is building stops it in its tracks. Would it be possible to get it to a. Continue building after the server starts (optional) or b. Finish building (at a faster pace) when the server stops. 6. I've found building a ridiculously huge tree like 200x30 tends to miss out parts of the trunk and take forever to build leaves. 7. You should look into adding different tree types. The current ones seem to all be tall and thin with no branching or bushing until right near the top. You could add several shapes, configurable or randomly selected. As you may notice in the pics I posted I've used GT to grow the main trunk then added branches manually then used gt to grow smaller GTs upwards to grow the branches. I've also grown some smaller trees half in a larger tree. This easily and realistically gives the look of bushes and smaller branches
I know thats a lot and its already a great plugin, just thought I'd share my thoughts.
If you need any help with testing with this or anything else feel free to pm me. I run a testing server alongside my main server which is purely for testing new mods out so I don't even mind if it screws the server up.