WarzoneMC / tgm-docs

TGM Documentation
https://docs.warz.one
3 stars 6 forks source link

Document Meta Regions #24

Closed jorgeberrex closed 5 years ago

jorgeberrex commented 5 years ago

Meta regions are regions that can hold multiple regions and they will be all treated as a single region.

Examples:

    "regions": [
        {
            "id": "meta-test", 
            "type": "meta", 
            "regions": [
                {"min": "89, 9, -54", "max": "90, 9, -54"},
                {"min": "89, 9, -57", "max": "90, 9, -57"}
            ]
        }
    ]
    "regions": [
                {"id": "blue-spawn-protection", "type": "cuboid", "min": "224, 0, -43", "max": "240, oo, -65"},
                {"id": "red-spawn-protection", "type": "cuboid", "min": "-1, 0, -43", "max": "15, oo, -65"},
                {"id": "meta-test", "type": "meta", "regions": ["blue-spawn-protection", "red-spawn-protection"]}
    ]