ImperialHost.cc · Guides · Building and simulation
American Truck Simulator server: convoy and setup
A dedicated server keeps your convoy online even when nobody is driving. Drivers find it by its search ID. You set the name, password, moderators and states (DLCs) in the game panel and the server files.
Before you start
- An American Truck Simulator server with us and access to the game panel.
- American Truck Simulator on Steam, on the same version as the server.
- For moderators, the players' Steam IDs (SteamID64). For your own, click your name at the top right in Steam and open the account details.
1. A fixed search ID with a Steam token
- Without a token the server gets a new search ID on every restart. With a token it stays the same, so you send it to your drivers only once.
- On Steam's game server management page (
steamcommunity.com/dev/managegameservers) create a token for App ID270880, which is American Truck Simulator. The game must be on your account. - In the game panel on the Startup tab paste the token into STEAM AUTH TOKEN and restart the server with Restart (the circular arrow at the top near the server's name).
Every server needs its own token. Never share it.
2. Join from the game
- On the Console tab wait until the server is up. On start it prints its search ID.
- In the game's main menu open Convoy. In the server list paste the search ID into the search field and join.
3. Name, password and player slots
- Set the name in the server list on the Startup tab in LOBBY NAME.
- The rest is in the
server_config.siifile. Stop the server with Stop (the square at the top near the server's name) and on the Files tab open.local/share/American Truck Simulator/server_config.sii. - Put the password in quotes after
password, for examplepassword: "konvoj123". The number of slots ismax_players, at most 8. The description isdescriptionand the welcome messagewelcome_message. - Save the file with Save Content and start the server with Start (the triangle).
On every start the server rewrites the lobby_name, server_logon_token and port lines by itself. Change the name and the token on the Startup tab, and leave the ports alone.
4. Add moderators
- Stop the server (Stop) and open
server_config.siiagain. - Change the line
moderator_list: 0to the number of moderators and add their Steam IDs below it, one per line. For two moderators:moderator_list: 2,moderator_list[0]: 76561198000000000andmoderator_list[1]: 76561198000000001. - Save (Save Content) and start the server (Start). A moderator gets the rights by themselves on joining.
- Moderators type in the chat
/set_time 12:00(changes the game time),/set_rain_factor 0(turns rain off) and/help(lists the commands).
The number after moderator_list must match the number of ID lines below it.
5. States (map DLCs) and mods
- Close the game. In your Documents folder open the
American Truck Simulatorfolder and in theconfig.cfgfile set the lineuset g_console "1". - Start the game with the DLCs and mods the server should use turned on, and continue driving so the map is loaded.
- Open the console with the key below Esc (
~), typeexport_server_packagesand confirm. The filesserver_packages.siiandserver_packages.datappear in theAmerican Truck Simulatorfolder in Documents. - Stop the server (Stop). On the Files tab open
.local/share/American Truck Simulator, delete the oldserver_packages.siiandserver_packages.datthere (Delete) and upload the new ones with Upload. - Start the server (Start).
Troubleshooting
A driver cannot join
The server uses the map DLCs and mods from the export. A driver who lacks any of them cannot join. Export only what everybody has. The game and the server must be on the same version.
The search ID changed after a restart
The server has no token. Paste one into STEAM AUTH TOKEN as in the first part of this guide.
The export in the game does not work
The console is off, or no map is loaded. Check uset g_console "1" in config.cfg and type the command in the game, not in the menu.
My new name went back to the old one
The server name comes from LOBBY NAME on the Startup tab, and the server writes it into server_config.sii on start. Change it there.
Still stuck?
Message us on Discord. The AI assistant Aurel answers first, and you can call an admin. Or open a ticket in the client area.