Skip to content

Instantly share code, notes, and snippets.



Last active Dec 22, 2020
What would you like to do?
Minecraft Server List PHP
Advertise your Minecraft server for free
$data = @file_get_contents("");
$server = json_decode($data);
echo "Address: ".$server->address."<br/>";
echo "Players online: ".$server->players->online."<br/>";
echo "Version: ".$server->version->name;
echo "Server is offline.";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.