Skip to content

MangosD Configuration Guide

What is mangosd.conf?

The mangosd.conf file is the main configuration file for a Massive Network Game Object Servers (MaNGOS) server. It contains settings that control how the server operates, including server name, rates, logging, and more.

Think of it as the "control center" for your emulator server: if you need to tweak gameplay rates or game data, you’ll find the relevant settings here.

Example Configuration

The mangosd.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 mangosd.conf file into a Docker Compose container works:

services:
  mangos:
    image: thoriumlxc/mockserver:2025.01.01
    volumes:
      - ./mangosd.conf:/opt/mangos/mangosd.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/mangosd.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 mangosd.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
RealmID A unique numeric identifier for your realm. If you have multiple realms, each needs a different ID.
DataDir The file system path where your game data is stored. Example: /usr/local/cmangos/data/
WorldDatabase.Info The connection details for your World database. Includes host, port, username, password, and database name. Example: databased;3306;root;password;world
Rate.Health Adjusts how quickly players regenerate health. A higher value means faster regeneration.
Rate.Drop.Money Controls how much gold creatures drop. A lower value decreases dropped gold; a higher value increases it.