Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.markdown

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Scott Reed  >  Minecraft Query Class  >  readme.markdown  >  Download  
File: readme.markdown
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Minecraft Query Class
Query Minecraft game servers
Author: By
Last change:
Date: 2012-03-28 14:26
Size: 456 bytes
 

Contents

Class file image Download
# Minecraft PHP Query class

## Usage

### query

    MinecraftQuery::query($address, $port = 25566, $timeout = 2);

Queries a Minecraft server

**Parameters:**  
`$address` - IP address to the Minecraft server.
`$port` - Port of the Minecraft server.
`$timeout` - Time until giving up on connecting to the Minecraft server.

**Returns:**  
An array on success, FALSE on failure.

## License

Copyright (c) 2012 Scott Reed (h02), released under the GPL v3.