Class WorldGuardHandler

java.lang.Object
us.talabrek.ultimateskyblock.handler.WorldGuardHandler

public class WorldGuardHandler extends Object
  • Constructor Details

    • WorldGuardHandler

      public WorldGuardHandler()
  • Method Details

    • getWorldGuard

      public static com.sk89q.worldguard.internal.platform.WorldGuardPlatform getWorldGuard()
    • protectIsland

      public static boolean protectIsland(org.bukkit.command.CommandSender sender, PlayerInfo pi)
    • protectIsland

      public static boolean protectIsland(uSkyBlock plugin, org.bukkit.command.CommandSender sender, IslandInfo islandConfig)
    • updateRegion

      public static void updateRegion(IslandInfo islandInfo)
    • islandLock

      public static void islandLock(org.bukkit.command.CommandSender sender, String islandName)
    • islandUnlock

      public static void islandUnlock(org.bukkit.command.CommandSender sender, String islandName)
    • getProtectionVectorLeft

      public static com.sk89q.worldedit.math.BlockVector3 getProtectionVectorLeft(org.bukkit.Location island)
    • getProtectionVectorRight

      public static com.sk89q.worldedit.math.BlockVector3 getProtectionVectorRight(org.bukkit.Location island)
    • getIslandNameAt

      public static String getIslandNameAt(org.bukkit.Location location)
    • getIslandRegionAt

      public static com.sk89q.worldguard.protection.regions.ProtectedRegion getIslandRegionAt(org.bukkit.Location location)
    • getNetherRegionAt

      public static com.sk89q.worldguard.protection.regions.ProtectedRegion getNetherRegionAt(org.bukkit.Location location)
    • removeIslandRegion

      public static void removeIslandRegion(String islandName)
    • setupGlobal

      public static void setupGlobal(org.bukkit.World world)
    • getIntersectingRegions

      public static Set<com.sk89q.worldguard.protection.regions.ProtectedRegion> getIntersectingRegions(org.bukkit.Location islandLocation)
    • isIslandIntersectingSpawn

      public static boolean isIslandIntersectingSpawn(org.bukkit.Location islandLocation)
    • getIslandRegion

      public static com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion getIslandRegion(org.bukkit.Location islandLocation)
    • getPlayersInRegion

      public static List<org.bukkit.entity.Player> getPlayersInRegion(org.bukkit.World world, com.sk89q.worldguard.protection.regions.ProtectedRegion region)
    • getCreaturesInRegion

      public static List<org.bukkit.entity.LivingEntity> getCreaturesInRegion(org.bukkit.World world, com.sk89q.worldguard.protection.regions.ProtectedRegion region)
    • asVector

      public static com.sk89q.worldedit.math.BlockVector3 asVector(org.bukkit.Location location)
    • isInRegion

      public static boolean isInRegion(com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion islandRegion, org.bukkit.Location loc)