PwnPlantGrowth
Slow down or even disable the farming and growth of nearly every plant item in the game! 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 give that growth event a chance to succeed or fail. Looking to block farming NetherWart entirely? Want to make some things like Melon farms less overpowered? 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)
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, as this project is in Beta and our config.yml is changing often.
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 []
To-Do List / Bugs
Because Bukkit doesn't currently return a proper event for Cocoa growth, this plugin does not yet block Cocoa - but it will as soon as that bug in Bukkit is fixed.- PPG does not yet handle bonemeal events. For Wheat, Carrot, Potato, Melon and Pumpkin using bonemeal will override our growth settings. For trees bonemeal seems to be handled by the native event so our growth settings will apply. This means players will just waste bonemeal trying to make a disabled tree grow).
- Potentially add configurable options to speed up plant growth (for items that grow in stages, setting a percentage over 100 would give it a chance to grow another stage).
- PPG does not yet handle mushroom spread.
- PPG is not mutliworld configurable but it plans to be.
Add configurable chance for the plant to die instead of just not growing.Add a debug mode (it's mostly there in my code now) so that curious server admins can get a log of how much stuff is getting blocked so they can tailor their settings.