With the ZapX AI Agent, you can manage your The Lord of the Rings: Return to Moria server via chat. Describe what you want, for example, “Create a new world on hard difficulty, but keep the old one” or “Why can’t I reach my server after restarting it?” The agent reads logs, startup parameters, and MoriaServerConfig.ini, identifies the cause, and prepares the appropriate changes. It always asks you first before changing anything on your server.
In this guide, you’ll learn what the agent can do on your Return to Moria server, how confirmations work, and what its limitations are.
- ZapX Pass: The ZapX AI Agent is included with every tier of the ZapX Pass, starting with Plus.
- AI quota: Each tier has a monthly AI quota. You can see how much you’ve used in the chat, next to the input field. Once it’s used up, it will be available again automatically on the renewal date.
- Shared server: If someone has shared their server with you, the owner can also give you access to the agent. It will then use their ZapX Pass.
Open your Return to Moria server in the web interface and click ZapX AI Agent in the sidebar. The chat already knows which server you’re using, so you don’t need to explain anything. Just describe what you need in your own words.
The agent distinguishes between reading and making changes:
- Reading (viewing logs, the console, startup parameters,
MoriaServerConfig.ini, save files, and backups) happens right away, without asking. - Making changes (setting startup parameters, writing files, stopping or starting the server, or restoring a backup) is only prepared. You’ll get a card that shows exactly what will happen. It’s carried out only after you click Confirm. Click Decline to discard the suggestion.
For several related steps, such as stopping the server, changing LoadedAreaLimit in MoriaServerConfig.ini, and starting the server again, the agent presents them together on one card. They’ll then run one after another.
At the bottom of the chat, you’ll find the Apply file changes automatically toggle. When it’s on, the agent writes files in this chat without showing a card, but you can still undo each change using Undo. You’ll still need to confirm settings changes, deletions, commands, and updates yourself.
If your server won’t start, is unreachable, or is lagging, tell the agent what’s happening. It reads the server console and logs, checks CPU and RAM usage over time, and can run a server diagnosis that checks status, logs, configuration, and processes in about 20 seconds. Common causes include incorrect configuration or an outdated server. Find out more about common causes in The Lord of the Rings: RTM: Common Issues.
The agent can start, stop, or restart your server after you confirm the action. If you want, it can also create schedules, such as a daily restart at 5 a.m. in your time zone.
Return to Moria has two places where you can change settings:
- Startup parameters in the Configuration tab: world name, server password, and difficulty. Each time your server starts, it writes these three values to the configuration file. That’s why the agent changes them in the startup parameters using a card. If the server is running, it will restart once as part of the process.
- The
MoriaServerConfig.inifile in the root directory: all other values, such asTypeandSeedin the[World.Create]section or performance values in[Performance]. The agent changes this file while the server is stopped, then starts it again.
ZapX manages the port in the [Host] section, so the agent leaves it unchanged. Learn more: The Lord of the Rings: Return to Moria: Server Configuration.
The world name determines which world your server loads. If there isn’t already a world with that name, a new one is created the next time the server starts. Your existing world stays saved under its old name. To switch back, ask the agent to enter the old name again.
Difficulty (story, solo, normal, hard, or custom), game mode (campaign or sandbox), and seed only apply to a new world. That’s why the agent sets these values along with a new world name. With custom, it configures the individual options in the [World.Create] section, such as Difficulty.Custom.HordeFrequency or Difficulty.Custom.MiningDrops, using verylow, low, default, high, or veryhigh for each.
If your server is using a lot of memory or CPU, the agent checks the values in the [Performance] section. The default value for LoadedAreaLimit is 12, which is generally suitable for 8 players; 8 areas are enough for 4 players. Higher values use significantly more memory and CPU. If CPU usage is high, the agent can also lower ServerFPS from its default value of 60.
Your worlds are stored as .sav files in the Saved/SaveGamesDedicated folder, which you can also see in the Savegames tab. If you want, the agent can package the folder as a .zip file (up to 100 MB) or download a world from a direct download link. It stops the server before replacing any files there.
An outdated server may crash or fail to start. The agent queues an update for your installation using a card.
The agent can browse, read, and edit files; download files from a direct link; extract archives (.zip, .tar, up to 500 MB); and create .zip files from folders. It can show you your SFTP login details without the password, reset your SFTP password, and fix file permissions if files are read-only.
The agent can create and restore backups, delete old ones, or prepare one for download. A backup always includes the entire server, including your worlds in Saved/SaveGamesDedicated. It’s a good idea to create a fresh backup before creating a new world or changing performance values.
If your server’s IP is on a blocklist, for example with some routers from US providers, the agent can replace it with a clean IP using a card. The ports stay the same, and the server will be offline for about a minute. This can be done at most once every 30 days, and only by the server owner.
- It can’t send console commands in Return to Moria; the console is read-only in the panel.
- It can’t change the difficulty, game mode, or seed of an existing world. To do that, it creates a new world.
- It can’t change the port in the
[Host]section; ZapX manages it. - It can download
.rarand.7zarchives, but can’t extract them. - It can’t open additional ports.
- It never displays SFTP passwords in the chat, and you don’t need to send it one.
- “My server won’t start anymore. Find out why.”
- “Create a new sandbox world called Khazad, but keep the old one.”
- “Set a custom difficulty with fewer orc hordes and more ore.”
- “We’re only playing with four people. Lower LoadedAreaLimit to 8.”
- “Set a server password for our group.”
- “Restart the server every day at 5 a.m.”
If you ask for help in the support chat, Zappy can use the same tools once your ticket is linked to the server. You can read logs, run a diagnosis, restart the server, or fix file permissions there without a ZapX Pass. You need the ZapX Pass to change settings, files, worlds, and backups.
You now know what the ZapX AI Agent can do on your Return to Moria server and how to approve each change yourself. Find out how your friends can join in The Lord of the Rings: Return to Moria: Connect to Your Server. For an overview of all the sections in the panel, see The Lord of the Rings: Return to Moria: Dashboard Overview. If you have any other questions, our support team is here to help every day! 🙂