UNPKG

minestat-es

Version:

Promise-based Minecraft server status

9 lines (8 loc) 382 B
import { QueryProtocol } from './protocol'; import { Description, ServerInfo } from './types'; export declare const buildMotd: (description: Description, previous?: string) => string; export declare class ModernQueryProtocol implements QueryProtocol { handshakePacket(address: string, port: number): Buffer; pingPacket(): Buffer; parse(response?: Buffer): ServerInfo; }