2017 © Pedro Peláez
 

library minecraft-commander

PHP Mincraft-Server client

image

gries/minecraft-commander

PHP Mincraft-Server client

  • Sunday, December 14, 2014
  • by gries
  • Repository
  • 1 Watchers
  • 3 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

minecraft-commander

This is a library to send commands (http://minecraft.gamepedia.com/Commands) to a minecraft-server and parse their output., (*1)

SensioLabsInsight, (*2)

Build Status, (*3)

Installation

minecraft-commander can be installed via. Composer:, (*4)

composer require "gries/minecraft-commands"

Basic usage

use gries\Minecraft\Commander\CommanderFactory;

require_once __DIR__ . '/../vendor/autoload.php';

// create a Commander
$commander = CommanderFactory::create('example.com', 25575, 'mypass');

// set the server-time
$commander->setTime('12000');

// listPlayers
$players = $commander->listPlayers();

print_r($players);

echo $commander->raw('seed');

Currently these Commands are available for the Commander

  • say
  • listPlayers
  • locatePlayer
  • teleport
  • give
  • setWeather
  • setTime
  • setBlock
  • raw

Running the tests

bin/phpspec run

Contribute!

Feel free to give me feedback/feature-request/bug-reports via. github issues. Or just send me a pull-request :), (*5)

Author

License

For the full copyright and license information, please view the LICENSE file that was distributed with this source code., (*6)

The Versions

14/12 2014

dev-master

9999999-dev

PHP Mincraft-Server client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christoph Rosse

commands minecraft rcon

14/12 2014

0.0.1

0.0.1.0

PHP Mincraft-Server client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christoph Rosse

commands minecraft rcon