Hierarchy

  • MCAPI_SERVERS

Constructors

Methods

Constructors

Methods

  • The list of blocked servers. Expressed as SHA1 encoded IP addresses.

    Returns Promise<string[]>

    See

    Refer to the 'Blocked Servers' section of the wiki.

  • Pings and retreives info on the requested server.

    Parameters

    • host: string

      The server IP or hostname. Supports attaching the port number, e.g. play.example.net:3000

    • Optional port: number

      The server port number. If not specified, the ":port" postfix in the host string is used. Otherwise, it will fallback to the default of 25565.

    Returns Promise<Server>