Solved Diamond Found plugin? (1.0.0)

Discussion in 'Plugin Development' started by TheZyga, Nov 6, 2016.

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

    TheZyga

    The Minecraft Forums has failed me!
    This is my last hope!

    I have been making plugins for Release 1.0.0
    But today I have been having a huge brain fart making this plugin.
    Everytime someone break a Diamond Ore block is broadcasts "'player' found a diamond!"
    So like onBlockBreak Diamond_Ore broadcast player found a diamond or something like.


    I am really hoping someone can help me!

    I would just like to note that I am fully aware that Release 1.0.0 is extremely old and you probably think I should just go to the newer versions and just use the plugins already made for things like this!!!
     
  2. Offline

    Aubameyang1

    Editted
     
    Last edited: Nov 6, 2016
  3. Offline

    Zombie_Striker

    Yeah, it normally does for most Bukkit things. If you need bukkit help, use the bukkit forums.

    Yeah, that's exactly what I was thinking. So why do you think this is a good idea? I can't think of any good reason (unless you are a modder/ hacked client, in which case this thread will be locked)

    I'm not even sure bukkit is that old, but if you have an old bukkit server you will need to use the BlockBreakEvent and check for diamond ore.

    @Aubameyang1
    Please delete your post. We do not want anyone spoonfeeding on this forum.
     
  4. Offline

    TheZyga

    The only reason I want to make this is because I like to play release 1.0 and so do some friends of mine and I just thought it would be nice to have it on the server you know
     
  5. Offline

    Zombie_Striker

    @TheZyga
    Okay. Again, use the BlockBreakEvent to detect when a block is broken and then check if the broken block is a diamond.

    If your problem has been solved, mark this thread as solved.
     
Thread Status:
Not open for further replies.

Share This Page