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/
waiting 5 days now on bukkit to approve the next version of this plugin.. le sigh.
@CS_Hague Very helpful, I think with that info I can resolve the issue of when other plugins create custom crops... what's happening is PwnPlantGrowth is getting the crop name and then checking the config for that crop, not finding it in the config and throwing a fit.. I just need to fix it up to ignore unknown plant types.
Note: Whether spout (not spigot) or harvestcraft or others like that however, they are not using Bukkit API's, I'll do my best to help compatibility, but I make no guarantees of supporting anything that uses NMS.
@tremor77
It's not Spout he's using, it's Spigot, which is a performance variant of Bukkit.
I'm currently using Spigot through MCPC+ with your plugin. It works great normally, but it throws a similar error on my server as well when attempting to pass a growth event to the custom crops added by Harvestcraft:
I believe Spigot has a custom growth throttle that gets applied from it's configuration. You can directly control the growth rates of wheat, sugar cane, etc.
EDIT: Upon following the advice of the quoted post, I downgraded the plugin to a previous version to no avail. The error is persistent. I had not configured the new crop blocks into the PwnPlantGrowth config so that couldn't be the source. The modded crops still grow naturally, however.
Possiable Per world config?
@Chewychunga Looks like you're still using 2.1 (not 2.1.1) which is not fully compatible with 1.7.9 servers
"Could not pass event BlockGrowEvent to PwnPlantGrowth v2.1 org.bukkit.event.EventException"
Also, I can't fully endorse use of this plugin with Spout - I very much doubt they are compatible in a lot of ways, I would honestly be surprised that PPG even works on a spout based server.
BUG!! cant use bonemeal on some plants it gives error with spout 1.7.9 http://pastie.org/9194849 I cant replicate bug but player said it was kicking him from server every time the error happened
@xlr20ice Try using the version 2.1 (1.7.2 compatible), 2.1.1 is using bukkit 1.7.9 and there may be some conflicts.
@pepper82 I'll take a look at terrain control and see if there is an API available and maybe I can edit PPG to play nicely with it in the future.
Does it work with custom biomes created with Terrain Control (bukkit plugin) ?
Update: Does not seem to work with custom biomes. It seems to work with default biomes only
Hey, for some reason the plugin just stopped working. I updated to the latest version(I'm using 1.7.4 CraftBukkit, that may be the problem), and it's flat out not working. The config is okay in terms of yaml format, but the logs don't show anything except me disabling and enabling the plugin. Any help?
@Toxicterror1991
So the idea is, that with Growth Dark, you can allow a plant to grow underground but at a different rate.. so maybe something that grows in direct sun gets 100%, something that does not, can still grow but maybe at only 50%. Experimental feature, I should really update some documentation too.
i've just upgraded and i'm wondering what the "growthDark" option is?
@poncjusz Wierd. I'm going to make an update, and I'll look into it.
@pilvimaa Interesting. Maybe I'll try updating for 1.7.9, I haven't been doing anything with Minecraft lately so I've neglected the plugins a bit.
Getting console errors:
http://dev.bukkit.org/paste/h7ouprdmy6b029zi/
Spigot 1.7.9 build 1459 PwnPlantGrowth 2.1
I checked the version 1.6.4 (latest) and the version 1.7.2 (latest) - sugar cane does not grow. Setting the default. All the other plants to grow properly, but sugar cane does not grow at all.
Its seems working well on properly 1.6.4 version, but i have important question - how can i completely disable turning plant info dead bushes? I set:
CARROT: Growth: 0 Death: 0 Biome: [] FOREST: Growth: 100 PLAINS: Growth: 50 TAIGA: Growth: 50
But plants still turning to dead bushes and grass.
UV block is set to glowstone. But i have no one in my testing underdront farm. Its deep undergrount, without sun light. Only torches. World id enabled correctly. I have mcpc+ server for 1.6.4.
BTW: Plugin cause serious lags...
@poncjusz
Is "uv_enabled: false"? If this is true check what your UV block is set to and if there are any nearby.
Also check "min_natural_light: 10" set to 15 to test completely, if you're near a cave entrance underground you can still get some natural light.
Also check "enabled worlds" to check if the plugin is actually running for that world. I've also been informed that some "spout" and potentially "spigot" servers/settings are conflicting with this plugin.. I only build and test against bukkit servers so, with other ones there may be more tweaks needed.
I have default setting:
grow_in_dark: - RED_MUSHROOM - BROWN_MUSHROOM - NETHER_WARTS - COCOA
And set CROPS to:
CROPS: Growth: 0 Death: 0 Biome: [] FOREST: Growth: 50 JUNGLE: Growth: 50 PLAINS: Growth: 100
But wheat still can grow underground, in torch light. This is BUG?
@tremor77
That is terrible news! This is one of my favorite plugins.
I hope you won't completely abandon it.