Solved Protecting a marked area

Discussion in 'Plugin Development' started by jimbo8, Nov 23, 2013.

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

    jimbo8

    Hi!

    I was wondering how i could protect a marked area?

    I know how to cancel the blockbreakevent and blockplaceevent and all that, i'm just wondering how i could mark an area with for example a golden axe, then type a command to save the coords inside a config or something.

    Anyone got a idea?

    Thanks!

    It's okay to use a API for this, i don't want to use a plugin though, as i want it in my own language.

    Nevermind, fixed it. Saving blocks in a arraylist and cancelling the event if the player is destroying blocks on certain coordinates :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  2. Offline

    Axanite

    Since this is solved, please mark it as solved so we know. :)
     
Thread Status:
Not open for further replies.

Share This Page