Categories

Server Configuration for Return to Moria

Created by: LOW.MS Kurkin

Last modified: 31st December 2024

Easy guide for all server settings

In this guide, I will show the easy configuration editor and also the text file itself.

Configuration Editor

Return to Moria server settings

Server Password

  • If a password is specified, players will need to enter a password to join the server.
  • Case-sensitive.

World Type

  • World generation parameters, only for newly created worlds.
  • Valid types:
    • Campaign
    • Sandbox

World Seed

  • Seed for world generation
  • Valid Types:
    • random - will randomly pick you a random seed
    • "integers" - lets you pick the seed. e.g: 123456

Diffculty Preset

  • Specify world difficulty
  • Valid Types:
    • Story: Ideal for players who want to experience the story without much danger.
    • Solo: Ideal for a single dwarf.
    • Normal: Ideal for a small company of dwarves.
    • Hard: Ideal for a large company of dwarves.
    • Custom: Use customizations for each category of difficulty.

Console

  • Open the console window so you can type commands.
  • Valid Options:
    • true or false

Server Performance/FPS

  • Frames per second to tick the server.
  • Recommended to leave this at 60 but you can lower it to 30 if you have a weaker CPU.

Text Editor (inline editing)

The developers have added a lot of comments to help with these:

Optional Password

[Main]
; If a password is specified, players will need to enter a password to join the server.
; Case-sensitive.
OptionalPassword=

World Name

[World]
; Name of the saved world to load. If it doesn't exist, create it
; with the properties defined in the [World.Create] section.
Name="Dedicated Server World"

World generation settings

[World.Create]
; World generation parameters, only for newly created worlds.

; Type of world to create:
;  * campaign
;  * sandbox
Type=campaign

; Seed for world generation:
;  * random - Generates a random seed.
;  * <integer> - Use the given number.
Seed=random

; Specify world difficulty:
;  * story: Ideal for players who want to experience the story without much danger.
;  * solo: Ideal for a single dwarf.
;  * normal: Ideal for a small company of dwarves.
;  * hard: Ideal for a large company of dwarves.
;  * custom: Use customizations for each category of difficulty.
Difficulty.Preset=normal

; Custom difficulty properties, used only if the "Difficulty.Preset" property is set to custom.
; Acceptable values are verylow, low, default, high and veryhigh.
; The base enemy damage and hit points.
Difficulty.Custom.CombatDifficulty=default
; How often enemies attack and how many will attack at once.
Difficulty.Custom.EnemyAggression=high
; The strength of various buffs, speed a dwarf succumbs to despair and
; the decay rates of stamina, energy and hunger.
Difficulty.Custom.SurvivalDifficulty=default
; Volume of ore that drops from each vein.
Difficulty.Custom.MiningDrops=default
; The drop rates of rewards for defeating orcs and enemies.
Difficulty.Custom.WorldDrops=default
; How often noisy actions will trigger a horde of orcs.
Difficulty.Custom.HordeFrequency=default
; How often orcs will target and attack a dwarf base.
Difficulty.Custom.SiegeFrequency=default
; How often orc and enemy groups spawn.
Difficulty.Custom.PatrolFrequency=default

Server connection settings

[Host]

; Local IP address to bind on the server.
; Normally leave this empty.
; Possible values:
; * Empty value for default (bind all adapters.)
; * <IPv4> or <IPv6> ... manually specify the IP address.
ListenAddress=

; Port bound by the server for incoming connections.
; You must allow TCP and UDP traffic on your firewall and may need to set up port forwarding.
; Possible values:
;  * -1 ... use the default engine port (7777)
;  * <integer> ... manually specify the port.
ListenPort=7777

; Host reported to clients. Clients will try to connect it when joining a hosted session.
; Normally set this to "auto".
; If this machine and all of your friends are playing on a LAN
; set this to "local" to avoid having to set up port forwarding.
; If there is an issue with automatic detection, you can specify your server's IP address directly.
; Possible values:
;  * auto ... detect public IP address. For public servers or servers behind NAT, proxy,
;             or in a container with properly configured port mapping or port forwarding.
;  * local ... automatically detect local IP address. For LAN games and servers with a public IP address.
;  * <IPv4> or <IPv6> ... manually specify the IP address clients should connect to.
AdvertiseAddress=auto

; Port reported to clients. Clients will try to connect it when joining a hosted session.
; Normally leave this at -1.
; Possible values:
;  * -1 ... use the ListenPort. To be used when connecting directly or via port forwarding.
;  * <integer> ... manually specify the port. To be used when the server
;                  listen port is mapped to a different, exposed port. This is rare.
AdvertisePort=-1

; If you fail to host on launch, the maximum number of seconds to retry.
InitialConnectionRetryTime=60

; If your hosted session drops, the maximum number of seconds to try to rehost.
AfterDisconnectionRetryTime=600

Server console settings

[Console]
; Open the console window so you can type commands. (true or false)
Enabled=true

Server Performance

[Performance]
; Frames per second to tick the server.
; Typically leave this at 60. Higher values are unlikely to improve a dedicated server.
; If your server uses too much CPU, you might try 30 fps instead.
ServerFPS=60

Looking for a reliable return-to-moria Server Hosting Solution? Managing your server has never been easier. Host your return-to-moria server with LOW.MS and enjoy a seamless gaming experience.

Find a mistake or want to contribute? Contact us

A Return To Moria guide, let us know what other guides you want to see and we will get them published!

Want to know more?

We'll be happy to answer any questions you may have. Get in touch!