{"id":15068973,"url":"https://github.com/pequla/serverping","last_synced_at":"2025-04-10T17:11:32.214Z","repository":{"id":122548802,"uuid":"359153978","full_name":"Pequla/ServerPing","owner":"Pequla","description":"Very simple and fast Minecraft server status library using the Server List Ping protocol","archived":false,"fork":false,"pushed_at":"2023-02-12T09:10:13.000Z","size":24,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T14:51:22.027Z","etag":null,"topics":["gson","java-11","java11","minecraft","minecraft-library","minecraft-ping"],"latest_commit_sha":null,"homepage":"https://wiki.vg/Server_List_Ping","language":"Java","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/Pequla.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":"2021-04-18T13:41:48.000Z","updated_at":"2024-12-29T16:27:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"2da24941-0704-472f-9321-956b5ca2b1fc","html_url":"https://github.com/Pequla/ServerPing","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pequla%2FServerPing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pequla%2FServerPing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pequla%2FServerPing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pequla%2FServerPing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pequla","download_url":"https://codeload.github.com/Pequla/ServerPing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261621,"owners_count":21074223,"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":["gson","java-11","java11","minecraft","minecraft-library","minecraft-ping"],"created_at":"2024-09-25T01:39:54.666Z","updated_at":"2025-04-10T17:11:32.194Z","avatar_url":"https://github.com/Pequla.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ServerPing\n\nAre you looking for a simple-to-use Minecraft Server List Ping library with a permissive licence? Look no further, you\njust found it.\n\n### Usage\n\nIf you are using Maven just add the following to your `pom.xml`\n\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003epequla-repo\u003c/id\u003e\n        \u003curl\u003ehttps://maven.pequla.com/releases\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.pequla\u003c/groupId\u003e\n        \u003cartifactId\u003eserver-ping\u003c/artifactId\u003e\n        \u003cversion\u003e1.2\u003c/version\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.google.code.gson\u003c/groupId\u003e\n        \u003cartifactId\u003egson\u003c/artifactId\u003e\n        \u003cversion\u003e2.10.1\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n### Example\n\n```java\npublic class ServerPingExample {\n    public static void main(String[] args) throws IOException {\n        InetAddress address = InetAddress.getByName(\"play.beocraft.net\");\n        int port = 25565;\n        ServerPing ping = new ServerPing(new InetSocketAddress(address, port));\n        StatusResponse response = ping.fetchData();\n        System.out.println(response.getPlayers().getOnline());\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpequla%2Fserverping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpequla%2Fserverping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpequla%2Fserverping/lists"}