Package com.sk89q.worldedit
Class LocalConfiguration
java.lang.Object
com.sk89q.worldedit.LocalConfiguration
- Direct Known Subclasses:
PropertiesConfiguration,YAMLConfiguration
Represents WorldEdit's configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanintintDeprecated.intbooleanintDeprecated.Use actor's limitFaweLimit.MAX_CHANGESintintintprotected BlockMaskbooleanbooleanstatic intstatic intstatic intstatic intintDeprecated.Use actor's limitFaweLimit.MAX_BRUSH_RADIUSintintDeprecated.Use actor's limitFaweLimit.MAX_CHANGESintintintDeprecated.Use actor's limitFaweLimit.MAX_RADIUSintDeprecated.Use actor's limitFaweLimit.MAX_SUPER_PICKAXE_SIZEbooleanintbooleanbooleanintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconvertLegacyItem(String legacy) protected String[]Deprecated.Get the working directory to work from.voidinitializeSnapshotConfiguration(String directory, boolean experimental) abstract voidload()Load the configuration.voidsetDefaultLocaleName(String localeName)
-
Field Details
-
MAX_RADIUS
public static int MAX_RADIUS -
MAX_SUPER_RADIUS
public static int MAX_SUPER_RADIUS -
MAX_BRUSH_RADIUS
public static int MAX_BRUSH_RADIUS -
MAX_BUTCHER_RADIUS
public static int MAX_BUTCHER_RADIUS -
profile
public boolean profile -
traceUnflushedSessions
public boolean traceUnflushedSessions -
disallowedBlocks
-
disallowedBlocksMask
-
defaultChangeLimit
Deprecated.Use actor's limitFaweLimit.MAX_CHANGES -
maxChangeLimit
Deprecated.Use actor's limitFaweLimit.MAX_CHANGES -
defaultVerticalHeight
public int defaultVerticalHeight -
defaultMaxPolygonalPoints
public int defaultMaxPolygonalPoints -
maxPolygonalPoints
public int maxPolygonalPoints -
defaultMaxPolyhedronPoints
public int defaultMaxPolyhedronPoints -
maxPolyhedronPoints
public int maxPolyhedronPoints -
shellSaveType
-
snapshotsConfigured
public boolean snapshotsConfigured -
snapshotRepo
-
snapshotDatabase
-
maxRadius
Deprecated.Use actor's limitFaweLimit.MAX_RADIUS -
maxSuperPickaxeSize
Deprecated.Use actor's limitFaweLimit.MAX_SUPER_PICKAXE_SIZE -
maxBrushRadius
Deprecated.Use actor's limitFaweLimit.MAX_BRUSH_RADIUS -
logCommands
public boolean logCommands -
logFile
-
logFormat
-
registerHelp
public boolean registerHelp -
wandItem
-
superPickaxeDrop
public boolean superPickaxeDrop -
superPickaxeManyDrop
public boolean superPickaxeManyDrop -
useInventory
public boolean useInventory -
useInventoryOverride
public boolean useInventoryOverride -
useInventoryCreativeOverride
public boolean useInventoryCreativeOverride -
scriptTimeout
public int scriptTimeout -
calculationTimeout
public int calculationTimeout -
maxCalculationTimeout
public int maxCalculationTimeout -
allowedDataCycleBlocks
-
saveDir
-
scriptsDir
-
showHelpInfo
public boolean showHelpInfo -
butcherDefaultRadius
public int butcherDefaultRadius -
butcherMaxRadius
Deprecated.Use actor's limitFaweLimit.MAX_BUTCHER_RADIUS -
allowSymlinks
public boolean allowSymlinks -
serverSideCUI
public boolean serverSideCUI -
extendedYLimit
public boolean extendedYLimit -
commandBlockSupport
public boolean commandBlockSupport -
defaultLocaleName
-
defaultLocale
-
-
Constructor Details
-
LocalConfiguration
public LocalConfiguration()
-
-
Method Details
-
getDefaultDisallowedBlocks
-
load
public abstract void load()Load the configuration. -
checkDisallowedBlocks
-
getWorkingDirectory
Deprecated.Get the working directory to work from.- Returns:
- a working directory
-
getWorkingDirectoryPath
Get the working directory to work from.- Returns:
- a working directory
-
initializeSnapshotConfiguration
-
convertLegacyItem
-
setDefaultLocaleName
-
FaweLimit.MAX_BUTCHER_RADIUS