How to add selection tool support in a plugin?

Discussion in 'Plugin Development' started by Paradox, Apr 16, 2012.

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

    Paradox

    I'm looking to make my plugin function in only specific area's of the map. I know there are world editing programs out there that have a selection tool to let you specify areas of the map, and I was wondering how I could go about making my plugin support / use the information given by those functions.

    I would think I would just make a "new WhateverTheirListenerIsCalled" and then use it's methods to get the x1, y1, z1, x2, y2, z2 coordinates right? If so, how would I go about getting the names of those listeners. If not, what else could I do?

    P.S. - What's up with all these 502 bad gateways?
     
  2. Offline

    slater96

    Well you could add worldguard support by importing the plugin, but to how you implement it i'm not too sure, sorry.

    I keep getting them errors too, but it seems to be fine atm.
     
  3. Offline

    Paradox

    Yea, I guess it might just be easier to make my own command and just do it that way. If there is an easier / standard way to go about this I would appreciate some insight though. :)
     
  4. Offline

    slater96

Thread Status:
Not open for further replies.

Share This Page