diff --git a/docs/classes/OAPI.OAPIV2.html b/docs/classes/OAPI.OAPIV2.html index e3f8823..ca474f2 100644 --- a/docs/classes/OAPI.OAPIV2.html +++ b/docs/classes/OAPI.OAPIV2.html @@ -1,6 +1,6 @@ -OAPIV2 | EarthMC-NPM

Constructors

constructor +OAPIV2 | EarthMC-NPM

Constructors

Methods

\ No newline at end of file +

Constructors

Methods

\ No newline at end of file diff --git a/docs/classes/OAPI.OAPIV3.html b/docs/classes/OAPI.OAPIV3.html index 14411f6..b3bc59d 100644 --- a/docs/classes/OAPI.OAPIV3.html +++ b/docs/classes/OAPI.OAPIV3.html @@ -1,3 +1,3 @@ -OAPIV3 | EarthMC-NPM

Constructors

constructor +OAPIV3 | EarthMC-NPM

Constructors

Methods

Constructors

Methods

\ No newline at end of file +

Constructors

Methods

\ No newline at end of file diff --git a/docs/functions/api_squaremap_parser.parseInfoString.html b/docs/functions/api_squaremap_parser.parseInfoString.html index c238d3f..6ded24e 100644 --- a/docs/functions/api_squaremap_parser.parseInfoString.html +++ b/docs/functions/api_squaremap_parser.parseInfoString.html @@ -1 +1 @@ -parseInfoString | EarthMC-NPM
\ No newline at end of file +parseInfoString | EarthMC-NPM
\ No newline at end of file diff --git a/docs/functions/api_squaremap_parser.parseNations.html b/docs/functions/api_squaremap_parser.parseNations.html index 47ffb22..875dd19 100644 --- a/docs/functions/api_squaremap_parser.parseNations.html +++ b/docs/functions/api_squaremap_parser.parseNations.html @@ -1 +1 @@ -parseNations | EarthMC-NPM
  • Parameters

    • towns: {
          area: number;
          balance?: number;
          board?: string;
          bounds: TownBounds;
          colours: {
              fill: `#${string}`;
              outline: `#${string}`;
          };
          councillors: string[];
          flags: {
              capital: boolean;
              public: boolean;
              pvp: boolean;
          };
          foundedTimestamp: number;
          founder?: string;
          mayor: string;
          name: string;
          nation: string;
          opacities?: {
              fill: Opacity;
              outline: Opacity;
          };
          outlaws?: string[];
          points: {
              x: number;
              z: number;
          }[];
          residents: string[];
          timestamps?: {
              founded: number;
              joinedNation?: number;
          };
          trusted?: string[];
          wealth?: number;
          wikis?: {
              nation?: string;
              town?: string;
          };
          x: number;
          z: number;
      }[]

    Returns Promise<{
        allies?: string[];
        area: number;
        capital: {
            name: string;
            x: string | number;
            z: string | number;
        };
        councillors: string[];
        enemies?: string[];
        king: string;
        mapColorHexCode?: string;
        name: string;
        ranks?: {
            [key: string]: string[];
        };
        residents: string[];
        spawn?: {
            pitch?: number;
            world: string;
            x: string | number;
            y?: string | number;
            yaw?: number;
            z: string | number;
        };
        stats?: {
            balance: number;
            maxTownBlocks?: number;
            numResidents?: number;
            numTownBlocks?: number;
            numTowns?: number;
        };
        status?: Partial<{
            isCapital: boolean;
            isNPC: boolean;
            isNeutral: boolean;
            isOnline: boolean;
            isOpen: boolean;
            isOverClaimed: boolean;
            isPublic: boolean;
            isRuined: boolean;
        }>;
        towns: string[];
        uuid?: string;
        wealth: number;
        wiki?: string;
    }[]>

