theory/builder

An object-oriented approach to server modification

0.0.1 2016-07-09 08:42 UTC

This package is auto-updated.

Last update: 2024-04-19 00:31:13 UTC


README

Build Status Version License

An object-oriented approach to server modification.

Installation

$ composer require theory/builder

Examples

$builder = new Client("127.0.0.1", 25575, "password");
$builder->exec("/say hello world");

You need the following settings in your server.properties file:

enable-query=true
enable-rcon=true
query.port=25565
rcon.port=25575
rcon.password=password

Versioning

This library follows Semver. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.

All methods, with public visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep protected methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.