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/
@tugrisu64
Can you post any error messages and your config?
Hello, in 1.10. not correct work. Redwood no grow.
@u7uu7u7 It's an inverse relationship, think of the plant as having a 67% chance of not growing - and a 5% chance of dying when it doesn't grow, so the lower your growth rate the greater chance it will have of dying.
if growth percent is 33% and death percent is also 5%, then the overall chance a plant has of dying is 1.65% ?
POTATO:
Growth: 33
Death: 5
@tremor77
I would like to see an option (for each plant) which makes that bonemeal ignores the configured growth speed in the config.
This is how it works at the moment:
CROPS:
Growth: 0
Death: 0
Biome: []
-> Bonemeal doesn't help to grow the crops
This could be a new feature
CROPS:
Growth: 0
Death: 0
Bonemeal: true
Biome: []
-> Bonemeal can be used to grow the crops
@meytroCURSE
What would you like to see the bonemeal do exactly? On crops that are set to grow in a biome or condition bonemeal will work based on the rate set for that crop. I don't believe bonemeal will work on a crop in a bad biome though.
Would you want using bonemeal to bypass all settings and make a plant grow anywhere?
@tremor77 Is it somehow possible to let players use bonemeal on plants/corps?
@SquareChap
Thanks! I'll see if I can get an update done at some point, have to look at chorus plants they seem special in how that works.. and i'll look into your other question there.
edit - I got the fertilizer adjustment in there for 1.9.
also note: I've removed the water bucket source prevention from this plugin - check out my other plugin PwnBuckets for a more robust solution to stopping infinite source if you liked that feature.
FYI - If you are running spigot/bukkit 1.9+ you can slow the growth of Beetroots by adding BEETROOT_BLOCK: followed by the appropriate growth / death / biome conditions to the config.
@tremor77
Your plugin is working great in spigot 1.9.2 with the exception of the new plants (Beetroot & Chorus Plants/Flowers).
Also, I was wondering if it would be possible to make the growth rates when fertilized configurable so that it is not 100%? I would like to keep normal rates very low and give a boost for fertilizing, but not all the way to default.
Thank you for your time :)
@Stillstanden
I'm not up to speed on the 1.9 features, are there new plants? Does the plugin still work otherwise on 1.9 with the exception of supporting any new plants?
Thanks..
This is the best plug in out there! Are we getting an update to 1.9? Please! x
@The_Iron_Tyrant
I've been told this works using "Cauldron". I haven't used it myself but according to http://cauldron.minecraftforge.net/ - they removed their downloads due to the DMCA takedown of bukkit. Although I've seen some Cauldron servers out there with bukkit/forge combos.. I've thought about getting into forge mods or "sponge" but don't really have the time these days to learn new APIs
Is there anyway the death chance for plants can be done in a forge mod? I can't figure out how to get this plugin to work alongside forge, and I can't find a way to get forge and bukkit to work together.
I have an idea for this plugin. Can you make it so like if a plant dies on a block then if you have another plant grow on the same block that the plant died on the dead plant will act as fertilizer?
I finally got around to making an update that should address the bonemeal on grass issue.
@tremor77
If I had any idea how to do that stuff I would be happy to try to fix it. Do you have any idea of what you think could cause the problem?
The only thing I use in your plugin is the grow-rate, is it possible that this issue is caused by any of the other features like "chance of death", "fertilizer" etc. If so is it possible to simply deactivate them from the code and make a light version, until the issue is fixed? Again I have no idea if this is hard to do or not, so sorry if it sounds stupid.
I really love your plugin, things grow way to fast in vanilla minecraft. Problem is that the world looks "flat", since people cant use bonemeal on grass.
@erik1988
Sorry I haven't been very active with minecraft lately.. this plugin is open source and on github I more than welcome pull requests or patches, I just haven't personally had the time to look into this yet.
Any update on the "no bonemeal on grass" fix?
Same problem here. In case you didn't notice I opened up a ticket about this some time ago (In january. I hear people don't get notifications for tickets) - more information there.