{"id":25096189,"url":"https://github.com/sergeantserk/mcquery","last_synced_at":"2025-04-16T20:52:52.331Z","repository":{"id":41092906,"uuid":"209408317","full_name":"SergeantSerk/MCQuery","owner":"SergeantSerk","description":"A C# library for querying/pinging Minecraft servers.","archived":false,"fork":false,"pushed_at":"2022-07-13T19:28:15.000Z","size":52,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T05:41:32.019Z","etag":null,"topics":["csharp","minecraft"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/SergeantSerk.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}},"created_at":"2019-09-18T21:37:06.000Z","updated_at":"2024-04-08T11:47:08.000Z","dependencies_parsed_at":"2022-07-14T08:17:12.284Z","dependency_job_id":null,"html_url":"https://github.com/SergeantSerk/MCQuery","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergeantSerk%2FMCQuery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergeantSerk%2FMCQuery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergeantSerk%2FMCQuery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergeantSerk%2FMCQuery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SergeantSerk","download_url":"https://codeload.github.com/SergeantSerk/MCQuery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249275774,"owners_count":21242284,"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":["csharp","minecraft"],"created_at":"2025-02-07T16:21:56.669Z","updated_at":"2025-04-16T20:52:52.305Z","avatar_url":"https://github.com/SergeantSerk.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCQuery [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FSergeantSerk%2FMCQuery.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FSergeantSerk%2FMCQuery?ref=badge_shield) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/962a271ffb45453f9be089d88021aabc)](https://www.codacy.com/gh/SergeantSerk/MCQuery/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=SergeantSerk/MCQuery\u0026amp;utm_campaign=Badge_Grade) [![Build status](https://ci.appveyor.com/api/projects/status/q2imiippvb2yotxn?svg=true)](https://ci.appveyor.com/project/SergeantSerk/mcquery)\n\n## Description\nA C# library for querying/pinging Minecraft servers.\n\n## Sample Usage\nSee sample code below for basic usage.\n```C#\nusing MCQuery;\nusing System;\n\nnamespace Sample\n{\n    public class Program\n    {\n        private static string address = \"mc.hypixel.net\";\n        private static int port = 25565;\n\n        public static void Main(string[] args)\n        {\n            MCServer server = new MCServer(address, port);\n            ServerStatus status = server.Status();\n            double ping = server.Ping();\n            Console.WriteLine($\"Server: {server.Address}:{server.Port}\");\n            Console.WriteLine($\"Ping:   {ping}ms\");\n            Console.WriteLine($\"Status: {status.Players.Online}\");\n        }\n    }\n}\n```\n\n## Installation\nRecommended way of installing is through [NuGet](https://www.nuget.org/packages/MCQuery/) where packages are updated alongside master branch.\n\nFor the latest features (bleeding-edge), clone this repository and open the **`MCQuery/MCQuery.sln`** solution in Visual Studio. Build using the **Release** configuration and use the **`MCQuery/bin/Release/netstandard2.0/MCQuery.dll`** file in your project.\n\nAlternatively, you can download the DLL (not always up-to-date) from the [Release](https://github.com/SergeantSerk/MCQuery/releases) page.\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FSergeantSerk%2FMCQuery.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FSergeantSerk%2FMCQuery?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeantserk%2Fmcquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergeantserk%2Fmcquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeantserk%2Fmcquery/lists"}