1
0
Fork 0
A PHP class for checking the status of an enabled Minecraft server
This repository has been archived on 2020-07-27. You can view files and clone it, but cannot push or open issues/pull-requests.
Go to file
Anton Smirnov aae8ef8154 update email 2016-09-06 03:17:36 +03:00
classes update email 2016-09-06 03:17:36 +03:00
example Fix incorrect Composer usage in example 2014-07-11 15:36:29 +04:00
.gitignore Initial rewrite from python + motd cleaning 2014-02-06 11:59:31 +04:00
README.md code climate 2016-04-04 03:12:12 +03:00
composer.json update email 2016-09-06 03:17:36 +03:00

README.md

Minecraft Server Query

Code Climate

A PHP library for checking the status of an enabled Minecraft server ported 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());