Class VoxelSniperConfig

java.lang.Object
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig

public class VoxelSniperConfig extends Object
  • Constructor Details

    • VoxelSniperConfig

      public VoxelSniperConfig(boolean updateCheckerEnabled, int updateCheckerInterval, boolean messageOnLoginEnabled, boolean persistSessionsOnLogout, BlockType defaultBlockMaterial, BlockType defaultReplaceBlockMaterial, int defaultBrushSize, int litesniperMaxBrushSize, List<String> litesniperRestrictedMaterials, int brushSizeWarningThreshold, int defaultVoxelHeight, int defaultCylinderCenter, Map<String,Map<String,Object>> brushProperties)
      Create a new cached voxel configuration, used runtime.
      Parameters:
      updateCheckerEnabled - whether to check for updates
      updateCheckerInterval - period to wait in hours in-between checks
      messageOnLoginEnabled - if message on login is enabled
      persistSessionsOnLogout - if snipers shall be removed on logout
      defaultBlockMaterial - default block material
      defaultReplaceBlockMaterial - default replace block material
      defaultBrushSize - default brush size
      litesniperMaxBrushSize - litesniper max brush size
      litesniperRestrictedMaterials - litesniper restricted materials
      brushSizeWarningThreshold - brush size warning threshold
      defaultVoxelHeight - default voxel height
      defaultCylinderCenter - default cylinder center
      brushProperties - brush properties
  • Method Details