Skip to content

RealmD Configuration Guide

What is realmd.conf

The realmd.conf file is the primary configuration file for the authentication server used with a MaNGOS (Massive Network Game Object Servers) setup. It manages user logins and connections by specifying settings such as database connectivity, IP bindings, and security options.

Example Configuration

The realmd.conf is made available in the predefined git repositories, existing alongside a docker compose compose.yaml. These are "mounted" into the containers, making the configuration files available to the server.

Below is a basic example of how the mounting of the realmd.conf file into a Docker Compose container works:

services:
  mangos:
    image: thoriumlxc/mockserver:2025.01.01
    volumes:
      - ./realmd.conf:/opt/mangos/realmd.conf
    # Additional environment variables or configurations can go here

This works by working relative to the path of the compose.yaml file. So if you file is located at /some/path/to/file/compose.yaml, then your file would be next it within the same directory at /some/path/to/file/realmd.conf

.
├── compose.yaml
├── mangosd.conf
├── README.md
└── realmd.conf

For Windows

On Windows, these paths will be in the form of C:\some\path\to\file\, as Windows uses \ and MacOS/Linux use \ for indicating paths.

Most likely your path is somewhere in your home directory like C:\Users\LocalUser\ThoriumLXC.

Configuration Options

Here are a few commonly used settings from the realmd.conf file, as examples of what is within this file. You should look at each individual project for the specific project options.

Config Key Description
LoginDatabaseInfo Sets the database connection details for the authentication server.
BindIP Defines the IP address the server listens on.
RealmServerPort Specifies the port for incoming connections.
MaxPingTime Determines the maximum time to wait for client responses.
LogLevel Controls the verbosity of logs for troubleshooting purposes.