WorldEdit API

Discussion in 'Plugin Development' started by Donut99, Mar 26, 2015.

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

    Donut99

    Hey guys,

    simple question about the WorldEdit API. You know you can use WorldEdit via //cut, //replace and so on. I want to check if the cut/ replaced area consists of signs with particular text and if so, I want to broadcast a message like "Your selection consists of %count% signs with particular text!".

    Is it possible to do this anyways?

    Every little bit of help is appreciated!
    Thank you.
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    Donut99

    Pretty cool, didn't know this command before, but doesn't help me. :D
     
  4. Offline

    timtower Administrator Administrator Moderator

    @Donut99 Then you need to loop through each block in the selection.
     
  5. Offline

    Donut99

    Yeah, that was my idea too, but don't know how to get the selection. Is there something like an event?
     
  6. Offline

    timtower Administrator Administrator Moderator

    @Donut99 There are ways to get the selection without using events, don't know the specifics though.
     
Thread Status:
Not open for further replies.

Share This Page