PwnPlantGrowth
PwnPlantGrowth
Change the rate at which all plants can grow (and die) per biome and based on natural lighting! Great for roleplaying, territory control, and economy minded servers where food is terribly overabundant and too easy to get.
The basics behind this plugin are designed to slow down or even disable the farming and growth of nearly every plant item in the game along with Biome specific support. Choose which Biomes and light level certain plant types can grow, and at what rates they can grow. You can also configure a chance that some plants will even die! (Replaced by dead bush or vine). This will make tending to massive farms more difficult, balancing your servers food economy and making the game more enjoyable for those who like a bit more realism and challenge.
Carrots, Melons, Wheat, Sugar Cane, Trees and more! The way this plugin works is that it checks for when a plant is about to grow, then based on your configuration settings it gives that growth event a chance to succeed or fail. If it fails, it also has a chance to die!
- Looking to block farming NetherWart entirely or restrict it to the Nether only like it used to be?
- Want to make some things like Melon farms less overpowered?
- Want to force Cocoa to only grow in the Jungle?
- Want to make desert growth rates lower than other areas?
- Want to make buckets pour water like real life buckets?
- Want to make farms be above ground and under natural lighting?
This is the plugin for you!
Features
- Configurable by plant type.
- Enable, disable or set a percentage of default for each plant's growth.
- Configure specific plant types that aren't commonly made available by other farming plugins (such as cactus, sugar cane and specific tree types)
- Whitelist Biomes that a plant can grow in.
- Add a configurable chance of death (plant dies and in some cases turns into a dead shrub).
- Configurable Per Biome for each plant type.
- Adjust the behavior of water source blocks in buckets and dispensers.
- Configurable natural light level.
- Give priority growth rates to certain biomes in outdoor farms while hampering growth rates in poor biomes and underground, great to get players out of their caves and into the world!
Installation
Simply place the PwnPlantGrowth.jar into your plugins folder and run your server! If you are upgrading from a previous version, it is a good idea to copy and delete your config.yml and regenerate a new one in case something has changed. (A future update will check for config file changes and errors)
Configuration
Edit plugins/PwnPlantGrowth/config.yml
- For each plant type, set the percentage from 0 to 100. 0 will disable the plant type from growing at all. 100 will allow plants to grow at their normal rate. The lower you set this number, the less likely the plant will be to grow.
- For each plant type, set a death percentage like above. This is a chance of death only if the above fail chance is successful. For example, if growth percent is 50% and death percent is also 50%, then the overall chance a plant has of dying is 25%.
- For each plant type, set a whitelist of biomes in which it can grow. And empty set means it can grow anywhere. Empty set looks like []
- For each plant type, configure option specific set of biomes, with their own growth and death rates.
Bukkit Biome List - There are a lot!
Links & Info
- PwnFilter - Absolutely the best and most powerful chat and command filtering plugin available. Also does aliases, scripting, sign and anvil text filtering and so much more.
- PwnBuckets - Previously part of PwnPlantGrowth, PwnBuckets grew into it's own plugin that makes liquids (water, lava, ice blocks) behave more naturally when poured from buckets or dispensed from dispensers.
- PwnChickenLay - Configure or block how fast chickens can lay eggs, and change the egg to any possible item.
- ResPwn - Configure useful and fun player respawn options like temporary forcefields, armor and weapons.
- PwnPvpBalance - Balance the tide of uneven game mechanics with options to help players with poor PvP skills be more competitive, and give good players a better challenge.
- Pwn9.com - Visit the Pwn9 Gaming Community, the place we call home. Check out our Minecraft servers, other game servers and fun gaming community.
Plugin Metrics
This plugin utilizes a plugin metrics system, which means that some information is collected and sent to bstats.org.
If you wish to disable this feature, you can do so by opting out, which you can do in the config file under /plugins/PluginMetrics/
@Kadjimah Give me a day or two and I'll put a 1.5.2 based version together.
Make it FOR 1.5.2!!!!!!!!!!!!!!!! please!
@alek123222 @LePheel
PwnPlantGrowth v1.2 will now have a configurable option to force plants to grow in natural lighting conditions only. A value of 10 in this setting will allow plants to grow with a glass roof, or slightly shaded by trees. A value of 0 would allow any natural light level.
This should end underground growing. There is also a "grow_in_dark" setting available in which you can add plants to a list to allow them to grow underground/not in natural light.
I really like the plugin so far makes the game bit more realistic, if you do get it done could we get a dev build?
@alek123222 You bet, both great ideas.. the sunlight one has been on my to-do list for a while now.
Hey just an idea, make an option which requires a plant to grow under a direct sunlight without of being obstructed. Also would be nice if we could disable bone meal.
@m9731526 I'll look into this, afraid i've been really busy lately, but it will go on my to do list to see if i can set that up.
@sakura_blades Not the way it is currently setup, although I plan to make it that way, I'll have to re-do the entire config someday to do it. Basically right now, when you setup a plant, like wheat for example, you set wheat's growth rate (as a percent of normal growth which is 100), then you set the biomes it can grow in. Per-biome growth rates is something a lot of people have been asking for and as far as I know no plugin is available yet.
Current Config Looks like this
A future config might have to look like this... to assign values to each biome.. only thing stopping me is time and, learning how to do it :)
Lets say I want Wheat to grow faster in plains biome than it does in a desert, but i still want it to grow in the desert.
Is this possible to set up in the config? I'm afraid it wasn't very clear?
Maybe you make dead bush on soil auto disappear after days ? It will be convinient to players ,Millenaire MOD's villagers, or any farming NPCs.
I was out for a bit in the wilderness doing some vacation, now that I am back I'll get to work on some of the requested features.. look for those soon!
@tremor77
With regards to stages and light levels, it might be worthwhile to check out how they did it with this plugin
http://dev.bukkit.org/bukkit-plugins/arable/
@LePheel I have to take a look close at how stages work, I will put that on a to-do list.
@tschubakka I've thought of a couple ways to change farming - instead of lighting i was thinking about vertical level of the world.. about making configurable vertical levels say 50-90 prime, high altitude would be slower growth "thin air" as well as lower, underground "too cold/dark".
Can you make it configurable to change growth at specific growth levels? For example, getting wheat to go from 5 to 6 will have one percentage, and 6 to 7 having another? And adding sun light as a requirement would be awesome, the Arable plugin had this as a feature.
@tremor77
Preventing cave farming, you say? That'd be just the perfect way to keep people on the surface combined with Miner's Insanity. Hope you get it implemented soon :)
1.6.2 Update awaiting approval with an awesome new feature (make sure to update your config.yml) - Realistic Buckets!
Just set the config to true and buckets and dispensers will no longer transport water source blocks, but instead the water will pour and then soak into the surrounding ground area.
To-do soon: Growth rates per biome, and perhaps a natural light / light level modification to prevent cave farming.
I've updated this for 1.6.1 although nothing new was added, I'm going to start working on this guy again and consider adding some new features.
How about mycelium?
@TheAtreidius
I'll look into it, I'm pretty sure it's possible because I believe worldguard has a grass growth flag.
Would it be possible (or is it possible) to control growth of grass/tall grass as well as death/loss of tree leaves?
If this isn't possible or isn't planned, is there a good alternative solution to handle grass/leaves?
In any case, thanks for the plugin!
@telephonekiosk Most of the plants turn into dead shrubs when they die. There are a few that were incompatible with that though, cocoa for example, because it grows off the ground, so I put a chance of cocoa dying turning into vine. Cactus, sugar cane also don't convert to dead shrub very well.