{"id":19962723,"url":"https://github.com/mops1k/minecraftserverstatus","last_synced_at":"2026-05-13T14:34:30.520Z","repository":{"id":57019727,"uuid":"80562352","full_name":"mops1k/minecraftserverstatus","owner":"mops1k","description":"Minecraft Server Status, library to make query for get server information with online players, motd, favicon and more related informations without plugins and enable-query.","archived":false,"fork":false,"pushed_at":"2017-02-04T22:26:38.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T08:16:18.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mops1k.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":"2017-01-31T21:07:03.000Z","updated_at":"2019-09-30T20:32:30.000Z","dependencies_parsed_at":"2022-08-22T20:20:20.679Z","dependency_job_id":null,"html_url":"https://github.com/mops1k/minecraftserverstatus","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mops1k%2Fminecraftserverstatus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mops1k%2Fminecraftserverstatus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mops1k%2Fminecraftserverstatus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mops1k%2Fminecraftserverstatus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mops1k","download_url":"https://codeload.github.com/mops1k/minecraftserverstatus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241396753,"owners_count":19956405,"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":[],"created_at":"2024-11-13T02:12:44.825Z","updated_at":"2026-05-13T14:34:30.485Z","avatar_url":"https://github.com/mops1k.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Minecraft Server Status\n\nMinecraft Server Status, library to make query with online players, motd, favicon and more server related informations without plugins and enable-query.\n\n*Tested with Spigot 1.11\n\n### Installation\n```\ncomposer require mops1k/minecraftserverstatus\n```\n###Tutorial\n```php\n\u003c?php\nuse MinecraftServerStatus\\MinecraftServerStatus;\n\nrequire '../vendor/autoload.php';\n\n$status = new MinecraftServerStatus();\n$status\n    -\u003esetHost('localhost')\n    -\u003esetPort(25565)\n;\n\nif (!$status-\u003equery()) {\n    echo \"The Server is offline!\";\n} else {\n    $data = $status-\u003egetData();\n\n    if ($data-\u003egetFavicon()) {\n        echo \"\u003cimg width=\\\"64\\\" height=\\\"64\\\" src=\\\"\" . $data-\u003egetFavicon() . \"\\\" /\u003e \u003cbr\u003e\";\n    }\n    echo \"The Server \" . $data-\u003egetHostname() . \" is running on \" . $data-\u003egetVersion() . \" and is online,\n\t\tcurrently are \" . $data-\u003egetPlayers() . \" players online\n\t\tof a maximum of \" . $data-\u003egetMaxPlayers() . \". The motd of the server is '\" . $data-\u003egetDescription() . \"'.\n\t\tThe server has a ping of \" . $data-\u003egetPing() . \" milliseconds.\";\n}\n```\nIf the server is offline $status-\u003equery() returns false else it returns true and fill the server informations to $status-\u003egetData().\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmops1k%2Fminecraftserverstatus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmops1k%2Fminecraftserverstatus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmops1k%2Fminecraftserverstatus/lists"}