{"id":24395335,"url":"https://github.com/janispritzkau/rcon-client","last_synced_at":"2026-02-28T21:30:50.872Z","repository":{"id":37849959,"uuid":"200815139","full_name":"janispritzkau/rcon-client","owner":"janispritzkau","description":"A simple and modern RCON client made to work with Minecraft","archived":false,"fork":false,"pushed_at":"2024-09-04T11:17:50.000Z","size":77,"stargazers_count":69,"open_issues_count":9,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-12T21:11:46.808Z","etag":null,"topics":["client","javascript","minecraft","nodejs","protocol","rcon","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/janispritzkau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-08-06T09:00:48.000Z","updated_at":"2025-10-01T13:09:08.000Z","dependencies_parsed_at":"2024-06-18T15:22:27.551Z","dependency_job_id":"dd072d6f-f0e7-4acd-b749-a0aa37e5ba71","html_url":"https://github.com/janispritzkau/rcon-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/janispritzkau/rcon-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janispritzkau%2Frcon-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janispritzkau%2Frcon-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janispritzkau%2Frcon-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janispritzkau%2Frcon-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janispritzkau","download_url":"https://codeload.github.com/janispritzkau/rcon-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janispritzkau%2Frcon-client/sbom","scorecard":{"id":505224,"data":{"date":"2025-08-11","repo":{"name":"github.com/janispritzkau/rcon-client","commit":"9c7b5aff5070e4673a7f43d6e5a45b1c873f14ef"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 3/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T23:07:32.252Z","repository_id":37849959,"created_at":"2025-08-19T23:07:32.252Z","updated_at":"2025-08-19T23:07:32.252Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29952233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"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":["client","javascript","minecraft","nodejs","protocol","rcon","typescript"],"created_at":"2025-01-19T20:27:10.354Z","updated_at":"2026-02-28T21:30:50.845Z","avatar_url":"https://github.com/janispritzkau.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rcon-client\r\n\r\n[![npm](https://img.shields.io/npm/v/rcon-client.svg)](https://www.npmjs.com/package/rcon-client)\r\n[![downloads](https://img.shields.io/npm/dm/rcon-client.svg)](https://www.npmjs.com/package/rcon-client)\r\n\r\n\u003e **⚠️ This library has not been maintained for a while. Please use it with caution or switch to another implementation!**\r\n\r\nA simple and easy to use RCON client made to work with Minecraft servers.\r\nIt's written in Typescript and uses async methods.\r\n\r\n`rcon-client` has a built-in packet queue with a max pending setting which limits\r\nthe number of packets sent before one is received.\r\nIf you need to send a bunch of packets at once, this library might be right for you.\r\nThis was mainly the reason why I created yet another implementation.\r\n\r\nThe `Rcon` class supports connecting and disconnecting at any time, making it easier to share an instance in many places.\r\n\r\n## Usage\r\n\r\n```js\r\nimport { Rcon } from \"rcon-client\"\r\n\r\nconst rcon = await Rcon.connect({\r\n    host: \"localhost\", port: 25575, password: \"1234\"\r\n})\r\n\r\nconsole.log(await rcon.send(\"list\"))\r\n\r\nlet responses = await Promise.all([\r\n    rcon.send(\"help\"),\r\n    rcon.send(\"whitelist list\")\r\n])\r\n\r\nfor (response of responses) {\r\n    console.log(response)\r\n}\r\n\r\nrcon.end()\r\n```\r\n\r\nOr alternatively you can create an instance via the constructor.\r\n\r\n```js\r\nconst rcon = new Rcon({ host: \"localhost\", port: 25575, password: \"1234\" })\r\n\r\nawait rcon.connect()\r\nrcon.end()\r\n```\r\n\r\nMore examples can be found in the repository's [`examples/`](https://github.com/janispritzkau/rcon-client/tree/master/examples) folder.\r\n\r\n## Events\r\n\r\n`rcon-client` uses node's event emitter internally. The event emitter is accessible\r\nwith the `emitter` property. Additionally the `on`, `once` and `off` methods are exposed on the main class.\r\n\r\nThe `Rcon` class has these events:\r\n\r\n- `connect`\r\n- `authenticated`\r\n- `end`\r\n- `error`\r\n\r\nAuto reconnect can be implemented with these events.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanispritzkau%2Frcon-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanispritzkau%2Frcon-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanispritzkau%2Frcon-client/lists"}