interface RawTownV3 {
    board: string;
    coordinates: {
        homeBlock: [number, number];
        spawn: {
            pitch?: number;
            world: string;
            x: string | number;
            y?: string | number;
            yaw?: number;
            z: string | number;
        };
        townBlocks: [number, number][];
    };
    founder: string;
    mayor: RawEntityV3;
    name: string;
    nation?: Partial<RawEntityV3>;
    outlaws: RawEntityV3[];
    perms: {
        build: {
            ally: boolean;
            nation: boolean;
            outsider: boolean;
            resident: boolean;
        };
        destroy: {
            ally: boolean;
            nation: boolean;
            outsider: boolean;
            resident: boolean;
        };
        flags: {
            explosion: boolean;
            fire: boolean;
            mobs: boolean;
            pvp: boolean;
        };
        itemUse: {
            ally: boolean;
            nation: boolean;
            outsider: boolean;
            resident: boolean;
        };
        switch: {
            ally: boolean;
            nation: boolean;
            outsider: boolean;
            resident: boolean;
        };
    };
    quarters: string[];
    ranks: {
        Builder: string[];
        Councillor: string[];
        Police: string[];
        Realtor: string[];
        Recruiter: string[];
        Settler: string[];
        Tax-exempt: string[];
        Treasurer: string[];
    };
    residents: RawEntityV3[];
    stats: {
        balance: number;
        bonusBlocks: number;
        forSalePrice?: number;
        maxTownBlocks: number;
        numOutlaws: number;
        numResidents: number;
        numTownBlocks: number;
        numTrusted: number;
    };
    status: {
        isNeutral: boolean;
        isOpen: boolean;
        isPublic: boolean;
    } & {
        canOutsidersSpawn: boolean;
        hasNation: boolean;
        hasOverclaimShield: boolean;
        isCapital: boolean;
        isForSale: boolean;
        isOverClaimed: boolean;
        isRuined: boolean;
    };
    timestamps: {
        joinedNationAt?: number;
        registered: number;
        ruinedAt?: number;
    };
    trusted: RawEntityV3[];
    uuid: string;
    wiki?: string;
}

Hierarchy (view full)

Properties

board: string
coordinates: {
    homeBlock: [number, number];
    spawn: {
        pitch?: number;
        world: string;
        x: string | number;
        y?: string | number;
        yaw?: number;
        z: string | number;
    };
    townBlocks: [number, number][];
}
founder: string
name: string
nation?: Partial<RawEntityV3>
outlaws: RawEntityV3[]
perms: {
    build: {
        ally: boolean;
        nation: boolean;
        outsider: boolean;
        resident: boolean;
    };
    destroy: {
        ally: boolean;
        nation: boolean;
        outsider: boolean;
        resident: boolean;
    };
    flags: {
        explosion: boolean;
        fire: boolean;
        mobs: boolean;
        pvp: boolean;
    };
    itemUse: {
        ally: boolean;
        nation: boolean;
        outsider: boolean;
        resident: boolean;
    };
    switch: {
        ally: boolean;
        nation: boolean;
        outsider: boolean;
        resident: boolean;
    };
}
quarters: string[]
ranks: {
    Builder: string[];
    Councillor: string[];
    Police: string[];
    Realtor: string[];
    Recruiter: string[];
    Settler: string[];
    Tax-exempt: string[];
    Treasurer: string[];
}
residents: RawEntityV3[]
stats: {
    balance: number;
    bonusBlocks: number;
    forSalePrice?: number;
    maxTownBlocks: number;
    numOutlaws: number;
    numResidents: number;
    numTownBlocks: number;
    numTrusted: number;
}
status: {
    isNeutral: boolean;
    isOpen: boolean;
    isPublic: boolean;
} & {
    canOutsidersSpawn: boolean;
    hasNation: boolean;
    hasOverclaimShield: boolean;
    isCapital: boolean;
    isForSale: boolean;
    isOverClaimed: boolean;
    isRuined: boolean;
}
timestamps: {
    joinedNationAt?: number;
    registered: number;
    ruinedAt?: number;
}
trusted: RawEntityV3[]
uuid: string
wiki?: string