SCS ships an official dedicated convoy server with a Linux build. You do not need to own the game to run it.
- Install the Euro Truck Simulator 2 Dedicated Server (Steam app
1948160) from your Steam library tools, or with SteamCMD using an anonymous login. SteamCMD does not auto-update it, so update it yourself. - Start it once with
server_launch.sh (next to the server binary). It creates its home folder and a default server_config.sii. - In the game, set
uset g_console "1" in config.cfg, load your map, open the console with ~ and run export_server_packages. - Copy the resulting
server_packages.sii and server_packages.dat into the server's home folder. They carry your map, DLC and mod setup. - Start the server again. Players join through the session browser or by the search ID it prints.
PlayersUp to 8 per server.
Portsconnection_dedicated_port 27015 and query_dedicated_port 27016 by default. Forward both TCP and UDP. For LAN, the query port must be 27015 to 27020.
Persistent IDCreate a Steam game server token with the game's app ID, not the server's, and set it as server_logon_token.
ModeratorsList Steam IDs in moderator_list. In chat they can use /set_time, /set_rain_factor and /help.
Home folderOn Linux, move it with the XDG_DATA_HOME environment variable.
Several serversAdd -nosingle, and give each its own ports and token.
Logsserver.log.txt and server.crash.txt in the home folder. Stop with Ctrl+C.
Without the Steam client you may see "SteamAPI_Init() failed". Use server_launch.sh, or symlink steamclient.so from steamcmd/linux64/ into ~/.steam/sdk64/. The server cannot read Steam Workshop mods; everything comes from the server_packages files.