Class PlotSquaredRestriction


  • public final class PlotSquaredRestriction
    extends Restriction
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean check​(org.bukkit.entity.Player player, org.bukkit.Location bukkitLoc, ActionType actionType)
      Checks whether player has sufficient permission to perform action at loc.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlotSquaredRestriction

        public PlotSquaredRestriction​(DebugLogger debugLogger)
    • Method Detail

      • check

        public boolean check​(org.bukkit.entity.Player player,
                             org.bukkit.Location bukkitLoc,
                             ActionType actionType)
        Description copied from class: Restriction
        Checks whether player has sufficient permission to perform action at loc.
        Specified by:
        check in class Restriction
        Parameters:
        player - the player
        bukkitLoc - the location to check
        actionType - the type of action
        Returns:
        true if the player has permission, false if not