With the right configuration, you can turn your The Lord of the Rings: Return to Moria game server into exactly the server you envision for your group of Dwarves: a custom world, a password, the right difficulty, and performance that suits your group. In this guide, we’ll show you which settings to configure as startup parameters in ZapX and what to adjust directly in the game’s configuration file.
Return to Moria has two places for configuring settings:
- Startup parameters: Set the world name, server password, and difficulty in ZapX under the Configuration tab, in Startup parameters. Each time your server starts, it writes these values to the configuration file.
- MoriaServerConfig.ini: All other settings, such as game mode, seed, and performance, are in the
MoriaServerConfig.inifile. You’ll find it in the main directory under the Files tab. The server creates it on the first startup and won’t overwrite your changes later.
Your server overwrites the world name (Name), server password (OptionalPassword), and difficulty (Difficulty.Preset) with the startup parameter values each time it starts. Always change these three values in the startup parameters, not in the file. ZapX manages the port in the [Host] section for you, so leave it unchanged.
After you save, ZapX will prompt you to restart the server. Your changes won’t take effect until you restart it.
| Startup parameter | Meaning |
|---|---|
| World name | Name of the saved world your server loads. Default: ZapX Return to Moria Server |
| Server password | Password required to join. Leave it blank for a public server without a password. |
| Difficulty | Difficulty for a new world: story, solo, normal, hard, or custom. Default: normal |
The world name determines which world your server loads. If there isn’t already a world with that name, your server will create a new one the next time it starts. Your previous world will remain saved under its old name. Enter the old name again to load it.
Want to start fresh without losing your existing world? Just enter a new world name and restart your server.
The difficulty is only used when creating a new world. An existing world keeps its difficulty, even if you change the value and restart the server.
Want to play a world at a different difficulty? Set the desired difficulty, enter a new world name, and restart your server.
Use the custom value to set the difficulty of a new world individually for different areas. Enter the values in the [World.Create] section of MoriaServerConfig.ini. Each value can be verylow, low, default, high, or veryhigh:
| Setting | What it controls |
|---|---|
Difficulty.Custom.CombatDifficulty | Enemy damage and health |
Difficulty.Custom.EnemyAggression | How often enemies attack and how many attack at once |
Difficulty.Custom.SurvivalDifficulty | Buff strength, the rate at which despair increases, and stamina, energy, and hunger drain |
Difficulty.Custom.MiningDrops | Amount of ore per ore vein |
Difficulty.Custom.WorldDrops | Rewards for defeating Orcs and enemies |
Difficulty.Custom.HordeFrequency | How often loud actions trigger an Orc horde |
Difficulty.Custom.SiegeFrequency | How often Orcs attack a Dwarven base |
Difficulty.Custom.PatrolFrequency | How often groups of Orcs and enemies appear |
Configure these entries directly in the file:
| Section | Setting | Meaning |
|---|---|---|
[World.Create] | Type | Game mode for a new world: campaign (default) or sandbox |
[World.Create] | Seed | Starting value for generating a new world: random (default) or a fixed number |
[Performance] | ServerFPS | How many times the server calculates per second. Default: 60. A higher value offers few benefits on a dedicated server. You can lower it when CPU load is high. |
[Performance] | LoadedAreaLimit | How many areas the server keeps loaded at once. Default: 12, which is generally enough for 8 players; 8 areas are sufficient for 4 players. Higher values use significantly more memory and CPU. |
Like difficulty, Type and Seed only apply to new worlds. Existing worlds remain unchanged.
Follow these steps to safely edit the file:
- Stop your server.
- Open
MoriaServerConfig.iniunder the Files tab and change the settings you want. - Save the file.
- Start your server again.
Alternatively, open the file under the Configuration tab. An AI will display the settings as easy-to-understand form fields. Select Edit directly to access the raw text.
Your world save files are stored in the Saved/SaveGamesDedicated folder as .sav files. You can access this folder under the Files tab and through your server’s savegame manager. Stop your server before replacing or uploading files there.
Your Return to Moria server is now configured just the way you want it. Our guide Connecting to the server explains how your friends can join. If something isn’t working as expected, see our guide Common issues. If you have any other questions, our support team is available every day! 🙂