Class Protection

java.lang.Object
dev.kitteh.factions.protection.Protection

@AvailableSince("4.0.0") @NullMarked public final class Protection extends Object
  • Constructor Details

    • Protection

      public Protection()
  • Method Details

    • useActionFromBlockType

      public static @Nullable PermissibleAction useActionFromBlockType(org.bukkit.Material material)
    • denyBuildOrDestroyBlock

      public static boolean denyBuildOrDestroyBlock(org.bukkit.entity.Player player, org.bukkit.block.Block block, PermissibleAction permissibleAction, boolean notify)
    • denyBuildOrDestroyBlock

      public static boolean denyBuildOrDestroyBlock(org.bukkit.entity.Player player, org.bukkit.Location location, PermissibleAction permissibleAction, boolean notify)
    • denyExplode

      public static boolean denyExplode(@Nullable org.bukkit.entity.Entity boomer, FLocation location)
    • denyInteract

      public static boolean denyInteract(org.bukkit.entity.Player player, org.bukkit.Location location)
    • denyUseBlock

      public static boolean denyUseBlock(org.bukkit.entity.Player player, org.bukkit.Material material, org.bukkit.Location location, boolean notify)
    • denyUseItem

      public static boolean denyUseItem(org.bukkit.entity.Player player, org.bukkit.Location location, org.bukkit.Material material, boolean checkDenyList, boolean notify)
    • denyDamage

      public static boolean denyDamage(org.bukkit.entity.Entity damager, org.bukkit.entity.Entity damagee, boolean notify)