2017 © Pedro Peláez
 

library minecraft-query

A PHP class for checking the status of an enabled Minecraft server

image

sandfoxme/minecraft-query

A PHP class for checking the status of an enabled Minecraft server

  • Saturday, January 20, 2018
  • by sandfox.me
  • Repository
  • 1 Watchers
  • 3 Stars
  • 11 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 10 % Grown

The README.md

Minecraft Server Query

This library is not maintained. Please use some supported library like this one: https://github.com/xPaw/PHP-Minecraft-Query, (*1)

A PHP library for checking the status of an enabled Minecraft server ported from python https://github.com/Dinnerbone/mcstatus, (*2)

Installation

Add the following code to your composer file., (*3)

{
    "require": {
        "sandfox-im/bencode": "^1.0"
    }
}

Usage

<?php

$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());

The Versions

20/01 2018

dev-master

9999999-dev

A PHP class for checking the status of an enabled Minecraft server

  Sources   Download

MIT

The Requires

  • ext-sockets *
  • php >= 5.3

 

10/12 2017

1.0.2

1.0.2.0

A PHP class for checking the status of an enabled Minecraft server

  Sources   Download

MIT

The Requires

  • ext-sockets *
  • php >= 5.3

 

06/02 2014

1.0.1

1.0.1.0

A PHP class for checking the status of an enabled Minecraft server

  Sources   Download

MIT

The Requires

  • ext-sockets *
  • php >= 5.3

 

06/02 2014

1.0.0

1.0.0.0

A PHP class for checking the status of an enabled Minecraft server

  Sources   Download

MIT

The Requires

  • ext-sockets *
  • php >= 5.3