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

    • 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

      public Set<String> disallowedBlocks
    • disallowedBlocksMask

      protected BlockMask disallowedBlocksMask
    • defaultChangeLimit

      @Deprecated public int defaultChangeLimit
      Deprecated.
      Use actor's limit FaweLimit.MAX_CHANGES
    • maxChangeLimit

      @Deprecated public int maxChangeLimit
      Deprecated.
      Use actor's limit FaweLimit.MAX_CHANGES
    • 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

      @Deprecated public int maxRadius
      Deprecated.
      Use actor's limit FaweLimit.MAX_RADIUS
    • maxSuperPickaxeSize

      @Deprecated public int maxSuperPickaxeSize
      Deprecated.
    • maxBrushRadius

      @Deprecated public int maxBrushRadius
      Deprecated.
      Use actor's limit FaweLimit.MAX_BRUSH_RADIUS
    • 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

      @Deprecated public int butcherMaxRadius
      Deprecated.
    • serverSideCUI

      public boolean serverSideCUI
    • extendedYLimit

      public boolean extendedYLimit
    • commandBlockSupport

      public boolean commandBlockSupport
    • 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.
    • checkDisallowedBlocks

      public boolean checkDisallowedBlocks(BlockStateHolder holder)
    • 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)