public abstract class ConfigurationManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
activityHaltToggle |
boolean |
announceBypassStatus |
boolean |
blockInGameOp |
boolean |
deopOnJoin |
boolean |
disableDefaultBypass |
boolean |
disablePermissionCache |
java.util.Map<java.lang.String,java.lang.String> |
hostKeys |
boolean |
hostKeysAllowFMLClients |
boolean |
keepUnresolvedNames |
protected static java.util.logging.Logger |
log |
boolean |
migrateRegionsToUuid |
boolean |
particleEffects |
java.util.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() |
| Modifier and Type | Method and Description |
|---|---|
void |
disableAmphibiousMode(LocalPlayer player)
Disable amphibious mode for a player.
|
abstract void |
disableUuidMigration() |
void |
enableAmphibiousMode(LocalPlayer player)
Enable amphibious mode for a player.
|
abstract WorldConfiguration |
get(com.sk89q.worldedit.world.World world)
Get the configuration for a world.
|
abstract java.io.File |
getDataFolder()
Get the folder for storing data files and configuration.
|
java.io.File |
getWorldsDataFolder()
Get the folder for storing data files and configuration for each
world.
|
boolean |
hasAmphibiousMode(LocalPlayer player)
Check to see if amphibious mode is enabled for a player.
|
boolean |
hasGodMode(LocalPlayer player)
Check to see if god mode is enabled for a player.
|
abstract void |
load()
Load the configuration.
|
abstract void |
unload()
Unload the configuration.
|
protected static final java.util.logging.Logger log
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 boolean particleEffects
public boolean disablePermissionCache
public boolean disableDefaultBypass
public boolean announceBypassStatus
public java.util.Map<java.lang.String,java.lang.String> hostKeys
public boolean hostKeysAllowFMLClients
public RegionDriver selectedRegionStoreDriver
public java.util.Map<DriverType,RegionDriver> regionStoreDriverMap
public abstract java.io.File getDataFolder()
public java.io.File getWorldsDataFolder()
public abstract void load()
public abstract void unload()
public abstract WorldConfiguration get(com.sk89q.worldedit.world.World world)
world - The world to get the configuration forworld's configurationpublic abstract void disableUuidMigration()
public boolean hasGodMode(LocalPlayer player)
player - The player to checkpublic void enableAmphibiousMode(LocalPlayer player)
player - The player to enable amphibious mode forpublic void disableAmphibiousMode(LocalPlayer player)
player - The player to disable amphibious mode forpublic boolean hasAmphibiousMode(LocalPlayer player)
player - The player to checkplayer has amphibious mode