{"repo":"woodendoors7/MinecraftStatusPinger","free":true,"listed":false,"github":"https://github.com/woodendoors7/MinecraftStatusPinger","clone":"git clone https://github.com/woodendoors7/MinecraftStatusPinger.git","description":"🟩 A Minecraft Status Pinger","language":"TypeScript","stars":57,"topics":["minecraft","minecraft-ping","minecraft-pinger","minecraft-server","tcp","javascript","minecraft-cheat","minecraft-datapack","minecraft-forge","minecraft-hack"],"license":"GPL-3.0","category":"game-templates","readme_excerpt":"A modern, small, fast, performant, zero dependency TypeScript library made for pinging and getting status of Minecraft servers. What can this be used for? - Getting server Latency (ping) - Getting server MOTD - Downloading server Thumbnail (favicon) - Viewing Server Version - Fetching Player Count and Playerlist And in general, checking the status of Minecraft servers! Getting started Requirements - NodeJS, Deno or Bun (used to run JavaScript code) - NPM/JSR (used to install JavaScript packages) Installation Basic Example Advanced Example Docs .lookup(): ((options: ServerStatusOptions) = Promise ) options: ServerStatusOptions host: string An IP address or hostname of the server. (alias: hostname) port?: number default: 25565 Port of the server. SRV lookup is disabled when using ports other than 25565. timeout?: number default: 10000 The time (in milliseconds) to wait for a response before throwing an error if the transaction isn’t completed. (Default: 10 seconds) ping?: boolean default: true Whether to send a payload at the end to measure the server latency. If false, the latency field will be null. protocolVersion?: number default: 769 The protocol version sent to the server to simulate different Minecraft client versions. Refer to the Protocol Version Numbers for details. It is recommended to set this explicitly, as it will be updated periodically through minor version bumps. The default is 769 (Minecraft 1.21.4). throwOnParseError?: boolean default: true If true, an error ","default_branch":null,"files":null,"tree":[],"storefront":"/r/woodendoors7","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/woodendoors7/MinecraftStatusPinger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}