[INACTIVE][MECH] Growbie 1.0 - Grow Flowers with Bone Meal [144]

Discussion in 'Inactive/Unsupported Plugins' started by UnixSystem, Jan 25, 2011.

  1. Offline

    UnixSystem

    Growbie - Grow Flowers and Pumpkins with Bone Meal
    Version: v1.0 - for Bukkit 144

    Growbie is a very simple plugin for Bukkit that causes bone meal to be usable on flowers and pumpkins, resulting in the creation of additional flowers and pumpkins. There is no configuration needed, as it simply extends the power of bone meal.

    Flowers and pumpkins will be grown in the following configuration:

    If you use bone meal on the X
    - - -
    - x -
    - - -

    You will grow additional flowers or pumpkins in the shape of:
    - x -
    x x x
    - x -

    Features:
    • Extends the power of bone meal to work on flowers and pumpkins
    • Very simple to use, zero configuration
    • Safe! Flowers and pumpkins can not be grown in such a way as to destroy surrounding blocks
    Download Growbie
    Source


    Changelog:
    Version 1.0
    • Initial release.
     
    muCkk likes this.
  2. Offline

    MarkusNemesis

    Great concept, have a free bump!
     
  3. Offline

    bennyty

    Did you check to see if the "growing spots" are occupied? This could potentially be used to break... Idk..... protected zones?
     
  4. Offline

    UnixSystem

    Sure did!

    I don't know how protected zones work, but my plugin will only place a new flower or pumpkin in an "Air" block, meaning it can't be occupied. The other criteria is that the block underneath it must be either dirt, or grass. I had the recent seed exploit in mind when I made this.

    Are you asking because you've tested this, and found a dangerous bug, or were you just curious?
     
  5. Offline

    ACTruncale

    Works well. IMO this should have just been a normal game function.
     
  6. Offline

    UnixSystem

    Thanks for the feedback.

    I agree. I figured that this would be a temporary plugin, because Mojang will probably add this kind of functionality to bone meal soon enough.
     
  7. Offline

    Sol

    Thanks for making this... my first suggestion, and it got made. That's beyond awesome. :D

    Just wondering if mushrooms can be included now as well please? Fantastic work... simple and works well!

    ~Sol
     
  8. Offline

    Gimmic

    Nice plugin!
     
  9. Offline

    ACTruncale

    Maybe include mushroom and pumpkin growth as well.
     
  10. Offline

    Lloren

    Same here, i want it as well, but i want to have configurable growth possibilities.

    configs:
    AlwaysGrow:1-4 (# will always grow)
    ChanceGroth:100-0 (% the next one will grow, diminishing returns.)
    PlantsToGrow:RED_ROSE, YELLOW_FLOWER...
     
    dak393 likes this.
  11. Offline

    Afforess

    I'd love this mod more if the growth was a bit more spread out and randomized.
     
  12. Offline

    UnixSystem

    Thanks for the feedback and suggestions. I'm firing up Eclipse tonight to see what I can do.

    Easy enough. This will be in the next release, tonight or tomorrow.

    I would like to have a way to configure what can be grown (for example, maybe you want pumpkins to be rare on your server), but I also want the plugin to be as simple as possible. I'll think about adding some kind of optional configuration, but I can't guarantee that it'll be in the next release.

    I agree. I don't plan on increasing the number of flowers, but spreading them out randomly within a certain radius could make it feel more natural. I'll try to get this added soon.
     
  13. Offline

    jugglerrob

    It would be nice if you use bone meal on a pumpkin, then it creates a pumpkin patch that looks natural. Other than that it looks good.
     
  14. Love this idea can't wait for the update
     
  15. Offline

    Gimmic

    Yup, watching this thread for a little more customisable release.
    Thanks!
     
  16. Offline

    rbos

    A more wget-friendly link to the jar file would be nice.
     
  17. Offline

    Bacu

    how about the ability to grow cactus and sugar cane to full height?
     
  18. Offline

    Sol

    Appears to no longer work with most recent CraftBukkit build 186.

    It throws up an error saying something along the lines of:

    cannot pass event to growbie BLOCK_RIGHTCLICKED, no such method error

    Something like that.

    If needed I can give more detailed results.

    ~Sol
     
  19. Offline

    Lunar Delta

    This is great, but I would prefer it if I could specify whether or not I would like to it to grow pumpkins or not. Personally, I do not want my players growing pumpkins.
     
  20. Offline

    Sansai86

    dosent work with CB #202
    Error:
    Code (Text):
    1. SEVERE: Could not pass event BLOCK_RIGHTCLICKED to Growbie
    2. java.lang.NoSuchMethodError: org.bukkit.inventory.ItemStack.getDamage()B
    3.         at com.bukkit.unixsystem.Growbie.GrowbieBlockListener.onBlockRightClick(
    4. GrowbieBlockListener.java:29)
    5.         at org.bukkit.plugin.java.JavaPluginLoader$16.execute(JavaPluginLoader.j
    6. ava:200)
    7.         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    8. a:60)
    9.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    10. ava:213)
    11.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:470)
    12.         at net.minecraft.server.Packet15Place.a(SourceFile:57)
    13.         at net.minecraft.server.NetworkManager.a(SourceFile:232)
    14.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
    15.         at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    16.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:278)
    17.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:204)
    18.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    19. 02-02-2011 22:23:41 org.bukkit.plugin.SimplePluginManager callEvent
     
  21. Offline

    maczydeco

    I forked this and added a configuration file for setting up things and made it work with craftbukkit 186+, I sent UnixSystem a pull request on GitHub but my changes haven't been pulled yet, and since 1.0 doesn't work with newer bukkit builds, I thought I'd put mine here:
    Growbie-zydeco-1.2.jar
    Source

    It will create a configuration file in plugins/Growbie/config.yml, you can reload it with /reload
    Other than growing flowers, pumpkins and mushrooms, it also grows grass on dirt and moss on cobblestone, but this behaviour can be changed through the config file.
     
  22. Offline

    QQCucumber

    Works great, thanks.
    --- merged: Feb 6, 2011 6:03 AM ---
    I've discovered something very wrong with this mod. Any dye will do what Growbie is supposed to do since it's all item code 351. You can grow flowers, pumpkins, turn cobblestone into mossy, etc, with red dye.

    This essentially allows anyone to get infinite yellow/red dye.
     
  23. Offline

    Verrier


    I fixed the issue with Growbie working for any INK_SACK (351) item, here is a link to the compiled jar (this link may not work forever): http://dl.dropbox.com/u/465123/Growbie.jar

    Source Code: https://github.com/verrier/Growbie

    I also put in a pull request to maczydeco above who made the last change, so hopefully we can get this bug fixed once and for all.
     
  24. ya sounds great have been looking at this plugin for far to long
     
  25. Offline

    scor

    Thanks for keeping this plugin up and running, guys!

    Using Verrier's latest tweak and I'm glad that the bug got fixed.

    scor
     
  26. Code (Text):
    1. SEVERE: Could not pass        event BLOCK_RIGHTCLICKED to Growbie[/FONT][/SIZE]
    2.        java.lang.NoSuchMethodError:        org.bukkit.inventory.ItemStack.getDamage()B
    3.         at        com.bukkit.unixsystem.Growbie.GrowbieBlockListener.onBlockRightClick(GrowbieBlockListener.java:29)
    4.         at        org.bukkit.plugin.java.JavaPluginLoader$19.execute(JavaPluginLoader.java:216)
    5.         at        org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
    6.         at        org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:214)
    7.         at        net.minecraft.server.NetServerHandler.a(NetServerHandler.java:496)
    8.         at        net.minecraft.server.Packet15Place.a(SourceFile:57)
    9.         at        net.minecraft.server.NetworkManager.a(SourceFile:232)
    10.         at        net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    11.         at        net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    12.         at        net.minecraft.server.MinecraftServer.h(MinecraftServer.java:317)
    13.         at        net.minecraft.server.MinecraftServer.run(MinecraftServer.java:232)
    14.         at        net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    15.  
     
  27. Offline

    QQCucumber

    Use the unofficial build Verrier posted.
     
  28. Works fine now.
     
  29. Offline

    QQCucumber

  30. Offline

    Khyron

    Has anyone tried this on a post-1.3 build yet?
     

Share This Page