Class SpongeConfiguration

java.lang.Object
com.sk89q.worldedit.LocalConfiguration
com.sk89q.worldedit.sponge.config.ConfigurateConfiguration
com.sk89q.worldedit.sponge.config.SpongeConfiguration

public class SpongeConfiguration extends ConfigurateConfiguration
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
     
    boolean
     

    Fields inherited from class com.sk89q.worldedit.sponge.config.ConfigurateConfiguration

    config, logger, node

    Fields inherited from class com.sk89q.worldedit.LocalConfiguration

    allowedDataCycleBlocks, allowSymlinks, butcherDefaultRadius, butcherMaxRadius, calculationTimeout, commandBlockSupport, defaultChangeLimit, defaultLocale, defaultLocaleName, defaultMaxPolygonalPoints, defaultMaxPolyhedronPoints, defaultVerticalHeight, disallowedBlocks, extendedYLimit, logCommands, logFile, logFormat, maxBrushRadius, maxCalculationTimeout, maxChangeLimit, maxPolygonalPoints, maxPolyhedronPoints, maxRadius, maxSuperPickaxeSize, navigationUseGlass, navigationWand, navigationWandMaxDistance, profile, registerHelp, saveDir, scriptsDir, scriptTimeout, serverSideCUI, shellSaveType, showHelpInfo, snapshotDatabase, snapshotRepo, snapshotsConfigured, superPickaxeDrop, superPickaxeManyDrop, traceUnflushedSessions, useInventory, useInventoryCreativeOverride, useInventoryOverride, wandItem
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpongeConfiguration(org.spongepowered.configurate.loader.ConfigurationLoader<org.spongepowered.configurate.CommentedConfigurationNode> config, org.apache.logging.log4j.Logger logger)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     

    Methods inherited from class com.sk89q.worldedit.LocalConfiguration

    convertLegacyItem, getDefaultDisallowedBlocks, getWorkingDirectory, initializeSnapshotConfiguration, setDefaultLocaleName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • creativeEnable

      public boolean creativeEnable
    • cheatMode

      public boolean cheatMode
  • Constructor Details

    • SpongeConfiguration

      @Inject public SpongeConfiguration(org.spongepowered.configurate.loader.ConfigurationLoader<org.spongepowered.configurate.CommentedConfigurationNode> config, org.apache.logging.log4j.Logger logger)
  • Method Details

    • load

      public void load()
      Overrides:
      load in class ConfigurateConfiguration
    • getWorkingDirectoryPath

      public Path getWorkingDirectoryPath()
      Overrides:
      getWorkingDirectoryPath in class com.sk89q.worldedit.LocalConfiguration