minecraftstatuspinger
Version:
A modern library for pinging Minecraft servers and getting their status and playerlist, written in TypeScript with zero dependencies.
10 lines • 527 B
TypeScript
declare function craftHandshake(hostname: string, port: number, protocolVersion: number): Promise<Uint8Array<ArrayBufferLike>>;
declare function craftEmptyPacket(packetID: number): Promise<Uint8Array<ArrayBufferLike>>;
declare function craftPingPacket(): Promise<Uint8Array<ArrayBufferLike>>;
declare const _default: {
craftHandshake: typeof craftHandshake;
craftEmptyPacket: typeof craftEmptyPacket;
craftPingPacket: typeof craftPingPacket;
};
export default _default;
//# sourceMappingURL=packetGenerator.d.ts.map