public class WGBukkit extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanCache()
Deprecated.
instance is now stored directly in
WorldGuardPlugin |
static WorldGuardPlugin |
getPlugin()
Get the WorldGuard plugin.
|
static RegionManager |
getRegionManager(org.bukkit.World world)
Returns the region manager for a given world.
|
public static WorldGuardPlugin getPlugin()
If you are depending on WorldGuard in your plugin, you should place
softdepend: [WorldGuard] or depend: [WorldGuard]
in your plugin.yml so that this won't return null for you.
@Deprecated public static void cleanCache()
WorldGuardPluginpublic static RegionManager getRegionManager(org.bukkit.World world)
world - worldCopyright © 2015. All Rights Reserved.