1
0
Fork 0
A PHP class for checking the status of an enabled Minecraft server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Anton Smirnov f421091cf0
Initial rewrite from python + motd cleaning
9 years ago
classes Initial rewrite from python + motd cleaning 9 years ago
example Initial rewrite from python + motd cleaning 9 years ago
.gitignore Initial rewrite from python + motd cleaning 9 years ago
README.md Initial rewrite from python + motd cleaning 9 years ago
composer.json Initial rewrite from python + motd cleaning 9 years ago

README.md

Minecraft Server Query

A PHP library rewritten from python https://github.com/Dinnerbone/mcstatus

Usage

$minecraft = new \SandFoxIM\Minecraft\ServerQuery($argv[1], $argv[2], 2);

echo "Basic info:\n";
var_export($minecraft->getStatus());

echo "Full info:\n";
var_export($minecraft->getRules());