2017 © Pedro Peláez
 

symfony-bundle server-bundle

Minecraft Server support in Symfony 2

image

screeper-project/server-bundle

Minecraft Server support in Symfony 2

  • Thursday, July 31, 2014
  • by graille
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Graille-Labs - Screeper Project - Server bundle

DEVELOPMENT IN PROGRESS, (*1)

Screeper, (*2)

The Server bundle add support of Minecraft Server in symfony 2., (*3)

Installation

Add :, (*4)

"graille-labs/screeper-server-bundle": "dev-master"

in your composer.json, (*5)

Configuration

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)

Usage

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)

The Versions

31/07 2014

dev-master

9999999-dev http://github.com/Graille

Minecraft Server support in Symfony 2

  Sources   Download

MIT

The Requires

 

by Avatar graille

minecraft server management