Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

Configuring the server

 

Browse into your Release folder  (Can differ depending on OS)

Delete the .dist extensions fromworldserver.conf.dist and authserver.conf.dist

You should now have worldserver.conf and authserver.conf within your Release folder (Windows).

  • Linux has it within /trinitycore/etc/
  • Mac has them within /opt/trinitycore/etc/

worldserver.conf

Scroll down to the LoginDatabaseInfo, WorldDatabaseInfo, and CharacterDatabaseInfo config options and enter MySQL Server login information for the server to be able to connect to your database.

...

Panel
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth"     
WorldDatabaseInfo = "127.0.0.1;3306;trinity;trinity;world"     
CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters"

It follows this structure:

Panel
Variablename = "MySQLIP;Port;Loginname;Password;database"  

 

The following settings must be verified:

  • The hostname (127.0.0.1) can stay the same if Trinity is being installed on the same computer that you run WoW on.
    Otherwise, follow the instruction in Realmlist Table if this is not the case. 
  • The port (3306) is the standard configured value. Depending on your settings, you must change it accordingly.
  • The username and password can be variable. You can choose to either:
    • Run on your root password you used when you installed MySQL Server Community Edition(e.g. 'root':'password'), which is strongly not recommend if the server is somehow public.
    • create an unique login within a User Manager within your prefered database management tool (commonly identified by an icon that looks like a person or people) and give it necessary permissions (SELECT, INSERT, UPDATE, DELETE permissions are sufficient, and is much safer).
  • All other default options should be sufficient, but it is recommended that you take some time after your server is finished to read through the configs and see all the ways to customize your server.

IMPORTANT: If you choose not to run vmaps or mmaps, you must make the following changes:

  • vmap.enableLOS = 1 – set this to 0
  • vmap.enableHeight = 1 – set this to 0
  • vmap.petLOS = 1 – set this to 0
  • vmap.enableIndoorCheck = 1 – set this to 0
  • mmap.enablePathFinding = 0 (default - keep this 0)
    • Note: If you change your mind and decide to extract and use vmaps or mmaps later, make sure to change these values back to "1" to take advantage of them.
    • Pro Tip: For most worldserver.conf setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server.

authserver.conf

Scroll down to the LoginDatabaseInfo and enter MySQL Server login information.

...