public class ConfigurationManager extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
activityHaltToggle |
boolean |
blockInGameOp |
boolean |
deopOnJoin |
Map<String,String> |
hostKeys |
boolean |
keepUnresolvedNames |
boolean |
migrateRegionsToUuid |
Map<DriverType,RegionDriver> |
regionStoreDriverMap |
RegionDriver |
selectedRegionStoreDriver
Region Storage Configuration method, and config values
|
boolean |
useAmphibiousGroup |
boolean |
useGodGroup |
boolean |
useGodPermission |
boolean |
usePlayerMove |
boolean |
usePlayerTeleports |
boolean |
useRegionsCreatureSpawnEvent |
| Constructor and Description |
|---|
ConfigurationManager(WorldGuardPlugin plugin)
Construct the object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableAmphibiousMode(org.bukkit.entity.Player player)
Disable amphibious mode for a player.
|
void |
disableUuidMigration() |
void |
enableAmphibiousMode(org.bukkit.entity.Player player)
Enable amphibious mode for a player.
|
WorldConfiguration |
get(org.bukkit.World world)
Get the configuration for a world.
|
File |
getDataFolder()
Get the folder for storing data files and configuration.
|
File |
getWorldsDataFolder()
Get the folder for storing data files and configuration for each
world.
|
boolean |
hasAmphibiousMode(org.bukkit.entity.Player player)
Check to see if amphibious mode is enabled for a player.
|
boolean |
hasCommandBookGodMode() |
boolean |
hasGodMode(org.bukkit.entity.Player player)
Check to see if god mode is enabled for a player.
|
void |
load()
Load the configuration.
|
void |
unload()
Unload the configuration.
|
void |
updateCommandBookGodMode() |
public boolean useRegionsCreatureSpawnEvent
public boolean activityHaltToggle
public boolean useGodPermission
public boolean useGodGroup
public boolean useAmphibiousGroup
public boolean usePlayerMove
public boolean usePlayerTeleports
public boolean deopOnJoin
public boolean blockInGameOp
public boolean migrateRegionsToUuid
public boolean keepUnresolvedNames
public RegionDriver selectedRegionStoreDriver
public Map<DriverType,RegionDriver> regionStoreDriverMap
public ConfigurationManager(WorldGuardPlugin plugin)
plugin - The plugin instancepublic File getDataFolder()
public File getWorldsDataFolder()
public void load()
public void unload()
public void disableUuidMigration()
public WorldConfiguration get(org.bukkit.World world)
world - The world to get the configuration forworld's configurationpublic boolean hasGodMode(org.bukkit.entity.Player player)
player - The player to checkpublic void enableAmphibiousMode(org.bukkit.entity.Player player)
player - The player to enable amphibious mode forpublic void disableAmphibiousMode(org.bukkit.entity.Player player)
player - The player to disable amphibious mode forpublic boolean hasAmphibiousMode(org.bukkit.entity.Player player)
player - The player to checkplayer has amphibious modepublic void updateCommandBookGodMode()
public boolean hasCommandBookGodMode()
Copyright © 2015. All Rights Reserved.