Skip to content

PHP Class for querying minecraft (beta 1.9+) servers

Notifications You must be signed in to change notification settings

martok-stacks/MCStatus-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCStatus - Minecraft Server Status

Also see: Python mcstatus by Dinnerbone.

Usage

See example_status.php for real-world code.

Generally though, that's all:

$mcs = new MCStatus($host, $port);
$stuff = $mcs->getFull();

The elements of "stuff" may be subject to change and so are not documented here. http://wiki.vg/Query has a list though.

Rights

CC BY-NC-SA 3.0

Clarification:

  • NC refers to the code itself, not what you build around it (e.g. ad-sponsored sites are o.k.)
  • to satisfy BY, simply link to the project's GitHub page.

About

PHP Class for querying minecraft (beta 1.9+) servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages