Implements

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Returns Promise<{
        name: string;
        nation?: string;
        nickname?: string;
        online: boolean;
        rank: string;
        town: string;
        underground?: boolean;
        world?: string;
        x?: string | number;
        yaw?: string | number;
        z?: string | number;
    }[]>

  • Parameters

    • Rest...names: string[]

    Returns Promise<NotFoundError | {
        name: string;
        nation?: string;
        nickname?: string;
        online: boolean;
        rank: string;
        town: string;
        underground?: boolean;
        world?: string;
        x?: string | number;
        yaw?: string | number;
        z?: string | number;
    } | (NotFoundError | {
        name: string;
        nation?: string;
        nickname?: string;
        online: boolean;
        rank: string;
        town: string;
        underground?: boolean;
        world?: string;
        x?: string | number;
        yaw?: string | number;
        z?: string | number;
    })[]>

  • Parameters

    • location: StrictPoint2D
    • radius: StrictPoint2D
    • Optionalplayers: {
          name: string;
          nickname?: string;
          underground?: boolean;
          world?: string;
          x: string | number;
          yaw?: string | number;
          z: string | number;
      }[]

    Returns Promise<Partial<{
        name: string;
        nation?: string;
        nickname?: string;
        online: boolean;
        rank: string;
        town: string;
        underground?: boolean;
        world?: string;
        x?: string | number;
        yaw?: string | number;
        z?: string | number;
    }>[]>

  • Parameters

    • includeResidentInfo: boolean = false

    Returns Promise<{
        name: string;
        nickname?: string;
        underground?: boolean;
        world?: string;
        x: string | number;
        yaw?: string | number;
        z: string | number;
    }[] | {
        name: string;
        nation?: string;
        nickname?: string;
        online: boolean;
        rank: string;
        town: string;
        underground?: boolean;
        world?: string;
        x?: string | number;
        yaw?: string | number;
        z?: string | number;
    }[]>

  • Returns Promise<({
        name: string;
        nickname?: string;
        underground?: boolean;
        world?: string;
        x: string | number;
        yaw?: string | number;
        z: string | number;
    } | {
        name: string;
        nation?: string;
        nickname?: string;
        online: boolean;
        rank: string;
        town: string;
        underground?: boolean;
        world?: string;
        x?: string | number;
        yaw?: string | number;
        z?: string | number;
    })[]>