Class LocalConfiguration

java.lang.Object
com.sk89q.worldedit.LocalConfiguration
Direct Known Subclasses:
PropertiesConfiguration, YAMLConfiguration

public abstract class LocalConfiguration extends Object
Represents WorldEdit's configuration.
  • Field Details

    • profile

      public boolean profile
    • traceUnflushedSessions

      public boolean traceUnflushedSessions
    • disallowedBlocks

      public Set<String> disallowedBlocks
    • defaultChangeLimit

      public int defaultChangeLimit
    • maxChangeLimit

      public int maxChangeLimit
    • defaultVerticalHeight

      public int defaultVerticalHeight
    • defaultMaxPolygonalPoints

      public int defaultMaxPolygonalPoints
    • maxPolygonalPoints

      public int maxPolygonalPoints
    • defaultMaxPolyhedronPoints

      public int defaultMaxPolyhedronPoints
    • maxPolyhedronPoints

      public int maxPolyhedronPoints
    • shellSaveType

      public String shellSaveType
    • snapshotsConfigured

      public boolean snapshotsConfigured
    • snapshotRepo

      public SnapshotRepository snapshotRepo
    • snapshotDatabase

      public SnapshotDatabase snapshotDatabase
    • maxRadius

      public int maxRadius
    • maxSuperPickaxeSize

      public int maxSuperPickaxeSize
    • maxBrushRadius

      public int maxBrushRadius
    • logCommands

      public boolean logCommands
    • logFile

      public String logFile
    • logFormat

      public String logFormat
    • registerHelp

      public boolean registerHelp
    • wandItem

      public String 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

      public Set<String> allowedDataCycleBlocks
    • saveDir

      public String saveDir
    • scriptsDir

      public String scriptsDir
    • showHelpInfo

      public boolean showHelpInfo
    • butcherDefaultRadius

      public int butcherDefaultRadius
    • butcherMaxRadius

      public int butcherMaxRadius
    • serverSideCUI

      public boolean serverSideCUI
    • extendedYLimit

      public boolean extendedYLimit
    • defaultLocaleName

      public String defaultLocaleName
    • defaultLocale

      public Locale defaultLocale
  • Constructor Details

    • LocalConfiguration

      public LocalConfiguration()
  • Method Details

    • getDefaultDisallowedBlocks

      protected String[] getDefaultDisallowedBlocks()
    • load

      public abstract void load()
      Load the configuration.
    • getWorkingDirectory

      @Deprecated public File getWorkingDirectory()
      Deprecated.
      Get the working directory to work from.
      Returns:
      a working directory
    • getWorkingDirectoryPath

      public Path getWorkingDirectoryPath()
      Get the working directory to work from.
      Returns:
      a working directory
    • initializeSnapshotConfiguration

      public void initializeSnapshotConfiguration(String directory, boolean experimental)
    • convertLegacyItem

      public String convertLegacyItem(String legacy)
    • setDefaultLocaleName

      public void setDefaultLocaleName(String localeName)