OBSOLETE - PHP class for Minequery.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.txt
README.markdown
minequery.class.php
test-failure-no-player-query.php
usage.php

README.markdown

Minequery PHP

A PHP class for Minequery.

Usage

query

Minequery::query($address, $port = 25566, $timeout = 30);

Queries a Minequery Server.

Parameters:
$address - The address to the Minequery server.
$port - The port of the Minequery server.
$timeout - The time given before the connection attempt gives up.

Returns:
An array on success, FALSE on failure.

query_json

Minequery::query_json($address, $port = 25566, $timeout = 30);

Queries a Minequery Server using JSON.

Parameters:
$address - The address to the Minequery server.
$port - The port of the Minequery server.
$timeout - The time given before the connection attempt gives up.

Returns:
A stdClass object on success, FALSE on failure.

Coding Standard

Line Ending: UNIX
Indent: Tabs
Tab Size: 4
Brackets open at end of line for:

  • Functions
  • Classes
  • Class Functions

License

Copyright (c) 2011 Vex Software LLC, released under the GPL v3.