dev-master
9999999-dev http://github.com/GrailleMinecraft Server support in Symfony 2
MIT
The Requires
by graille
minecraft server management
Minecraft Server support in Symfony 2
DEVELOPMENT IN PROGRESS, (*1)
, (*2)
The Server bundle add support of Minecraft Server in symfony 2., (*3)
Add :, (*4)
"graille-labs/screeper-server-bundle": "dev-master"
in your composer.json, (*5)
In the app/config/config.yml :, (*6)
screeper_server: servers: ## Your servers
You can add many servers :, (*7)
screeper_server: servers: default: ## The "default" server is required login: #username password: #password port: #port ip: #ip serv1: login: #username password: #password port: #port ip: #ip
N.B : Port and Salt are optionnal, the port by default is 20059, (*8)
If you need to copy a server, you can create a pattern :, (*9)
screeper_server: servers: default: ## The "default" server is required pattern: serv1 ## Default server is "serv1" serv1: login: #username password: #password port: #port ip: #ip
You can erase the configuration of a pattern :, (*10)
screeper_server: servers: default: ## The "default" server is required pattern: serv1 ## Default server is "serv1" serv1: login: #username password: #password port: #port ip: #ip salt: ~ ## If a salt is necessary serv2: pattern: serv1 ip: #new_ip
(In this example, the informations are the same, but the ip isn't.), (*11)
For use, you must call the service :, (*12)
$api = $this->container->get('screeper.server.services.servers')->getServer("servername");
This command return a "Server" object. If "servername" is empty, the default server will be used., (*13)
Minecraft Server support in Symfony 2
MIT
minecraft server management