bergerhealer/Light-Cleaner

Permission CLEAN_AREA_MAX_RANGE

Opened this issue · 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

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