theory / builder
An object-oriented approach to server modification
0.0.1
2016-07-09 08:42 UTC
Requires
- php: ^5.6|^7.0
- xpaw/php-minecraft-query: ^1.0
- xpaw/php-source-query-class: ^1.0
Requires (Dev)
- phpunit/phpunit: ^4.0|^5.0
README
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.