Skip to content

PHP client for TrinityCore server, built using Symfony 4. It requires PHP 7.2, XML, SOAP, and Composer. Easily set up and manage TrinityCore server connections. Includes Docker support.

Miorey/TrinitycoreConsole

Repository files navigation

PHP client for TrinityCore server

Install

Requirements

On Ubuntu the following libraries have to be installed:

sudo apt install -y php7.2 php7.2-xml php7.2-soap composer

Install dependencies by executing:

composer install

Start server for dev

Setup your env vars: Trinitycore console requires the following vars to be setup:

  1. TRINITY_USERNAME account allowed to use trinitycore console
  2. TRINITY_PASSWORD account password for the account
  3. TRINITY_ADDRESS address of the worldserver

You can also setup the server by updating service.yaml file like follwing

    App\TrinityCore\TrinityClient:
        arguments:
            $username: '%env(TRINITY_USERNAME)%'
            $password: '%env(TRINITY_PASSWORD)%'

        calls:
            - method: setServerAddress
              arguments:
                  - '%env(TRINITY_ADDRESS)%'
            - methode: setServerAddress
              arguments:
                  - '%env(TRINITY_PORT)%'

In 90% of the cases setup the port is useless because the default value is already set to the default trinitycore value i.e. 7878

symfony 4 is provided with a standalone server to start it execute:

php bin/console server:start

Download and deploy the project

  • Git
  • Composer install

First start

  • .env file

Docker

About

PHP client for TrinityCore server, built using Symfony 4. It requires PHP 7.2, XML, SOAP, and Composer. Easily set up and manage TrinityCore server connections. Includes Docker support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published