Removing Blocks After Certain Period Of Time?

Discussion in 'Plugin Development' started by Connal, Aug 28, 2013.

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

    Connal

    Hi, i was wondering how to remove all blocks placed by a certain user or in a certain area in a period of time, for example, someone builds something and in the space of 60 seconds it is removed. How do i do this?
     
  2. Offline

    Eats_Rainbows

    Listen to BlockPlaceEvent (I believe) then add those blocks to a List. After those 60 seconds get all the blocks from the list and remove them.
     
  3. Offline

    Connal

    But you see, i'm making a plugin like Build It (Draw My Thing in Minecraft) And well, you can see that i don't want to add every single block to the list :(
     
  4. Connal
    That is the easiest or only way...
     
  5. Offline

    MineoxFX

    Define a cuboid with 2 positions and after a certain time clear it or just vheck the code of BuildMyThing.
     
Thread Status:
Not open for further replies.

Share This Page