Package com.sk89q.worldguard.config
Class ConfigurationManager
java.lang.Object
com.sk89q.worldguard.config.ConfigurationManager
- Direct Known Subclasses:
YamlConfigurationManager
Represents the global configuration and also delegates configuration
for individual worlds.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected static LoggerbooleanbooleanRegion Storage Configuration method, and config valuesbooleanbooleanbooleanbooleanbooleanboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisableAmphibiousMode(LocalPlayer player)Disable amphibious mode for a player.abstract voidvoidenableAmphibiousMode(LocalPlayer player)Enable amphibious mode for a player.abstract WorldConfigurationget(com.sk89q.worldedit.world.World world)Get the configuration for a world.abstract FileGet the folder for storing data files and configuration.Get the folder for storing data files and configuration for each world.booleanhasAmphibiousMode(LocalPlayer player)Check to see if amphibious mode is enabled for a player.booleanhasGodMode(LocalPlayer player)Check to see if god mode is enabled for a player.abstract voidload()Load the configuration.abstract voidunload()Unload the configuration.
-
Field Details
-
log
-
useRegionsCreatureSpawnEvent
public boolean useRegionsCreatureSpawnEvent -
activityHaltToggle
public boolean activityHaltToggle -
useGodPermission
public boolean useGodPermission -
useGodGroup
public boolean useGodGroup -
useAmphibiousGroup
public boolean useAmphibiousGroup -
usePlayerMove
public boolean usePlayerMove -
usePlayerTeleports
public boolean usePlayerTeleports -
deopOnJoin
public boolean deopOnJoin -
blockInGameOp
public boolean blockInGameOp -
migrateRegionsToUuid
public boolean migrateRegionsToUuid -
keepUnresolvedNames
public boolean keepUnresolvedNames -
particleEffects
public boolean particleEffects -
disablePermissionCache
public boolean disablePermissionCache -
disableDefaultBypass
public boolean disableDefaultBypass -
announceBypassStatus
public boolean announceBypassStatus -
hostKeys
-
hostKeysAllowFMLClients
public boolean hostKeysAllowFMLClients -
selectedRegionStoreDriver
Region Storage Configuration method, and config values -
regionStoreDriverMap
-
-
Constructor Details
-
ConfigurationManager
public ConfigurationManager()
-
-
Method Details
-
getDataFolder
Get the folder for storing data files and configuration.- Returns:
- the data folder
-
getWorldsDataFolder
Get the folder for storing data files and configuration for each world.- Returns:
- the data folder
-
load
public abstract void load()Load the configuration. -
unload
public abstract void unload()Unload the configuration. -
get
Get the configuration for a world.- Parameters:
world- The world to get the configuration for- Returns:
world's configuration
-
disableUuidMigration
public abstract void disableUuidMigration() -
hasGodMode
Check to see if god mode is enabled for a player.- Parameters:
player- The player to check- Returns:
- Whether the player has godmode through WorldGuard or CommandBook
-
enableAmphibiousMode
Enable amphibious mode for a player.- Parameters:
player- The player to enable amphibious mode for
-
disableAmphibiousMode
Disable amphibious mode for a player.- Parameters:
player- The player to disable amphibious mode for
-
hasAmphibiousMode
Check to see if amphibious mode is enabled for a player.- Parameters:
player- The player to check- Returns:
- Whether
playerhas amphibious mode
-