Class RegionsPlugin<P extends org.bukkit.plugin.Plugin>

java.lang.Object
ch.njol.skript.hooks.Hook<P>
ch.njol.skript.hooks.regions.RegionsPlugin<P>
Direct Known Subclasses:
GriefPreventionHook, PreciousStonesHook, ResidenceHook, WorldGuardHook

public abstract class RegionsPlugin<P extends org.bukkit.plugin.Plugin> extends Hook<P>
  • Field Details

  • Constructor Details

  • Method Details

    • init

      protected boolean init()
      Description copied from class: Hook
      Called when the plugin has been successfully hooked
      Overrides:
      init in class Hook<P extends org.bukkit.plugin.Plugin>
    • canBuild_i

      public abstract boolean canBuild_i(org.bukkit.entity.Player p, org.bukkit.Location l)
    • canBuild

      public static boolean canBuild(org.bukkit.entity.Player p, org.bukkit.Location l)
    • getRegionsAt_i

      public abstract Collection<? extends Region> getRegionsAt_i(org.bukkit.Location l)
    • getRegionsAt

      public static Set<? extends Region> getRegionsAt(org.bukkit.Location l)
    • getRegion_i

      public abstract @Nullable Region getRegion_i(org.bukkit.World world, String name)
    • getRegion

      public static @Nullable Region getRegion(org.bukkit.World world, String name)
    • hasMultipleOwners_i

      public abstract boolean hasMultipleOwners_i()
    • hasMultipleOwners

      public static boolean hasMultipleOwners()
    • getRegionClass

      protected abstract Class<? extends Region> getRegionClass()
    • getPlugin

      public static @Nullable RegionsPlugin<?> getPlugin(String name)