Implements

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Parameters

    • Optionaltowns: {
          area: number;
          balance?: number;
          bounds: TownBounds;
          colours: {
              fill: `#${string}`;
              outline: `#${string}`;
          };
          flags: {
              capital: boolean;
              explosion: boolean;
              fire: boolean;
              mobs: boolean;
              public: boolean;
              pvp: boolean;
          };
          founder?: string;
          mayor: string;
          name: string;
          nation: string;
          opacities?: {
              fill: Opacity;
              outline: Opacity;
          };
          outlaws?: string[];
          residents: string[];
          timestamps?: {
              founded: number;
              joinedNation?: number;
          };
          trusted?: string[];
          wiki?: string;
          x: number;
          z: number;
      }[]

    Returns Promise<Resident[]>