{"id":28706313,"url":"https://github.com/devraikou/minecraft-query","last_synced_at":"2025-10-06T19:37:19.495Z","repository":{"id":297900342,"uuid":"986231320","full_name":"devRaikou/minecraft-query","owner":"devRaikou","description":"A simple yet powerful Minecraft server status API built from scratch. Check the status of any Minecraft Java or Bedrock server in real-time.","archived":false,"fork":false,"pushed_at":"2025-06-08T07:10:47.000Z","size":798,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T08:19:45.040Z","etag":null,"topics":["mcsrvstat","mcsrvstatus","minecraft","minecraft-query","minecraft-status","minecraftserver"],"latest_commit_sha":null,"homepage":"https://api.raikou.me","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/devRaikou.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,"zenodo":null}},"created_at":"2025-05-19T09:54:02.000Z","updated_at":"2025-06-08T07:10:50.000Z","dependencies_parsed_at":"2025-06-08T08:30:07.722Z","dependency_job_id":null,"html_url":"https://github.com/devRaikou/minecraft-query","commit_stats":null,"previous_names":["devraikou/minecraft-query"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devRaikou/minecraft-query","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devRaikou%2Fminecraft-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devRaikou%2Fminecraft-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devRaikou%2Fminecraft-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devRaikou%2Fminecraft-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devRaikou","download_url":"https://codeload.github.com/devRaikou/minecraft-query/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devRaikou%2Fminecraft-query/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259835416,"owners_count":22918985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["mcsrvstat","mcsrvstatus","minecraft","minecraft-query","minecraft-status","minecraftserver"],"created_at":"2025-06-14T15:09:52.228Z","updated_at":"2025-10-06T19:37:19.370Z","avatar_url":"https://github.com/devRaikou.png","language":"JavaScript","readme":"# Minecraft Server Status Checker\n\nA comprehensive Minecraft server status checker application that supports both Java and Bedrock editions. Built from scratch without external API dependencies, powered by [sghq.network](https://sghq.network).\n\n## Features\n\n- Query Minecraft server status for both Java and Bedrock editions\n- Modern dark-themed UI with a purple/cyan color scheme\n- Get player count (online/max) and player list\n- Get server version and protocol version\n- Get server MOTD (Message of the Day) with formatting\n- Color-coded latency display\n- Get mod information (if server uses Forge/FML)\n- Get server icon (favicon)\n\n## Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/devRaikou/minecraft-query.git\ncd minecraft-query\n\n# Install dependencies\nnpm install\n\n# Start the server\nnpm start\n\n# For development with auto-restart\nnpm run dev\n```\n\nThe server will start on port 3000 by default. You can change this by setting the `PORT` environment variable.\n\n## API Usage\n\n### Get Java Server Status\n\n```\nGET /api/java/:server\n```\n\n#### Parameters\n\n- `server`: The Minecraft Java server address (domain or IP)\n- `port` (optional): The server port (default: 25565)\n\n#### Example\n\n```\nGET /api/java/mc.hypixel.net\n```\n\n### Get Bedrock Server Status\n\n```\nGET /api/bedrock/:server\n```\n\n#### Parameters\n\n- `server`: The Minecraft Bedrock server address (domain or IP)\n- `port` (optional): The server port (default: 19132)\n\n#### Example\n\n```\nGET /api/bedrock/play.nethergames.org\n```\n\n### Response Format\n\n```json\n{\n  \"status\": \"success\",\n  \"ip\": \"mc.hypixel.net\",\n  \"port\": 25565,\n  \"edition\": \"java\",\n  \"online\": true,\n  \"version\": \"Requires MC 1.8-1.20\",\n  \"protocol\": 47,\n  \"ping_method\": \"modern\",\n  \"latency\": 42,\n  \"motd\": \"Hypixel Network [1.8-1.20]\",\n  \"players\": {\n    \"online\": 78452,\n    \"max\": 200000,\n    \"list\": [\n      {\"name\": \"Player1\", \"id\": \"uuid-here\"},\n      {\"name\": \"Player2\", \"id\": \"uuid-here\"}\n    ]\n  },\n  \"mods\": {\n    \"count\": 3,\n    \"list\": [\n      {\"name\": \"forge\", \"version\": \"14.23.5.2860\"},\n      {\"name\": \"custommod\", \"version\": \"1.0.0\"}\n    ]\n  },\n  \"favicon\": \"data:image/png;base64,...\"\n}\n```\n\n### Offline Server Response\n\n```json\n{\n  \"status\": \"error\",\n  \"ip\": \"nonexistent-server.com\",\n  \"port\": 25565,\n  \"edition\": \"java\",\n  \"error\": \"Connection failed: getaddrinfo ENOTFOUND nonexistent-server.com\",\n  \"online\": false\n}\n```\n\n## How It Works\n\nThis application uses direct TCP/UDP connections to query Minecraft servers:\n\n- **Java Edition**: Uses the Server List Ping protocol over TCP\n- **Bedrock Edition**: Uses the Raknet protocol over UDP\n\nNo third-party Minecraft status libraries or external APIs are used.\n\n### Supported Minecraft Versions\n\n- **Java Edition**: Best support for versions 1.8 and above\n- **Bedrock Edition**: Support for all modern Bedrock server versions\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevraikou%2Fminecraft-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevraikou%2Fminecraft-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevraikou%2Fminecraft-query/lists"}