PlantFailure
What it does
PlantFailure gives plants a chance to not grow depending on the biome.
The idea is for this to make farming more challenging and more interesting.
Plugin Effects
- Carrots
- Melons stems and blocks
- Potatoes
- Pumpkins stems and blocks
- Wheat
Installation
Just drop into plugins folder.
Optional - Customize config file.
Customization options
Fail Rates are a natural number between 1-100
- Two modes
1 = Break Mode calculates if it drops on break
2 = Growth Mode calculates if it grows on growth.
- Dessication
Gives plants a chance to turn into a dead bush if they fail
0 = Disabled
1 = Enabled
Source Code
As of the version 1.7 its included in the jar.
-
View User Profile
-
Send Message
Posted Oct 3, 2012@Xaanos
I managed to get around the blank config by stealing one from version 1.6b it appears to not be in the 1.7 package.
-
View User Profile
-
Send Message
Posted Oct 3, 2012@Kailvin
Ya I am trying to push Java7 so I don't compile in support for Java6.
On the config thing delete the PlantFailure folder and try again.
-
View User Profile
-
Send Message
Posted Oct 3, 2012@Kailvin
@Xaanos
I moved it from my local JRE7 to the main server which is think is running JRE6. loaded without the error but generated a blank config.
-
View User Profile
-
Send Message
Posted Oct 3, 2012@Xaanos
JRE 7. 64 bit.
-
View User Profile
-
Send Message
Posted Oct 3, 2012@Kailvin
I do not get this error with the same version you are using 1.7 correct. Also what version of Java are you running?
-
View User Profile
-
Send Message
Posted Oct 3, 2012I am getting this error on the latest version of bukkit (Sept 28th release)
2012-10-03 05:22:39 [SEVERE] Could not load 'plugins\PlantFailure.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/github/xaanos/PlantFailure/PlantFailure : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:154) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:223) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:199) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.UnsupportedClassVersionError: com/github/xaanos/PlantFailure/PlantFailure : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:143) ... 9 more
-
View User Profile
-
Send Message
Posted Sep 30, 2012@poonjab1_0
http://forums.spout.org/threads/craftbukkit.938/ http://forums.spout.org/threads/1-3-1-spigot-v2-the-most-performance-savvy-craftbukkit-mod-out-there.3776/
Both of them have this feature that's why I have not allowed modified growth times.
-
View User Profile
-
Send Message
Posted Sep 28, 2012Will this be updated anytime soon? and possibly can plant growth times be added?
-
View User Profile
-
Send Message
Posted Jul 27, 2012@Synaps4
In reality its little to nothing that was lost I was planning on redoing the way dynamic events were handled in the code anyway so in reality we lost nothing at all.
-
View User Profile
-
Send Message
Posted Jul 27, 2012Hello everyone,
Xaanos has nicely allowed me to continue the work on this plugin. I'm still finishing up a smaller one, so I won't be adding features right away, but if you have bugfixes you'd like to have made, you can send those to me and I will try to resolve them quickly.
The version of the code I have is not the latest, so there will be some kind of rollback probably, I'm not sure what will be different but this is what Xaanos could find so we will run with it.
Nice to meet you all, and I'm excited to get started. Big plans for this plugin :D
-
View User Profile
-
Send Message
Posted Jul 20, 2012I'd like to expand onto this functionality.
Since your project is not being worked on, could you tell me which you prefer? 1) I copy your current code (with full attribution to you) into a new project which expands on the idea. 2) You could add me here and I could add onto it.
I'd like to expand the number of faming methods affected by biomes, reduce the number of seeds available in most cases, and add pests that may destroy unwatched farms.
I'd like farms outside of the right biome (and even sometimes in the right biome) to sometimes require the user to go out and forage for more food, especially if they didn't stock up during good times.
Also I have a few modifications to food and healing, I'd like to make most raw foods be last resort eating, rather than just less efficient. Probably by expanding on food poisoning.
Lastly I like your idea of random farming events. I would love to work on those, especially to tie farming in with rain, thunder, and moon phases.
What do you think?
-
View User Profile
-
Send Message
Posted Jun 14, 2012@Minemansam123
That is a cool Idea but as i said above I have stopped development with the soon arrival of an official API and I have been playing with C# rather then Java a lot recently.
If someone wants to pick up where I left off be my guest take full credit.
-
View User Profile
-
Send Message
Posted Jun 13, 2012I would LOVE to see if you had a farm and there was water next to it , it boost the chances of not failing also if you had a underground farm and had water next to it and had water above it so like water dripps from the other block it EXTRA mosturises it.
-
View User Profile
-
Send Message
Posted May 15, 2012dynamicevents: 1
what does it mean or change? Can't find it anywhere.
edit: ideas
- like the idea "fail to drop items", but would like to see plants also "fail to grow" - add sugar cane, cactus, and trees if possible, i.e. you would need more that 1 bone meal to grow a tree that usually occurs in another biome. - could rain boost growth?
This is an interesting plugin and mine-city.de will defenitively use it, since the server tries to be a very realistic survival one. Keep on going, nice job!
-
View User Profile
-
Send Message
Posted May 13, 2012Tie into seasons. add rain washouts, droughts and growth seasons
-
View User Profile
-
Send Message
Posted May 5, 2012A Fail to grow is best than fail to drop items. Awaiting for more updates to download this plugin
-
View User Profile
-
Send Message
Posted Apr 13, 2012Ok been a long time sense i posted an update I have a beta ready It is not tested but dynamic events for Deserts should be working.
-
View User Profile
-
Send Message
Posted Mar 27, 2012I am redoing how my code loads from the config file currently to allow more biomes to be added by just adding it into the config file.
There are two mode settings
1: Plants fail on break fastest and least lag intensive. 2: Plants have a chance to fail to grow.
Adding in dynamic events is taking much longer then I planned as to time everything right I am adding in threads and for an novice java programmer it is a bit hard.
I should have a beta pushed out by the end of the week.
-
View User Profile
-
Send Message
Posted Mar 27, 2012How about add cactus and sugar canes(338)?
Thanks...
-
View User Profile
-
Send Message
Posted Mar 27, 2012what is mode in config.yml?
config: Mode: 1