Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Latest commit

 

History

History
73 lines (71 loc) · 3.41 KB

CONFIG.md

File metadata and controls

73 lines (71 loc) · 3.41 KB

Config Documentation

{
    "worlds": [
        {
            "name": "world", // Exact name of your world
            "forceInit": false, // If true : force init world Borders, world Spawn point, ... (reset automatically to false)
            "config": { // World Config
                "databaseFile": "plugins/osm2map/world-o2m.db", // All Data of o2m (different for each World) 
                "generation": { 
                    "osmFile": "plugins/osm2map/world.osm", // OSM XML Map file
                    "zoom": 1.0, // Zoom divider : 0.5 => 2x bigger
                    "height": 10, // World gen min Height
                    "elevation": { // Elevation -> see Section "Elevation"
                        "enabled": false,
                        "folder": "plugins/osm2map/paris/elev"
                    },
                    "dirtLayerSize": 5,
                    "treeSchematicsEnabled": true, // Enable Tree Generation
                    "treeSchematicsFolder": "plugins/osm2map/schematic/tree/medium", // Folder of trees schematics
                    "seed": 1 // Random Seed (not very used) 
                },
                "guard": { // GUARD Mode
                    "active": true,
                    "maxClaim": 3, // Max claim at the same time
                    "maxFriend": 3 // Max friends by claim,
                },
                "tile": { // Tile is for coloring the terrain based on satellite images
                    // see Section "Satellite Images (Tiles)"
                    "active": true,
                    "tilesFolder": "plugins/osm2map/tiles",
                    "tilesUrl": "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}",
                    "blockColorsFile": "plugins/osm2map/groundBlocks.txt",
                    "tilesZoom": 17,
                    "offsetX": 0, // if your map and satellite images are not exactly aligned 
                    "offsetY": 0,
                    "mulR": 1.2, // Color Channel multiplier
                    "mulG": 1.5, // More Greenish for better look
                    "mulB": 1.2,
                    "blur": { // Blur on satellite images (Recommended for better results)
                        "active": true,
                        "blurSize": 3,
                        "blurStrength": 0.5
                    }
                },
                "blocks": { // Generation Blocks Settings
                    "wayBlock": "minecraft:coal_block",
                    "wayBorderBlock": "minecraft:stone_slab",
                    "wayTrackBlock": "minecraft:planks",
                    "buildingsBorderBlock": "minecraft:cobblestone",
                    "buildingsCornerBlock": "minecraft:stonebrick",
                    "buildingsFillBlock": "minecraft:planks",
                    "gardensCornerBlock": "minecraft:fence",
                    "gardensBorderBlock": "minecraft:leaves",
                    "groundTopBlock": "minecraft:grass",
                    "groundMiddleBlock": "minecraft:dirt",
                    "groundBottomBlock": "minecraft:bedrock",
                    "waterWaysBlock": "minecraft:water"
                }
            }
        }//,
        // { name: "world2", ... }
    ]
}