{"id":20900451,"url":"https://github.com/flame-development/rcon-ping","last_synced_at":"2026-03-01T14:03:46.000Z","repository":{"id":255446341,"uuid":"852137614","full_name":"Flame-Development/Rcon-Ping","owner":"Flame-Development","description":"A Node.js client for checking if a Minecraft server's RCON is live and exists with the given hostname, port, and password.","archived":false,"fork":false,"pushed_at":"2024-09-09T13:32:09.000Z","size":63,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T14:17:14.126Z","etag":null,"topics":["minecraft","minecraft-server","net","nodejs","ping","rcon","rcon-ping"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flame-Development.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-04T09:36:44.000Z","updated_at":"2024-09-18T11:46:59.000Z","dependencies_parsed_at":"2024-11-19T04:15:30.008Z","dependency_job_id":"259743c5-e36e-44bf-b959-eb922b57c980","html_url":"https://github.com/Flame-Development/Rcon-Ping","commit_stats":null,"previous_names":["flame-development/rcon-ping"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Flame-Development/Rcon-Ping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flame-Development%2FRcon-Ping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flame-Development%2FRcon-Ping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flame-Development%2FRcon-Ping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flame-Development%2FRcon-Ping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flame-Development","download_url":"https://codeload.github.com/Flame-Development/Rcon-Ping/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flame-Development%2FRcon-Ping/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29970545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T13:32:00.443Z","status":"ssl_error","status_checked_at":"2026-03-01T13:32:00.084Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["minecraft","minecraft-server","net","nodejs","ping","rcon","rcon-ping"],"created_at":"2024-11-18T11:19:40.785Z","updated_at":"2026-03-01T14:03:45.974Z","avatar_url":"https://github.com/Flame-Development.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\t\u003cp\u003e\n\t\t\u003ca href=\"https://www.npmjs.com/package/rcon-ping\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/rcon-ping?color=4B68F6\u0026style=for-the-badge\" alt=\"NPM Downloads\" /\u003e\u003c/a\u003e\n\t\t\u003ca href=\"https://www.npmjs.com/package/rcon-ping\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/rcon-ping?color=04DCC6\u0026style=for-the-badge\" alt=\"npm Version\" /\u003e\u003c/a\u003e\n\t\u003c/p\u003e\n\u003c/div\u003e\n\n# RconPing\n\nA Node.js client for checking if a Minecraft server's RCON is live and exists with the given hostname, port, and password.\nDeveloped by Mehran1022\n\n## Features\n\n- Connect to a Minecraft server using RCON\n- Authenticate with the server\n- Handle errors and timeouts gracefully\n- Modular and maintainable code structure\n\n## Installation\nInstall with [npm](https://www.npmjs.com/) / [yarn](https://yarnpkg.com) / [pnpm](https://pnpm.js.org/):\n```sh\nnpm install rcon-ping\nyarn add rcon-ping\npnpm add rcon-ping\n```\n\n## Usage\nHere’s an example of how to use the RconPing class:\n\n```javascript\nconst RconPing = require('rcon-ping');\n\nconst hostname = '0.0.0.0'; // Should be enable-rcon=true in server.properties\nconst port = 25575; // rcon.port in server.properties\nconst password = 'yourpassword'; // rcon.password in server.properties\n\nasync function main() {\n\tconst client = new RconPing(hostname, port, password)\n\ttry {\n\t\tconst result = await client.connect()\n\t\tconsole.log(result)\n\t} catch (error) {\n\t\tconsole.log(error.message)\n\t}\n}\nmain()\n```\n\n## Methods\n\n`RconPing`\n`constructor(hostname, port, password)`\n\nCreates a new instance of the RconPing class.\n\n- `hostname` (string): The hostname of the Minecraft server.\n- `port` (number): The port of the Minecraft server.\n- `password` (string): The RCON password for the Minecraft server.\n\n`connect()`\nConnects to the Minecraft server and authenticates using the provided hostname, port, and password.\nReturns a promise that resolves with a success message or rejects with an error message.\n\n## Error Handling\nThe connect method provides detailed error messages for various scenarios, such as incorrect passwords, connection timeouts, and invalid responses from the server.\n\n## Contributing\nContributions are welcome! Please open an issue or submit a pull request with your changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflame-development%2Frcon-ping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflame-development%2Frcon-ping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflame-development%2Frcon-ping/lists"}