2017-25 © Pedro Peláez
 

library minecraft-query

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

image

sandfox-im/minecraft-query

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

  • Sunday, December 10, 2017
  • by sandfox.me
  • Repository
  • 1 Watchers
  • 0 Stars
  • 332 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % 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

10/12 2017

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

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

 

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

  • php >= 5.3
  • ext-sockets *

 

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

  • php >= 5.3
  • ext-sockets *