main/Configuration 2.1/Default

[This page refers to an older version of this plugin!]

# Cave Ore Veins configuration file. More details can be found here: http://dev.bukkit.org/server-mods/caveoreveins/
Plugin:
    # A config file will be updated if the version of the config is different than the one of the plugin. Your values will be preserved.
    configVersion: 0.0.

    # Maximum time to spend in sync mode per server tick.
    maxSyncWorkloadMillisecondsPerServerTick : 30

    # Multiplier for the number of threads that are being used for the async stages.
    # The multiplier is applied to the number of CPU cores minus one.
    maxAsyncWorkloadMultiplier :  0.8

    # Possible values: Debug, Detailed, Info, Error
    logLevel: Info

    # Constrains the auto mode to process only the worlds listed here.
    # New for 2.0
    # Renamed in 2.1 from worldConstrains
    worldConstraints: []

    # Excludes the following worlds from being processed in auto mode.
    # New for 2.0
    worldExclusions: []

    # Possible values:  SWAMPLAND, FOREST, TAIGA, DESERT, PLAINS, HELL, SKY, OCEAN, RIVER, EXTREME_HILLS, FROZEN_OCEAN, FROZEN_RIVER, ICE_PLAINS, ICE_MOUNTAINS, MUSHROOM_ISLAND, MUSHROOM_SHORE, BEACH, DESERT_HILLS, FOREST_HILLS, TAIGA_HILLS, SMALL_MOUNTAINS, JUNGLE, JUNGLE_HILLS;
    # Renamed in version 2.0 from globalBiomeRestrictions
    # Renamed in version 2.1 from globalBiomeExclusions
    # Note: The plugin is not supported in 'The Nether' or 'The End'. so at least the following exclusions are required:
    biomeExclusions: [HELL, SKY]

    # Constrains the auto mode to process only the biomes listed here.
    # New for 2.1
    biomeConstraints: []

    # The size of an 'area'.
    # moved and renamed in 2.1 from OreSpawner.autoAreaLengthChunks and OreSpawner.autoAreaWidthChunks
    # Large areas provide better player experience, but this is limited by the computational power of your server.
    areaLengthChunks: 10
    areaWidthChunks: 10

    # introduced in 2.1, allows for overrides to the default settings defined in this file
    # the overrides apply to the sections "CaveFinder", "OreSpawner", and the constraints and exclusions defined in the "Plugins" section
    childConfigurations: []

Definitions:
    JACK_O_LANTERN_SOUTH:
        referencedMaterialName: JACK_O_LANTERN
        typeData: 0
    JACK_O_LANTERN_NORTH:
        referencedMaterialName: JACK_O_LANTERN
        typeData: 2
#   CUSTOM_ORE:
#       typeId: 190 #mandatory
#       typeData: 3 #optional, unless required by the other mods/plugins

CaveFinder:
    # Threshold for the maximum number of blocks per cave. Caves will be split after reaching this value.
    maximumCaveBlocksCount: 5000

    # Minimum total value for a cave to be considered.
    caveMinimumValue: 10.0

    # Materials a cave is made of and the block value.
    # Warning! Do not add STATIONARY_WATER as that will cause oceans to be taken into account
    caveMaterials:
        WATER: 0.05
        AIR: 1.00
        MOB_SPAWNER: 500.0
        CHEST: 1000.0
OreSpawner:
    # If auto-mode is turned on, the plugin will automatically process new/unprocessed areas as soon as they are discovered.
    autoMode: true

    # Materials that can be replaced by ore. They also represent the walls of the caves.
    replaceableMaterials: [STONE, DIRT, GRAVEL, MOSSY_COBBLESTONE]

    # Material used to clean up the existing ores
    # New for version 2.0
    existingOreCleanupMaterial: STONE

    # Maximum path deviation of an ore vein per length in blocks.
    # The length also controls the frequency of the noise (larger values = less noise)
    # Meaning changed for version 2.0
    maxVeinArcDeviationPerLength: 10/50

    # Ore density, inside a vein. 1.0 means all the blocks inside a vein will be filled with ore.
    # Applies to all the ores, unless overridden by individual ore setting.
    # New for version 2.0
    veinOreDensity: 0.4

    # Maximum distribution of ore on the cave walls.
    maxCaveWallsOreDensity: 0.7

    # The minimum clearance for a new cave to be generated, in relation to the other caves already present.
    newCaveMinClearance: 20

    # The structure of a new cave to be generated. New caves are generated if the global distribution of ores cannot be satisfied.
    # They should be small and be treated more as hubs rather than actual caves.
    # The cave elements will be applied in the order of their definition, hence their area can overlap
    newCaveStructureLayout:
        # Ensure one of the materials from the 'replaceableMaterials' set is used to define its border
        STONE:
            # 'from', 'to' and 'at' are relative to the center of the cave
            - from [-5, -4, -5] to [ 5,  3,  5]
        MOSSY_COBBLESTONE:
            - from [-4, -3, -4] to [ 4, -3,  4]
        AIR:
            - from [-4, -2, -4] to [ 4,  2,  4]
        # materials cannot appear more than once in this list so they must be grouped
        JACK_O_LANTERN_SOUTH:
            - at [ -4, -2,  -4]
            - at [ 4, -2,  -4]
        JACK_O_LANTERN_NORTH:
            - at [ -4, -2,  4]
            - at [ 4, -2,  4]

    # Global ore distributions
    # renamed from globalOreDistribution in 2.1
    oreDistribution:
        COAL_ORE:
            minLevel: 30
            maxLevel: 160
            percentage: 0.005
            veinThickness: 5
            maxVeinLength: 150
            # If true, the ore vein is allowed to spawn a new cave structure at its other end
            allowedToSpawnStructures: true
            allowedToSpawnUnattachedVeins: false
        REDSTONE_ORE:
            minLevel: 10
            maxLevel: 40
            percentage: 0.004
            veinThickness: 2
            maxVeinLength: 80
            # Individual ore density override, inside a vein. 1.0 means all the blocks inside a vein will be filled with ore.
            # New for version 2.0
            veinOreDensity: 0.6
            allowedToSpawnStructures: true
            allowedToSpawnUnattachedVeins: false
        IRON_ORE:
            minLevel: 20
            maxLevel: 50
            percentage: 0.003
            veinThickness: 4
            maxVeinLength: 100
            allowedToSpawnStructures: true
            allowedToSpawnUnattachedVeins: false
        LAPIS_ORE:
            minLevel: 10
            maxLevel: 40
            percentage: 0.001
            veinThickness: 2
            maxVeinLength: 60
            allowedToSpawnStructures: false
            allowedToSpawnUnattachedVeins: false
        GOLD_ORE:
            minLevel: 0
            maxLevel: 30
            percentage: 0.002
            veinThickness: 3
            maxVeinLength: 50
            allowedToSpawnStructures: true
            allowedToSpawnUnattachedVeins: false
        DIAMOND_ORE:
            minLevel: 0
            maxLevel: 25
            percentage: 0.00075
            veinThickness: 2
            maxVeinLength: 4
            veinOreDensity: 1.0
            allowedToSpawnStructures: false
            # If true, it allows to spawn unattached ore veins at one of its ends.
            # Use this feature to spawn blobs of ore present on cave walls, in which case the maximum vein length should be small.
            allowedToSpawnUnattachedVeins: true
        EMERALD_ORE:
            minLevel: 0
            maxLevel: 40
            percentage: 0.0005
            veinThickness: 2
            maxVeinLength: 2
            veinOreDensity: 1.0
            allowedToSpawnStructures: false
            allowedToSpawnUnattachedVeins: true