Protection Range Info
Description
A ProtectionRangeInfo is the information of the protection range.
What can it do?
get flag state/value
get admins
get members
get the owner
Get it by location
Location location = ...;
IProtectionModule module = ProtectorAPI.findModule(location);
if (module == null) {
return;
}
ProtectionRangeInfo range = module.getProtectionRangeInfo(location);
Last updated