[INACTIVE][MECH] Growbie 2.4 [561-928]

Discussion in 'Inactive/Unsupported Plugins' started by Afforess, Mar 5, 2011.

  1. Offline



    An extension of bonemeal - supports growing pumpkins, grass, leaves, flowers and mossy cobblestone!

    Original Author: @UnixSystem
    Other Contributors: @cyklo, @maczydeco
    Current Project Maintainer: @Afforess

    • Bonemeal can spread pumpkins
    • Bonemeal can spread yellow flowers
    • Bonemeal can spread red roses
    • Bonemeal can spread grass on dirt
    • Bonemeal can spread mossy cobblestone on cobblestone
    • Bonemeal can spread leaves onto adjacent dirt/grass
    • Bonemeal can grow leaves from logs
    Change Log:
    • Version 2.0
      • Updated to latest Bukkit Standards
      • Added Leaf growth
      • Bonemeal is not subtracted from the inventory if no growth occurs
      • Licensed Growbie CC SA 3.0 (was public domain)
    • Version 2.1
      • Added Cyklo's Better Tree Growth algorithm
    • Version 2.2
      • Improved Code Structuring
      • Plant Spreading
    • Version 2.3
      • Updated for CB builds 561+
    • Version 2.4
      • Removed Better Trees (obsolete)
      • Added Success Chance for spreading plants & blocks.
  2. Offline


    Hi Affores,

    I have 3 Questions for you. :)

    1. Can You make, that I can control, what for a item you want to use?

           usingitem: BONE_MEAL
               - PUNPKIN: 2
           usingitem: EGG
               - FIRE: CHICKEN
           usingitem: SNOW
               - WATER: ICE

    2. That I can control, in which direction the plant spread ? (for example: Cactus spread to the Top).

    3. I use your nice Growbie plugin, and ich have make that i can make a Mob_Spawner whit Obsidian.

    But, the Mob_Spawner spawns Pigs only.

    Can you make that i can control what for a mob Spawns, or that a random mob Spawns and on what for a Ground?


    - random_Spawner: It's a random spawner. (Spawns a random Monstertype/Animaltype)
    - random_all: all mobs can spawn on this Mob_Spawner.
    - random_x: Only mobs from the Category (Monster, Animal) spawn on this Mob_Spawner (x = Category).
    - only_x: Only mob Type (Pig, Spider, Cow ...) can spawn on this Mob_Spawner (x = Type).

    OnGround: Says on what for a Ground the Mob_spawner Spawn on this Configuration. By "ALL" The Spawner Spawns on all Grounds, BUT THEN YOU CAN MAKE ONLY ONE CATEGORY OF A MOB_SPAWNER !!!

    OnlyOnLightSpawns: Says what only on the Light Spawns (Categories/Types). BY "ALL" alle can Spawn on Light, or "Not" for nothing.

    OnlyOnDarkSpawns: Says what only on the Dark Spawns (Categories/Types). BY "ALL" alle can Spawn on Dark, or "Not" for nothing.

    Spawntimeinterval: Interval in Seconds.

    SpawnNumber: Says how many mobs per Spawn on this Mob_Spawner spawns.

    MaxSpawnNumber: Says how many mobs Max on this Mob_Spawner spawns.

              MobSpawnerSpawns: random_monster
              OnGround: stone, cobblestone
              OnlyOnLightSpawns: not
              OnlyOnDarkSpawns: Monster
              Spawntimeinterval: 30
              SpawnNumber: 2
              MaxSpawnNumber: 10
              MobSpawnerSpawns: random_animal
              OnGround: grass
              OnlyOnLightSpawns: animal
              OnlyOnDarkSpawns: not
              Spawntimeinterval: 30
              SpawnNumber: 3
              MaxSpawnNumber: 10
    #Animal 2
              MobSpawnerSpawns: random_animal
              OnGround: dirt
              OnlyOnLightSpawns: Animal
              OnlyOnDarkSpawns: not
              Spawntimeinterval: 30
              SpawnNumber: 3
    #Animal 3
              MobSpawnerSpawns: only_sheep
              OnGround: wool
              OnlyOnLightSpawns: Animal
              OnlyOnDarkSpawns: not
              Spawntimeinterval: 30
              SpawnNumber: 4
              MaxSpawnNumber: 15
    #3 Mobs
              MobSpawnerSpawns: only_Pig, only_Cow, only_Zombie
              OnGround: dirt
              OnlyOnLightSpawns: Animal
              OnlyOnDarkSpawns: Monster
              Spawntimeinterval: 30
              SpawnNumber: 1
              MaxSpawnNumber: 8
              MobSpawnerSpawns: only_Pigzombie
              OnlyOnLightSpawns: not
              OnlyOnDarkSpawns: Monster
              OnGround: Nether, Nethersand, Glowstone
              Spawntimeinterval: 60
              SpawnNumber: 2
              MaxSpawnNumber: 6
              RandomSpawner: true
              OnGround: Sand
              OnlyOnLightSpawns: Animal
              OnlyOnDarkSpawns: Monster
              Spawntimeinterval: 30
              SpawnNumber: 2
              MaxSpawnNumber: 12
    PUHH, that was log. :)
    I hope i have nothing forget. :)

    There are some ideas and I hope you and Other People likes it :)

    Greez: Cha0sPudd1ng

    PS: Sry for my bad English, but i hope you can it read. :)
  3. Offline


    Growbie updated to v2.2

    Please remember to delete your config, and allow growbie to recreate it.

    (Thanks to @cyklo for the coding help!)


    1 & 2 are definitely feasible - but #3 is out of the scope of this plugin. I'm afraid I don't have the free time to take on new projects ATM.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 11, 2016
  4. Offline


    #3 cannot be done cannot be done as the "all creatures at random" option because the underlying object has to be defined for one creature or another. The basic effect of defining which creature a spawner already on the ground spawns can be done with the existing SpawnMob plugin. http://forums.bukkit.org/threads/8824 - perhaps the method used there alter the spawned-creature type could be incorporated at some point.
  5. Offline


    I like this - with the monster killing machine I've made, I've got more bones than I know what to do with. Now they have PURPOSE! :D
  6. Offline


    Running 556:
    My Players love the plugin. But I am having a problem. The tree randomization is not working. There are no errors - using bone simply produces a standard tree every time. The config file is default, I have changed nothing. It says better_trees: true

    I tried on both 556 and 493
  7. Offline


    The tree randomizer only plants trees appropriate to your current biome. If you're not in "rainforest", "swampland", "forest", "tundra" or "taiga", it will just plant standard trees.
  8. Offline


    We've tried this. I cant even grow a birch tree in areas where I'm standing right beside another birch tree.
    I'm guessing the "hook" or whatever isn't actually working on my server, and right clicking with the bonemeal is being handled by the standard code instead of your plugin.. ? maybe?

    Let me know what information you would need for debugging. or if there are any log-specific things I could enable to help troubleshoot this. for the record I am also using plugins such as bigbrother, worldguard, defaultcommands, etc.
  9. Offline


    Can a slight change be made so that permissions is optional?
  10. Offline


    I didn't realize this plugin required permissions.
  11. Offline


    You know what.. My apologies.. :) Wrong Plugin. To many RL issues going on.
  12. Offline


    Could you make so bonemeal spreads mushrooms ? :/
  13. Offline


    It already can. Add mushrooms to the spread list at the top of the configuration. That's the point of having a configuration. <.<
  14. Offline


    Thanks >.>
  15. Offline


    Growbie updated to 2.3
    -Updated to use CB builds 561+. Will not work with older builds.
  16. Offline


    Could you please maintain a link to a version that still works with the current cb recommended build (aka 556)?

    I don't even know how I could download 561, never mind wanting to download it as I have many other plugins that are updated for 556.
    Shenlong likes this.
  17. Offline


    /agree. I don't want to update until there's a new recommended build at 561+ and more plugins support it. This update seems to be breaking a lot of the plugins I use.
  18. Offline


    /agree /agree
    At least have it compatible with 1 stable build.
  19. Offline


    Oh snap, does anyone have a link to the previous version? I really have to stop overwriting my current plugins with the ones craftbukkituptodate downloads!
  20. Offline


    ahhh, this is where 561 is:

    Yeah I just tried it, and most of my other plugins break horribly.... but Growbie works.
    I'll be using 556.

    I also didn't keep a backup of my old Growbie. ;/
  21. Offline


    I updated to v 2.3, but this version doesn't work with #556 :S
    Can anyone give me a link for v 2.2?

  22. Offline


    Please add me to the list of dummies who updated without backing up or reading properly. I'd love a link to the older version if anyone finds it.
  23. Offline


    Uploaded an old version here. Changed its internal version number to UNSUPPORTED in case any of you forget!

    Attached Files:

  24. Offline


    Thanks for taking the time to do this. However I would like to say that you should put it up on the main page, maybe have a 'stable' and a 'dev' version up at all times, with the versions they are to be used with clearly visible. Most people are going to be running a stable version of bukkit. I would even go so far as saying you should not update it on CraftBukkitUpToDate until it aligns with the stable version. There's a reason that CraftBukkit has a dev and a stable branch.

    I'm pretty sure you're one of the only people who keeps the plugin ahead of the curve like this. While I support your enthusiasm and looking ahead, it's nice to have something useable at the end of the day.

    I'm sure most would agree with me.

    You can put a disclaimer saying that you won't look at any bugs that haven't been confirmed in the latest release if you like ;)

    ps, love the plugin ;P one of the few I run and would not like to do without.
  25. Offline


    I'm not the current project maintainer, Afforess is. I just built an older version from the source code. As such, I have no control over what goes in the first post, much less what CBUTD does.

    Also, there's no such thing as a CraftBukkit dev and stable branch. It is all very, very "alpha" - there are only nightly continuous builds. The recommended builds are simply indicators that things have changed sufficiently that people running servers might want to consider updating.
  26. Offline


    Yes well I don't really care to argue, what you do is great and obviously up to the devs of the plugins to do what they wish. I'm just crying out to keep things in as workable order as possible. That means the recommended build. It's cool to be ahead of the game and have a somewhat newer version but until most of the other plugins get up to speed it isn't going to get as much play.

    Obviously you're more in contact with Afforess than I, considering my first post here was actually.. my first post. Eitherway maybe he'll see this. I wasn't calling _you_ out, just trying to help improve this plugin and overall experience. Of course it's all very alpha, and I appreciate and like that. I love messing with stuff, meshing it all together, making things work... keeping as up to date as I can.

    Though really, it wouldn't be much of a pain to keep up a link of this plugin that works with the recommended build would it, and maybe lag on updating CBUTD (though this is secondary)? That's all we want.

    Also the link you posted does not work with the recommended build, this was my servers output that worked well with Growbie yesterday:

    19:22:39 [INFO] Starting minecraft server version Beta 1.3
    19:22:39 [INFO] Loading properties
    19:22:39 [INFO] Starting Minecraft server on *:25568
    19:22:39 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    19:22:39 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any
    username they choose.
    19:22:39 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    19:22:39 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-g6c6c30a-b556jnks (MC: 1.3)
    19:22:39 [INFO] Preparing level "world"
    19:22:39 [INFO] Preparing start region
    19:22:40 [INFO] Nether v1.2.1 (unofficial) enabled
    19:22:40 [SEVERE] PLAYER_INTERACT loading Growbie v2.3 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_INTERACT
    at com.afforess.growbie.Growbie.onEnable(Growbie.java:28)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    I fully realize that it says "This server is running Craftbukkit version git-Bukkit-0.0.0-544", however that is most definately the link from http://wiki.bukkit.org/Setting_up_a_server : http://ci.bukkit.org/job/dev-CraftB...rtifact/target/craftbukkit-0.0.1-SNAPSHOT.jar

    Just here to help, not cause pain so please don't look at my post as malicious ;)
  27. Offline


    Didn't mean to be rude, sorry! Sometimes it's just quicker to state facts.

    CBUTD kind of "does its own thing". When it sees that a file has updated it just downloads it straight away. The upside is you always have the very latest plugins - the downside is, as you've seen, bleeding edge does not equal stability. You can always just not use CBUTD if you care about stability. Eventually Fill will do all this updating and compatibility checking - but by eventually, I mean probably not for some months.

    Not the version I uploaded. That says v2.3 - the one I uploaded will say "UNSUPPORTED (build e5c9345)"
  28. Offline


  29. Offline


    No worries cyklo I don't take offence, you're right, that's sort of what I was trying to say mixed in with the rest. It's cool.
    not everyone sees it that way and since i'm rather new to these parts i'm never sure how things are going to go off.

    Now for the meat:
    My bad! Awesome, I made sure the version I was running was the one you had linked and voila it all worked! I'm not sure how I could have goten it wrong but obviously I was mistaken ;) I had tried it three times before posting. I really don't know what happened. tyvm.

    Thanks again. I understand CBUTD does its own thing but you know how that acts and can you can compensate for it. I will continue to use CBUTD since I think it's awesome and makes things easy but the only reason I currently don't rsync from the update dir is because of your plugin is more recent than what I run (the only one). I'll look at it and manuallly copy the known stable mods to my plugin dir. If it wasn't for growbie updating ahead of the curve I could add an rsync from bukkit_update/ to ./ and update everything without worry. It would make my life simpler and many others i'm sure.

    Even if the second a new craftbukkit release went to recommended, you changed your CBUTD to update to that, it's fine with me. I can make rules around that and update accordingly... if most of the mods do it the same way. I think that's how most act as far as I can tell - they are up to date with the latest recommended, or behind. I'm just posting here because you're at the top of the list. I haven't been at this very long but from what i've seen You updated before most everyone else, which I think is great... but if it doesn't work with the rest of the plugins that causes problems for many actual users.

    Maybe craftbukkituptodate can have a 'latest recommended' and also a 'latest up to date/dev' version available. That would be cool. I'd be all over that.

    I actually design operating systems and do software devel for a living, so this stuff is interesting to me. I see problems like this all day long. I won't say what we/I do is any better than what's in place here, but it's nice to be able to try and make things better, even a little bit.

    No big deal if that's how you guys want to do it go ahead, i'm just commenting on reality of a live server ;)
  30. Offline



    Perhaps that post would be more useful in the CBUPTD thread, and not here. I don't have any control over that plugin, nor it's development.
  31. Offline


    Yes that's true for part of what i've said. But other parts are still relevant. Like I said, i'm cool with whatever, and plugin developers have carte blanche as far as i'm concerned. I just thought i'd echo what a bunch of people have complained about into one coherent post and form a dialogue. If you want to ignore it and push ahead that's cool i'll adapt.

Share This Page