GrowStone
GrowStone
Description
Treat Glowstone like the living biomass that it is: plant it and grow it.
Simply place a Glowstone source on a dirt block adjacent to water and watch it grow.
Ideal for psuedo-survival servers who have a focus on building and a passion for glowstone use.
Commands
None currently - configurable via the config.yml
Permissions
None currently, however if there is demand for a version with permissions, I'll add it.
Configuration
- growChance double controls probability that cluster will grow
- growTimeDelay int controls the minimum time in milliseconds to grow a cluster
- growTimeDelayPenalty int controls the minimum time in milliseconds to grow a cluster with a penalty (used for when there's a block in the middle of the cluster)
- debug boolean debug mode
- growAround boolean grows around non-glowstone blocks in the middle of the cluster
- requires boolean require certain blocks to grow
- growsOn comma + space delimitated string valid blocks below the source glowstone
- maxClusterSize int controls the maximum cluster size.
Note:
Clusters will take anywhere from growTimeDelay / 1000 seconds to growTimeDelay / 100 seconds to grow. growTimeDelay and growTimeDelayPenalty are measured in milliseconds.
It seems to be broken with the latest recommended MCpc+ legacy build :(
Hey, does this plugin work on the latest Bukkit build?
Awesome idea!
@fov360
Ok. So, to grow a cluster:
First, when the block is placed, we calculate a random time offset which is, at a minimum growTimeDelay.
...rand.nextInt(rand.nextInt(10) + 1) * (plugin.config.growTimeDelay))...
Second, after that time has elapsed, there's a growChance percent chance it will actually grow the cluster, at which point it will restart the timer.
I tried to make it as random as possible to get people to stop farming it - if you don't know when it's going to grow, then you're more likely to leave it alone and come back later. Yes, a 1 for growChance means that it has a 100% chance of growing after the timer has elapsed, but the line above makes the grow times range from growTimeDelay / 1000 to growTimeDelay / 100.
Which, now that I think about it... is really extreme. 1,000 seconds with default config.
Tested the plugin meanwhile and actually it is almost what i wanted. Only troubles i had were the timings of the growing. I have tested several settings for delays and grow chances but it still felt pretty random. I thought a grow chance of 1.0 corresponds 100% - no? Also what are the delay settings - its not ticks, is it?
A toggle for growing down would be a good idea to live with instead of a worldguard dependency.
Haha, just tested this out on our SMP. I love it! Works flawlessly, at least so far. Good job!
@tills13
Could do it with an optional soft dependency.. That way you don't have to rely on it
@fov360
yeah, currently it's developed to only grow up... if I have time, I'll add in an above/below toggle.
I have no idea how to interface with WorldEdit, would a simple "maxGrowStoneFarms" variable suffice? I mean, I can look into WorldEdit API, but ideally there would be no dependancies.
Finally a mod for growing glowstone - thank you! Just like metalhedd i am looking for a solution to re-grow glowstone in the nether.
For me its fine to place the basic block for a growing cluster but i also want to prevent people from starting huge glowstone farms in any world. A perfect solution would be per world permissions or even better a flag for worldguard which allows/disallows the growth of glowstone in regions.
If this is impossible then it would still be ok if one could define ANY block as the required "start"block. I would then define a block which is is only placeable by admins. So only admins could start a glowstone farm.
I also need to know if the required block has to be under the first glowstone block? Or can it also be placed on top so the the glowstone is growing from top down (just like in the nether).
Please keep developing this plugin. It sounds very promising! Will test it these days!
@metalhedd
yes, this requires you to place a block to "seed" the cluster.
I actually haven't tested this in the nether, yet... I'll try it out when I get home tonight. In the mean time, if you try it out, tell me if it works or not. (I can't remember if I'm sending the block to a specific world or if I'm just placing it in the overworld at those coordinates (I hope not)
Does this require the glowstone to be placed by a player before it will grow? I've been looking for something similar to this, but I would like glowstone to re-grow, only in the nether, and only when all but 1 block has been mined from the cluster,.
@tills13
I like this idea, I'd definitely like to try it out.
The coding is 99% done, I'm just trying to get a) a measure of community interest and b) ideas for configurable options. So far, I have: