coordinates
coordinates: {
homeBlock: [number, number];
spawn: {
pitch?: number;
world: string;
x: string | number;
y?: string | number;
yaw?: number;
z: string | number;
};
townBlocks: [number, number][];
}
perms
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
quarters: string[]
ranks
ranks: {
Builder: string[];
Councillor: string[];
Police: string[];
Realtor: string[];
Recruiter: string[];
Settler: string[];
Tax-exempt: string[];
Treasurer: string[];
}
stats
stats: {
balance: number;
bonusBlocks: number;
forSalePrice?: number;
maxTownBlocks: number;
numOutlaws: number;
numResidents: number;
numTownBlocks: number;
numTrusted: number;
}
status
status: {
isNeutral: boolean;
isOpen: boolean;
isPublic: boolean;
} & {
canOutsidersSpawn: boolean;
hasNation: boolean;
hasOverclaimShield: boolean;
isCapital: boolean;
isForSale: boolean;
isOverClaimed: boolean;
isRuined: boolean;
}
timestamps
timestamps: {
joinedNationAt?: number;
registered: number;
ruinedAt?: number;
}
Optional
wiki
wiki?: string