GamesTruck Simulator

Server Configuration

Configurable options for your Truck Simulator server, including server_config.sii and startup values.

Top Tip

Startup values are written directly into server_config.sii every time your server starts, and will always override anything set manually for the same field.

Startup Values

NameDescriptionExample
Auto UpdateUpdates the server software on every restart.Enabled
Steam Auth TokenOptional. Gives your server a persistent search ID across restarts instead of a new one every time. Generate one at steamcommunity.com/dev/managegameservers using the game's App ID (not the server's).6544F7E034119F113526E96474F
Server Namelobby_name, shown in the session/convoy browser.My Truck Server
Max Playersmax_players. This value can only be modified by upgrading it on your billing panel.8
AI Traffictraffic, toggles AI-driven traffic on your map.Enabled
Descriptiondescription, shown when a player selects your server.Welcome to my server!
Welcome Messagewelcome_message, shown to players once they connect.Drive safe!
Passwordpassword, optional, leave blank for a public server.(blank)
Query Portquery_dedicated_port, used by Steam to list your server in the session browser. Needs its own allocation to work externally.27016

server_config.sii

This file is located at .local/share/Euro Truck Simulator 2/server_config.sii (or .local/share/American Truck Simulator/server_config.sii on ATS), and can be edited using SFTP or the file manager.

The fields below are overwritten by your Startup values on every restart, editing them directly in the file won't stick:

NameDescriptionExample
connection_dedicated_portReference Only, tied to your service's default allocation.27015
query_dedicated_portReference Only, please set via the Query Port startup value.27016
server_logon_tokenReference Only, please set via the Steam Auth Token startup value.6544F7E034119F113526E96474F
lobby_nameReference Only, please set via the Server Name startup value."My Truck Server"
descriptionReference Only, please set via the Description startup value."Welcome!"
welcome_messageReference Only, please set via the Welcome Message startup value."Drive safe!"
max_playersReference Only, please set via the Max Players startup value.8
trafficReference Only, please set via the AI Traffic startup value.true
passwordReference Only, please set via the Password startup value.""

Everything else in this file isn't touched by your Startup values, and can be customised directly:

NameDescriptionExample
max_vehicles_totalMaximum number of vehicles (players + AI) allowed in the session at once.100
max_ai_vehicles_playerMaximum AI vehicles visible around each player.50
max_ai_vehicles_player_spawnMaximum AI vehicles spawned around each player.50
player_damageWhether players can damage each other.true
hide_in_companyWhether remote players are hidden while in a company area.false
force_speed_limiterForces the in-game speed limiter on for all players.false
name_tagsShows player name tags above vehicles.true
connection_virtual_port / query_virtual_portInternal virtual ports, allowed range 100-200. Not usually necessary to change.100 / 101

Verify Against Your Version

SCS updates the dedicated server fairly often. If a specific option you need isn't listed above, check the official SCS Modding Wiki for the most current list.

Session Moderators

There's no panel field for moderators, they're added by editing server_config.sii directly:

moderator_list: 2
moderator_list[0]: <Steam64 ID>
moderator_list[1]: <Steam64 ID>

Moderators are promoted automatically when they join the session, and can use the following commands in the in-game chat:

CommandDescription
/set_time <HH:MM>Changes the in-game time.
/set_rain_factor <value from 0 to 1>Adjusts rain intensity.
/helpLists available commands.

On this page