Grouping stuff with PlotSquared Generators

Discussion in 'Spigot Plugin Development' started by PhilTheSkid, May 26, 2018.

  1. Hi.

    I have this diagram here, and I'm stuck on how to do something with it

    Ignoring the colours as they're used for something else, I'm trying to write a PlotSquared generator which creates a wall around each block of 9 plots when generated, and does something with 2;2 for each one. I'm not sure how to go around doing that, as the IDs change for each plot (they are accurate on the diagram)

    Quite new to anything to do with plot generating but I know to get the plot ID you can do this:
    Code (Java):
    this.getPlotManager().getPlotId(world, x, y, z);

    Sorry for being a bit bland but I'm quite new to working with these libraries.

    If you have any questions please do ask below. Thanks!