Block Misplace Events

Discussion in 'Plugin Development' started by MrlolDestructo, Jul 9, 2013.

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

    MrlolDestructo

    Hi,

    I am just wondering what are all the events in which blocks can be broken, placed, moved, etc. I need this to log every block broken, in an arena, which I know how to add. So basically, all I need is a list of all the events. Thanks :)

    ~ MrlolDestructo

    Edit: SOLVED
     
  2. Offline

    pkt

    Tons of them, look in the javadocs, http://jd.bukkit.org/dev/apidocs/
    BlockBreakEvent, BlockPlaceEvent, not sure what you mean by "moved" besides worldedits //move , you would have to hook into it..
     
  3. Offline

    MrlolDestructo

    I mean like if it gets blown up by TNT, picked up by enderman, placed by enderman, etc. I need this to restore the arena, instead of loading a huge schematic in and lagging the entire server. Sorry that I needed to clarify, sometimes I forget to explain myself.
     
  4. Offline

    pkt

    Like I said, look in the javadocs, there are events for all that stuff :)
     
  5. Offline

    MrlolDestructo

    Okay, I think I got all the events I needed. Thanks :)
     
Thread Status:
Not open for further replies.

Share This Page