Manage your Left 4 Dead 2 server through chat with the ZapX AI Agent. Describe what you want, for example, “Install Metamod:Source and SourceMod” or “Why isn’t my server showing up in the server list?” The agent reads the console, logs, and configuration files, finds the cause, and prepares the right changes. It always asks you first before making any changes to your server.
This guide explains what the agent can do on your Left 4 Dead 2 server, how confirmation works, and what its limitations are.
- ZapX Pass: The ZapX AI Agent is included with every ZapX Pass tier, 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. If you use it all up, it automatically renews 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 Left 4 Dead 2 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. Just describe what you need in your own words.
The agent handles read and change actions differently:
- Read (viewing the console, logs, files, or backups) actions happen immediately, without asking.
- Change actions (writing a file, setting startup parameters, sending a command, or restoring a backup) are only prepared. You’ll get a card showing exactly what will happen. The action runs only after you click Confirm. Click Decline to discard the suggestion.
For several related steps, such as extracting Metamod:Source and SourceMod and then restarting, the agent shows them together on one card. They then run in sequence.
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 undo each change with Undo. You’ll still need to confirm settings changes, deletions, commands, and updates yourself.
If your server won’t start, crashes, or doesn’t show up in the server list, just tell the agent what’s happening. It reads the server console and logs, checks CPU and RAM usage history, and can run a server diagnosis that checks the status, logs, configuration, and processes in about 20 seconds. If your server isn’t visible, it first checks whether it’s connected to Steam (“Connection to Steam servers successful” at the start of the console), whether a valid Steam server token is set, and whether sv_lan is set to 0. The “wrong ELF class: ELFCLASS64” message when loading Metamod:Source is harmless, so the agent looks for the actual cause. Learn more in Left 4 Dead 2: Common Issues and Left 4 Dead 2: Segmentation Fault.
The agent starts, stops, or restarts 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.
The server name, server password, max. players, starting map, game mode (coop, realism, versus, survival, or scavenge), and Steam server token (GSLT) are startup parameters in the Configuration tab. The agent changes these values through a card, and the running server restarts once. Your server rewrites left4dead2/cfg/server.cfg every time it starts. So the agent adds custom commands such as z_difficulty, sv_alltalk, or sv_allow_lobby_connect_only to custom.cfg in the same folder, creating the file if it doesn’t exist yet. Don’t put hostname or sv_password in custom.cfg; otherwise, the values in the file override the startup parameters. Restart the server to apply the changes. Learn more: Left 4 Dead 2: Server Configuration.
Give the agent direct download links to the Linux packages for Metamod:Source and SourceMod. It downloads them and extracts them to the left4dead2/addons folder. It puts plugins in .smx format in left4dead2/addons/sourcemod/plugins. After restarting, it checks whether everything has loaded by running meta version and sm version. Learn more: Left 4 Dead 2: Install Plugins.
The agent adds admins to left4dead2/addons/sourcemod/configs/admins_simple.ini, with one line per player. For example, "STEAM_1:1:123456" "99:z" grants full access. It then reloads the admins with sm_reloadadmins and checks them with sm_who. If a player still doesn’t have permissions despite being listed correctly, the agent checks the SourceMod error log and console to see whether your server is connected to Steam. Without a valid Steam server token (App ID 550), Steam IDs aren’t verified. Learn more: Left 4 Dead 2: Become an Admin.
Custom campaigns and other addons go in the left4dead2/addons folder as .vpk files. Individual maps go in left4dead2/maps as .bsp and .nav files. If you provide a direct download link, the agent downloads the file to the right folder and extracts it if needed. The server loads addons on startup, so it will restart afterward. Using maps and part of a map name, the agent finds the maps in your campaign and switches to the first one with changelevel. Your players need the same addons as the server. Learn more: Left 4 Dead 2: Install Mods.
After you confirm, the agent sends commands such as changelevel c2m1_highway, z_difficulty Hard, or sm_reloadadmins to the console. The card then shows you the output from the next five seconds. A value you set in the console only applies until the next restart. The agent also adds anything that should persist to custom.cfg.
An outdated server may crash or fail to start. The agent queues an update for your installation through a card. If Metamod:Source or SourceMod no longer loads afterward, it checks the console to see which plugin isn’t compatible with the new version.
The agent searches, reads, and edits files; downloads files from a direct link; extracts archives (.zip, .tar, up to 500 MB); and creates .zip archives of folders. It can show you your SFTP credentials without the password, reset your SFTP password, and repair file permissions if files are read-only.
The agent creates and restores backups, deletes old ones, or prepares one for download. A backup always includes the entire server. It’s a good idea to create a fresh backup before major changes, such as installing a new version of SourceMod.
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.
- There’s no option to validate Steam files, either in the dashboard or through the agent. If game files are corrupted, reinstalling can help. However, this also deletes configuration, plugins, and custom maps. Have the agent create a backup first; it presents both actions as cards.
- It can’t pin Left 4 Dead 2 to a specific older version.
- It can download
.rarand.7zarchives, but can’t extract them. - It can’t open additional ports.
- It never shows SFTP passwords in the chat, and you never need to send it your SFTP or RCON passwords.
- “My server isn’t showing up in the server list. Find out why.”
- “Install Metamod:Source and SourceMod from these links.”
- “Set z_difficulty Hard and sv_alltalk 1 in custom.cfg.”
- “Download this campaign as a .vpk from this link and switch to the first map.”
- “Add STEAM_1:1:123456 with full permissions to admins_simple.ini.”
- “Restart the server every day at 5 a.m.”
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, start a diagnosis, restart the server, or repair file permissions there even without a ZapX Pass. You need the ZapX Pass to make changes to files, startup parameters, plugins, and backups.
You now know what the ZapX AI Agent can do on your Left 4 Dead 2 server and how to approve every change yourself. For an overview of all the sections in the panel, see Left 4 Dead 2: Dashboard Overview. If you have any other questions, our support team is here to help every day! 🙂
