Tested with LuckPerms, result successful.
This commit is contained in:
NotMyFault 2019-08-12 23:59:14 +02:00
parent ad7bcd19d4
commit f1c190028e
3 changed files with 4 additions and 55 deletions

View File

@ -1,6 +1,6 @@
/*
This will increase a player's allowed plots by the provided value
/plot debugexec runasync addperm <player> <amount>
/plot debugexec runasync addplots.js <player> <amount>
*/
var uuid = UUIDHandler.getUUID('%s0', null);
if (uuid === null) {

View File

@ -1,32 +1,6 @@
/*
Need to script something quick with PlotSquared?
/plot debugexec runasync automerge.js <removeroads>
This is an example script that will auto merge all plots
The following utility classes are usable:
- PlotSquared
- TaskManager
- TitleManager
- ConsolePlayer
- SchematicHandler
- ChunkManager
- BlockManager
- SetupUtils
- EventUtil
- UUIDHandler
- DBFunc
- HybridUtils
- IMP ( BukkitMain or SpongeMain)
- MainCommand
- MainUtil
- Settings
- StringMan
- MathMan
- C ( use C_ )
- Permissions ( use Permissions_ )
For more information see: https://github.com/IntellectualSites/PlotSquared/wiki/Scripting
/plot debugexec runasync automerge.js <removeroads>
*/
var plots = PS.sortPlotsByTemp(PS.getPlots());
PS.class.static.log("Attempting to auto merge " + plots.size() + " plots");

View File

@ -1,31 +1,6 @@
/*
Need to script something quick with PlotSquared?
/plot debugexec runasync fixborder.js <id>
The following utility classes are usable:
- PS
- TaskManager
- TitleManager
- ConsolePlayer
- SchematicHandler
- ChunkManager
- BlockManager
- SetupUtils
- EventUtil
- UUIDHandler
- DBFunc
- HybridUtils
- IMP ( BukkitMain or SpongeMain)
- MainCommand
- MainUtil
- Settings
- StringMan
- MathMan
- C ( use C_ )
- Permissions ( use Permissions_ )
For more information see: https://github.com/IntellectualSites/PlotSquared/wiki/Scripting
Fixes border around plots
/plot debugexec runasync fixborder.js <Plot ID>
*/
var plots = PS.sortPlotsByTemp(PS.getPlots());
PS.class.static.log("Attempting to fix border for " + plots.size() + " plots");