\ No newline at end of file +parseNations | EarthMC-NPM
  • Parameters

    • towns: {
          area: number;
          balance?: number;
          board?: string;
          bounds: TownBounds;
          colours: {
              fill: `#${string}`;
              outline: `#${string}`;
          };
          councillors: string[];
          flags: {
              capital: boolean;
              public: boolean;
              pvp: boolean;
          };
          foundedTimestamp: number;
          founder?: string;
          mayor: string;
          name: string;
          nation: string;
          opacities?: {
              fill: Opacity;
              outline: Opacity;
          };
          outlaws?: string[];
          points: {
              x: number;
              z: number;
          }[];
          residents: string[];
          timestamps?: {
              founded: number;
              joinedNation?: number;
          };
          trusted?: string[];
          wealth?: number;
          wikis?: {
              nation?: string;
              town?: string;
          };
          x: number;
          z: number;
      }[]

    Returns Promise<{
        allies?: string[];
        area: number;
        capital: {
            name: string;
            x: string | number;
            z: string | number;
        };
        councillors: string[];
        enemies?: string[];
        king: string;
        mapColorHexCode?: string;
        name: string;
        ranks?: {
            [key: string]: string[];
        };
        residents: string[];
        spawn?: {
            pitch?: number;
            world: string;
            x: string | number;
            y?: string | number;
            yaw?: number;
            z: string | number;
        };
        stats?: {
            balance: number;
            maxTownBlocks?: number;
            numResidents?: number;
            numTownBlocks?: number;
            numTowns?: number;
        };
        status?: Partial<{
            isCapital: boolean;
            isNPC: boolean;
            isNeutral: boolean;
            isOnline: boolean;
            isOpen: boolean;
            isOverClaimed: boolean;
            isPublic: boolean;
            isRuined: boolean;
        }>;
        towns: string[];
        uuid?: string;
        wealth: number;
        wiki?: string;
    }[]>

\ No newline at end of file diff --git a/docs/functions/api_squaremap_parser.parsePlayers.html b/docs/functions/api_squaremap_parser.parsePlayers.html index 62c3541..c6282ee 100644 --- a/docs/functions/api_squaremap_parser.parsePlayers.html +++ b/docs/functions/api_squaremap_parser.parsePlayers.html @@ -1 +1 @@ -parsePlayers | EarthMC-NPM
  • Parameters

    • players: {
          display_name: string;
          name: string;
          uuid: string;
          world: string;
          x: string | number;
          yaw: string | number;
          z: string | number;
      }[]

    Returns SquaremapPlayer[]

\ No newline at end of file +parsePlayers | EarthMC-NPM
  • Parameters

    • players: {
          display_name: string;
          name: string;
          uuid: string;
          world: string;
          x: string | number;
          yaw: string | number;
          z: string | number;
      }[]

    Returns SquaremapPlayer[]

\ No newline at end of file diff --git a/docs/functions/api_squaremap_parser.parsePopup.html b/docs/functions/api_squaremap_parser.parsePopup.html index bb21bd4..fedfa13 100644 --- a/docs/functions/api_squaremap_parser.parsePopup.html +++ b/docs/functions/api_squaremap_parser.parsePopup.html @@ -1 +1 @@ -parsePopup | EarthMC-NPM
\ No newline at end of file +parsePopup | EarthMC-NPM
\ No newline at end of file diff --git a/docs/functions/api_squaremap_parser.parseResidents.html b/docs/functions/api_squaremap_parser.parseResidents.html index 6753f1a..611ad0d 100644 --- a/docs/functions/api_squaremap_parser.parseResidents.html +++ b/docs/functions/api_squaremap_parser.parseResidents.html @@ -1 +1 @@ -parseResidents | EarthMC-NPM
  • Parameters

    • towns: {
          area: number;
          balance?: number;
          board?: string;
          bounds: TownBounds;
          colours: {
              fill: `#${string}`;
              outline: `#${string}`;
          };
          councillors: string[];
          flags: {
              capital: boolean;
              public: boolean;
              pvp: boolean;
          };
          foundedTimestamp: number;
          founder?: string;
          mayor: string;
          name: string;
          nation: string;
          opacities?: {
              fill: Opacity;
              outline: Opacity;
          };
          outlaws?: string[];
          points: {
              x: number;
              z: number;
          }[];
          residents: string[];
          timestamps?: {
              founded: number;
              joinedNation?: number;
          };
          trusted?: string[];
          wealth?: number;
          wikis?: {
              nation?: string;
              town?: string;
          };
          x: number;
          z: number;
      }[]

    Returns Resident[]

\ No newline at end of file +parseResidents | EarthMC-NPM
  • Parameters

    • towns: {
          area: number;
          balance?: number;
          board?: string;
          bounds: TownBounds;
          colours: {
              fill: `#${string}`;
              outline: `#${string}`;
          };
          councillors: string[];
          flags: {
              capital: boolean;
              public: boolean;
              pvp: boolean;
          };
          foundedTimestamp: number;
          founder?: string;
          mayor: string;
          name: string;
          nation: string;
          opacities?: {
              fill: Opacity;
              outline: Opacity;
          };
          outlaws?: string[];
          points: {
              x: number;
              z: number;
          }[];
          residents: string[];
          timestamps?: {
              founded: number;
              joinedNation?: number;
          };
          trusted?: string[];
          wealth?: number;
          wikis?: {
              nation?: string;
              town?: string;
          };
          x: number;
          z: number;
      }[]

    Returns Resident[]

