Skip to content

Automobilista 2: Manage Your Server with the ZapX AI Agent

Set up a rotation, configure startup parameters, apply updates, and troubleshoot issues: manage your Automobilista 2 server through chat with the ZapX AI Agent.

30 November 20266 min read1 Views0 helpful

Introduction

With the ZapX AI Agent, you can manage your Automobilista 2 server through chat. Describe what you want, for example, “Set up a track rotation with sms_rotate” or “Why isn’t my server showing up in the server list?” The agent reads the console, logs, and files, finds the cause, and prepares the necessary 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 Automobilista 2 server, how confirmation works, and what its limitations are.

Requirements

  • ZapX Pass: The ZapX AI Agent is included in every tier of the ZapX Pass overview, starting with Plus.
  • AI allowance: Each tier includes a monthly AI allowance. You can see how much you’ve used in the chat, next to the input field. Once you’ve used it all, access automatically resumes on the renewal date.
  • Shared server: If someone has shared their server with you, the owner can also grant you access to the agent. It will then use their ZapX Pass.

Open the ZapX AI Agent

Open your Automobilista 2 server in the web interface and click ZapX AI Agent in the sidebar. The chat already knows which server you’re using, so there’s no need to explain. Just describe what you need in your own words.

How confirmation works

The agent handles reading and making changes differently:

  • Reading (viewing the console, logs, files, settings, and backups) happens right away, without asking you.
  • Making changes (setting startup parameters, writing a file, queuing an update, restarting the server, or restoring a backup) is only prepared. You’ll see a card that shows exactly what will happen. The change is applied only after you click Confirm. Click Reject to discard the suggestion.

For related steps, such as enabling a Lua add-on, changing a line in server_custom.cfg, and then restarting the server, the agent presents everything together on a single card. The steps then run one after another.

Tip: Automatically apply file changes

At the bottom of the chat, you’ll find the Automatically apply file changes toggle. When it’s on, the agent writes files in this chat without showing a card. You can still undo each change with Undo. You’ll continue to confirm settings changes, deletions, restarts, and updates yourself.

What the agent can do on your Automobilista 2 server

Find issues and check your server

If your server won’t start, doesn’t show up in the server list, or players can’t join, tell the agent what’s going on. It reads the console and logs, reviews CPU and RAM usage, and can run a Server Diagnosis to check the status, logs, configuration, and processes in around 20 seconds.

The lines containing [automobilista2-entrypoint] in the console are especially helpful. They show the server name, ports, Safe Mode, Sports Play mode, and whether Lua add-ons are active. Not every message indicates an error: on the first start, your server sets up its Windows environment with Initializing Wine prefix, which takes a moment. It repairs the environment itself with Resetting broken Wine prefix, so you don’t need to touch the wineprefix folder. Learn more about common causes in Automobilista 2: Common Issues.

Start, stop, and restart your server

The agent can start, stop, or restart your server after you confirm the action. If you like, it can also create schedules, such as a daily restart at 5 a.m. in your time zone.

Change settings

Your server recreates server.cfg at every startup from the startup parameters in the Configuration tab, which is why you won’t find it in the Files tab. The agent always changes these values in the startup parameters, which restarts a running server once:

  • Server name and password, without double quotation marks " or backslashes \, which your server would otherwise remove with removed unsupported characters
  • Max. players, up to 32
  • Safe Mode and Sports Play mode, so your server appears in the server list as expected
  • Enable Lua add-ons and manage the list of Lua add-ons

For custom settings without a corresponding startup parameter, the agent adds them to server_custom.cfg in the format Schlüssel : Wert. Your server skips lines with keys managed by the panel, reporting server_custom.cfg: skipped … line(s) with keys managed by the panel. Learn more in Automobilista 2: Server Configuration.

Track rotation and Lua add-ons

Without a rotation, the first player chooses the track, vehicle class, and race format in the lobby. If you want your server to set these automatically, the agent can configure the sms_rotate Lua add-on: it enables Lua add-ons, adds sms_base,sms_rotate, removes the // before controlGameSetup : true in server_custom.cfg, and adds your rotation to lua_config/sms_rotate_config.json after the next startup.

If the console reports Invalid track id … rotation addon disabled, the add-on’s example tracks are still there, or the rotation contains an invalid entry. The agent replaces them with your own entries. If you want race results saved to a file, it can add sms_stats. Your server will then write the results to lua_config/sms_stats_data.json.

Apply a server update

After an Automobilista 2 update, servers running an older version no longer appear in the server list. If an update is available for your server, the agent queues it using a card. Your server_custom.cfg and the lua, lua_config, and lua_output folders are preserved.

Files and SFTP

The agent can search, read, and edit files; download files from a direct link; extract archives (.zip, .tar, up to 500 MB); and zip folders. It can show your SFTP credentials without the password, reset your SFTP password, and repair file permissions if files are read-only.

Backups

The agent can create and restore backups, delete old ones, or prepare one for download. A backup always includes the entire server. It’s a good idea to create a fresh backup before making major changes to server_custom.cfg or your rotation.

Get a new IP if your address is blocked

If your server has its own IP address (add-on) and it is on a blocklist, for example with some routers from US providers, the agent swaps it for a clean IP via a card. The ports stay the same, and the server is offline for about a minute. This is possible at most once every 30 days and only for the owner of the server. Without its own IP, your server shares the host’s address, so the agent has nothing to swap. You can book your own IP as an add-on.

What the agent can’t do

  • It can’t send console commands for Automobilista 2; the console is read-only in the panel.
  • Removing players or changing the next session while the server is running must be done through the web configuration tool. Open it from the overview by clicking Open Web UI; you can’t access it through the agent.
  • It can’t unlock DLC tracks or vehicles for your players. Anyone who wants to use them needs to own the DLC.
  • It never shows SFTP passwords in the chat, and you don’t need to send it any passwords.
  • It can download .rar and .7z archives, but it can’t extract them.
  • It can’t open additional ports.

Example requests

  • “My server isn’t showing up in the server list. Find out why.”
  • “Make the server private with a password and set the player limit to 20.”
  • “Set up a track rotation with sms_rotate.”
  • “The console says Invalid track id. Fix my rotation.”
  • “Enable sms_stats so I can download race results.”
  • “Restart the server every day at 5 a.m.”

Also available in support chat: Zappy

If you ask for help in support chat, Zappy can use the same tools once your ticket is linked to the server. You can read logs, run diagnostics, restart the server, or repair file permissions without a ZapX Pass. A ZapX Pass is required for changes to files, settings, and backups.

Conclusion

You now know what the ZapX AI Agent can do on your Automobilista 2 server and how to approve each change yourself. For an overview of all areas of the panel, see Automobilista 2: Dashboard Overview. To learn how your drivers can join the server, see Automobilista 2: Connect to Your Server. If you have any other questions, our support team is here to help every day! 🙂

FAQ

Frequently asked questions

Yes. The agent is included in every ZapX Pass tier, starting with Plus. Zappy can also help in support chat without a Pass, but changes to your server there still require one.
No. It shows you a card for anything that changes your server and only applies the change after you click “Confirm.” The only exception is when you enable “Automatically apply file changes”; the agent will then write files without a card, and you can undo the changes.
Your server recreates server.cfg at every startup from the startup parameters. That’s why the agent changes startup parameters in the “Configuration” tab and adds custom lines to server_custom.cfg.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.