Class WorldGuardHook

java.lang.Object
ch.njol.skript.hooks.Hook<P>
ch.njol.skript.hooks.regions.RegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
ch.njol.skript.hooks.regions.WorldGuardHook

public class WorldGuardHook extends RegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
  • 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 RegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
    • getName

      public String getName()
      Specified by:
      getName in class Hook<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
      Returns:
      The hooked plugin's exact name
    • canBuild_i

      public boolean canBuild_i(org.bukkit.entity.Player p, org.bukkit.Location l)
      Specified by:
      canBuild_i in class RegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
    • getRegionsAt_i

      public Collection<? extends Region> getRegionsAt_i(@Nullable org.bukkit.Location l)
      Specified by:
      getRegionsAt_i in class RegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
    • getRegion_i

      public @Nullable Region getRegion_i(org.bukkit.World world, String name)
      Specified by:
      getRegion_i in class RegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
    • hasMultipleOwners_i

      public boolean hasMultipleOwners_i()
      Specified by:
      hasMultipleOwners_i in class RegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>
    • getRegionClass

      protected Class<? extends Region> getRegionClass()
      Specified by:
      getRegionClass in class RegionsPlugin<com.sk89q.worldguard.bukkit.WorldGuardPlugin>