Plugin help, please.

Discussion in 'Plugin Development' started by Kegan187, Jan 30, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    I am new to developing plugins, and I was wondering if there is a hook for.... Well I don't know. What I want to make is a plugin that you can type /cactus 20 and then all the cacti in a 20 block radius of you gets uprooted, or what ever, and turned into mini-blocks. Is there a hook for that yet / has there ever been? Thanks

  2. Offline


    I think you just have to check all blocks in a 20x20x4 box around the player and check if that block is a cactus.
    If so, destroy it and spawn a cactus. Dunno if there is a hook to uproot a plant.
  3. Offline


    K, and I am sorry if I sound like an idiot. I am completely new to developing plugins.
    --- merged: Jan 30, 2011 12:48 PM ---
    Wait, what hooks would I have to use for that then? Or is there like a webpage for all the hooks in bukkit?
    --- merged: Jan 30, 2011 1:19 PM ---
    Also, do I load up Craftbukkit.jar or both that and Minecraft-server.jar into my external jars?
  4. Offline

    Joshua Burt

  5. Offline


    okay ty Joshua
Thread Status:
Not open for further replies.

Share This Page