Light-Cleaner icon indicating copy to clipboard operation
Light-Cleaner copied to clipboard

Permission CLEAN_AREA_MAX_RANGE

Open zeronerve opened this issue 4 years ago • 1 comments

Hi, LightCleaner has been fantastic. Thanks! I'm running a plot-based server for minigame map builders. If I could specify a permission that would limit the range a builder could clean, that would be sweet. ...

Something like ...

public static final Permission CLEAN_AREA_MAX_RANGE = new Permission("lightcleaner.clean.area.max", PermissionDefault.OP, "Sets the maximum chunk range a player can clean.");

but I could specify a number in the permission like lightcleaner.clean.area.max.10

Or, I could use config settings for groups:

group: maker: lightcleaner.clean.area.max: 6 builder: lightcleaner.clean.area.max: 12

zeronerve avatar Apr 22 '20 15:04 zeronerve

Or better yet, if you could limit it to the current plot (PlotSquared)! He he.

zeronerve avatar Apr 22 '20 15:04 zeronerve