Minecraft Query

Component ID

2775141

Component name

Minecraft Query

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Exposes the xPaw PHP-Minecraft-Query library and the public methods within MinecraftQuery.php and MinecraftPing.php. Supports standard Minecraft ping protocol, both pre and post 1.7, as well as the Gamespy4 protocol.

Public Methods:

minecraft_query_ping_server($ip, $port, $timeout)

Pings a minecraft server using the Minecraft ping protocol and returns an array of data.

minecraft_query_ping_server_old($ip, $port, $timeout)

Pings a minecraft server (Pre 1.7) using the Minecraft ping protocol and returns an array of data.

minecraft_query_query_server($ip, $port, $timeout)

Queries a minecraft server using the Gamespy4 protocol and returns an array of data.

Dependencies:

- libraries
- xautoload
- xPaw/PHP-Minecraft-Query library

Related Modules:

- minecraft_status
- minecraft_players