Class WorldGuardUtils

java.lang.Object
ru.cwcode.cwutils.worldguard.WorldGuardUtils

public class WorldGuardUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion
    createRegion(org.bukkit.Location pos1, org.bukkit.Location pos2, String name)
     
    static @Nullable com.sk89q.worldguard.protection.regions.ProtectedRegion
    getRegion(String region, String world)
     
    static @Nullable com.sk89q.worldguard.protection.regions.ProtectedRegion
    getRegion(String region, org.bukkit.World world)
     
    static Set<com.sk89q.worldguard.protection.regions.ProtectedRegion>
    getRegionsAt(org.bukkit.Location location)
     
    static boolean
    isInRegion(org.bukkit.Location location, String region)
     
    static boolean
    isInRegion(org.bukkit.Location location, String region, String world)
    Deprecated.
    static boolean
    isInRegion(org.bukkit.Location location, String region, org.bukkit.World world)
    Deprecated.
    static int
    setFlags(com.sk89q.worldguard.protection.regions.ProtectedRegion region, Map<String,String> flags)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WorldGuardUtils

      public WorldGuardUtils()
  • Method Details

    • getRegionsAt

      public static Set<com.sk89q.worldguard.protection.regions.ProtectedRegion> getRegionsAt(org.bukkit.Location location)
    • isInRegion

      @Deprecated public static boolean isInRegion(org.bukkit.Location location, String region, String world)
      Deprecated.
    • isInRegion

      @Deprecated public static boolean isInRegion(org.bukkit.Location location, String region, org.bukkit.World world)
      Deprecated.
    • isInRegion

      public static boolean isInRegion(org.bukkit.Location location, String region)
    • getRegion

      @Nullable public static @Nullable com.sk89q.worldguard.protection.regions.ProtectedRegion getRegion(String region, String world)
    • getRegion

      @Nullable public static @Nullable com.sk89q.worldguard.protection.regions.ProtectedRegion getRegion(String region, org.bukkit.World world)
    • setFlags

      public static int setFlags(com.sk89q.worldguard.protection.regions.ProtectedRegion region, Map<String,String> flags)
    • createRegion

      public static com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion createRegion(org.bukkit.Location pos1, org.bukkit.Location pos2, String name)