Skip to content

Setting all signs

NotMyFault edited this page Jul 7, 2019 · 8 revisions

This guide is for PlotSquared versions <= 1.12.2

Download: https://gist.github.com/boy0001/9f38fc648d9a8101c9beb9d2148d669c

/*
This script will fix all signs in the world.
*/
var plots = PS.sortPlotsByTemp(PS.getPlots());
for (var i = 0; i < plots.size(); i++) {
    var plot = plots.get(i);
    if (plot.isBasePlot()) {
        plot.setSign();
        PS.class.static.log('&cSetting sign for: ' + plot);
    }
    java.lang.Thread.sleep(10);
}
Clone this wiki locally
You can’t perform that action at this time.