\ No newline at end of file diff --git a/docs/functions/api_squaremap_parser.parseTowns.html b/docs/functions/api_squaremap_parser.parseTowns.html index 169baae..737632c 100644 --- a/docs/functions/api_squaremap_parser.parseTowns.html +++ b/docs/functions/api_squaremap_parser.parseTowns.html @@ -1 +1 @@ -parseTowns | EarthMC-NPM
  • Parameters

    • res: {
          control: boolean;
          hide: boolean;
          id: "towny" | "chunky";
          markers: {
              anchor?: Point2D;
              color?: `#${string}`;
              fill?: boolean;
              fillColor?: `#${string}`;
              fillOpacity?: Opacity;
              icon?: string;
              opacity?: Opacity;
              point?: Point2D;
              points?: StrictPoint2D[] | StrictPoint2D[][][];
              popup: string;
              size?: Point2D;
              tooltip: string;
              tooltip_anchor?: Point2D;
              type: SquaremapAreaType;
          }[];
          name: string;
          order: number;
          timestamp: number;
          z_index: number;
      }
      • control: boolean
      • hide: boolean
      • id: "towny" | "chunky"
      • markers: {
            anchor?: Point2D;
            color?: `#${string}`;
            fill?: boolean;
            fillColor?: `#${string}`;
            fillOpacity?: Opacity;
            icon?: string;
            opacity?: Opacity;
            point?: Point2D;
            points?: StrictPoint2D[] | StrictPoint2D[][][];
            popup: string;
            size?: Point2D;
            tooltip: string;
            tooltip_anchor?: Point2D;
            type: SquaremapAreaType;
        }[]
      • name: string
      • order: number
      • timestamp: number
      • z_index: number
    • removeAccents: boolean = false

    Returns Promise<{
        area: number;
        balance?: number;
        board?: string;
        bounds: TownBounds;
        colours: {
            fill: `#${string}`;
            outline: `#${string}`;
        };
        councillors: string[];
        flags: {
            capital: boolean;
            public: boolean;
            pvp: boolean;
        };
        foundedTimestamp: number;
        founder?: string;
        mayor: string;
        name: string;
        nation: string;
        opacities?: {
            fill: Opacity;
            outline: Opacity;
        };
        outlaws?: string[];
        points: {
            x: number;
            z: number;
        }[];
        residents: string[];
        timestamps?: {
            founded: number;
            joinedNation?: number;
        };
        trusted?: string[];
        wealth?: number;
        wikis?: {
            nation?: string;
            town?: string;
        };
        x: number;
        z: number;
    }[]>

\ No newline at end of file +parseTowns | EarthMC-NPM
  • Parameters

    • res: {
          control: boolean;
          hide: boolean;
          id: "towny" | "chunky";
          markers: {
              anchor?: Point2D;
              color?: `#${string}`;
              fill?: boolean;
              fillColor?: `#${string}`;
              fillOpacity?: Opacity;
              icon?: string;
              opacity?: Opacity;
              point?: Point2D;
              points?: StrictPoint2D[] | StrictPoint2D[][][];
              popup: string;
              size?: Point2D;
              tooltip: string;
              tooltip_anchor?: Point2D;
              type: SquaremapAreaType;
          }[];
          name: string;
          order: number;
          timestamp: number;
          z_index: number;
      }
      • control: boolean
      • hide: boolean
      • id: "towny" | "chunky"
      • markers: {
            anchor?: Point2D;
            color?: `#${string}`;
            fill?: boolean;
            fillColor?: `#${string}`;
            fillOpacity?: Opacity;
            icon?: string;
            opacity?: Opacity;
            point?: Point2D;
            points?: StrictPoint2D[] | StrictPoint2D[][][];
            popup: string;
            size?: Point2D;
            tooltip: string;
            tooltip_anchor?: Point2D;
            type: SquaremapAreaType;
        }[]
      • name: string
      • order: number
      • timestamp: number
      • z_index: number
    • removeAccents: boolean = false

    Returns Promise<{
        area: number;
        balance?: number;
        board?: string;
        bounds: TownBounds;
        colours: {
            fill: `#${string}`;
            outline: `#${string}`;
        };
        councillors: string[];
        flags: {
            capital: boolean;
            public: boolean;
            pvp: boolean;
        };
        foundedTimestamp: number;
        founder?: string;
        mayor: string;
        name: string;
        nation: string;
        opacities?: {
            fill: Opacity;
            outline: Opacity;
        };
        outlaws?: string[];
        points: {
            x: number;
            z: number;
        }[];
        residents: string[];
        timestamps?: {
            founded: number;
            joinedNation?: number;
        };
        trusted?: string[];
        wealth?: number;
        wikis?: {
            nation?: string;
            town?: string;
        };
        x: number;
        z: number;
    }[]>

\ No newline at end of file