Class GriefPreventionHook

java.lang.Object
ch.njol.skript.hooks.Hook<P>
ch.njol.skript.hooks.regions.RegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
ch.njol.skript.hooks.regions.GriefPreventionHook

public class GriefPreventionHook extends RegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
  • 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<me.ryanhamshire.GriefPrevention.GriefPrevention>
    • getName

      public String getName()
      Specified by:
      getName in class Hook<me.ryanhamshire.GriefPrevention.GriefPrevention>
      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<me.ryanhamshire.GriefPrevention.GriefPrevention>
    • getRegionsAt_i

      public Collection<? extends Region> getRegionsAt_i(org.bukkit.Location l)
      Specified by:
      getRegionsAt_i in class RegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
    • getRegion_i

      public @Nullable Region getRegion_i(org.bukkit.World world, String name)
      Specified by:
      getRegion_i in class RegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
    • hasMultipleOwners_i

      public boolean hasMultipleOwners_i()
      Specified by:
      hasMultipleOwners_i in class RegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>
    • getRegionClass

      protected Class<? extends Region> getRegionClass()
      Specified by:
      getRegionClass in class RegionsPlugin<me.ryanhamshire.GriefPrevention.GriefPrevention>