1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

AMS2 Dedicated Server Tool / SteamCMD Support

Discussion in 'Automobilista 2 - General Discussion' started by Dave Stephenson, May 29, 2020.

  1. Mike Hanson

    Mike Hanson New Member

    Joined:
    Jan 8, 2026
    Messages:
    2
    Likes Received:
    2
    I have created an application that made it easier for me to manage my AMS2 Dedicated Server and get the race results. It is an open source cross platform app called AMS2 Dedicated Server Toolbox and is available to install from GitHub.

    You will find installers for Windows, Linux and MacOS and it is self updating. Please give it a try and let me have any constructive feedback or issues via GitHub Issues or Discord
     
    • Like Like x 1
    • Winner Winner x 1
  2. Knell Rohan

    Knell Rohan Active Member AMS2 Club Member

    Joined:
    Oct 17, 2017
    Messages:
    150
    Likes Received:
    124
    Hello! How work function RaceWeatherProgression on dedicated?
     
  3. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    1,047
    Likes Received:
    1,639
    the setting takes numeric values equal to the multipliers you can set in the game client so a setting of 1 is normal speed, 2 is 2x etc etc.

    If you have enabled the http api on the dedi you can get list of all the gameplay settings with some basic documentation on how to use them at by navigating to attributes/session section at http://localhost:9001/api/list
     
    • Informative Informative x 1
  4. AW9

    AW9 New Member

    Joined:
    Mar 31, 2020
    Messages:
    4
    Likes Received:
    5
    Hi,
    Is it possible to do a server rotation with a muliclass event, followed by a single class event, then another single class event in the sms_rotate_config file?

    eg

    Race 1
    P1 / GT3 multiclass
    Silverstone

    Race 2
    Procars
    Spielberg

    eg.

    I've searched, and tried different ways, but cannot get it to work.

    Anybody have a working example they can share?

    Thanks
     
  5. drak64

    drak64 Member

    Joined:
    Mar 9, 2020
    Messages:
    64
    Likes Received:
    30
    That's how I generated it with an Excel spreadsheet. Very important: `default`: `{}` contains all the options you want to use in each combination. upload_2026-3-27_20-25-23.png
     

    Attached Files:

    Last edited: Mar 27, 2026
  6. AW9

    AW9 New Member

    Joined:
    Mar 31, 2020
    Messages:
    4
    Likes Received:
    5
    Thanks,

    I am running into the same problem with your rotate_config file.

    Race 1 is the Formula Trainer
    When I go back to the lobby, there should be 4 classes for Race 2 to choose from as per the race 2 multiclass slots, but I am getting 5 classes, with the Formula Trainer included.

    Not sure if it is just my game
     
  7. drak64

    drak64 Member

    Joined:
    Mar 9, 2020
    Messages:
    64
    Likes Received:
    30
    In event 2, delete the two slashes:
    Code:
    // VehicleClassID : 31429440 ,
    and leave it like this:
    Code:
    VehicleClassID : 31429440 ,
     
    Last edited: Mar 29, 2026
  8. AW9

    AW9 New Member

    Joined:
    Mar 31, 2020
    Messages:
    4
    Likes Received:
    5
    Thanks drak64,

    Managed to get it working, by removing the two slashes on the VehicleClassID

    When I did the VehicleModelID, the Multiclass race only had the Ligier as an option, but your suggestion pushed me in the right direction.

    Thanks again.
     
    • Like Like x 1
  9. drak64

    drak64 Member

    Joined:
    Mar 9, 2020
    Messages:
    64
    Likes Received:
    30

    I'm editing my response so as not to confuse others.
    Thank you for the correction.
     
    Last edited: Mar 29, 2026
  10. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    1,047
    Likes Received:
    1,639
    VehicleClassID should always be set in any event that isn't restricted to a single model via VehicleModelID. That includes when doing multiclass events where the MulticlassSlots are additional classes.
     
  11. kinch

    kinch New Member

    Joined:
    Jan 13, 2026
    Messages:
    2
    Likes Received:
    0
    Are dedicated servers not showing up in the browser for 1.6.9.5.3231.AVX, even with filtering turned off?
     
  12. Marius H

    Marius H Forum moderator Staff Member AMS2 Club Member

    Joined:
    Mar 24, 2016
    Messages:
    7,384
    Likes Received:
    4,116
    Good one. I checked it, and also asked internally. The dedi update is up, but the servers need to be updated, thus those that aren't updated won't show up in the list.
     
    • Informative Informative x 1
  13. Gonky Racing

    Gonky Racing New Member

    Joined:
    May 6, 2026
    Messages:
    21
    Likes Received:
    7
    Hi,

    I’m running an Automobilista 2 Dedicated Server and I would like to automate the start of the first lobby, without requiring a player/host to manually press “Vote to Start”.

    Current setup:

    allowEmptyJoin : true
    controlGameSetup : true
    enableHttpApi : true
    enableLuaApi : true

    The server correctly controls the setup, track and vehicle class. Players can join an empty server, but when the first player joins, the lobby appears to be player-allocated and that first player is marked as host=true.

    What I would like to achieve:

    - A player joins the empty dedicated server.
    - The server detects that the lobby has at least one player.
    - After a configured delay, for example 30 seconds, the server automatically starts the session.
    - No client should need to press “Vote to Start”.

    Things already tested:

    - HTTP API POST /api/session/advance returns ok, but the lobby remains in SessionState=Lobby.
    - Lua AdvanceSession(0) is accepted/logged, but also does not start the first lobby.
    - Adding sessionAttributes directly in server.cfg works for initial settings, but does not start the lobby.
    - controlGameSetup=true disables host setup controls, but the first player is still host=true.
    - AutoAdvanceSession seems to affect later/end-of-session flow, not the first lobby start.

    Question:

    Is there any supported way, via server.cfg, HTTP API, Lua API, or another dedicated-server mechanism, to trigger the same action as the client “Vote to Start” button for the first lobby?

    Or is a client-side vote/button press required by design for the first player-created lobby?

    Thanks.
     
  14. Knell Rohan

    Knell Rohan Active Member AMS2 Club Member

    Joined:
    Oct 17, 2017
    Messages:
    150
    Likes Received:
    124
    Hi, Reiza! All is fine, but Steam broke ours ligue racing events... Peoples disconnected and we postpone / reschedule race. Not regular, but once a quarter.
    Dedicated, server on Data Center...Update it!
     
  15. Marius H

    Marius H Forum moderator Staff Member AMS2 Club Member

    Joined:
    Mar 24, 2016
    Messages:
    7,384
    Likes Received:
    4,116
    Hello,

    Could you please provide more details?

    If you and your friends experience disconnects on Tuesdays, it is because Steam performs its weekly maintenance.

    Marius.
     
    • Agree Agree x 1
  16. Knell Rohan

    Knell Rohan Active Member AMS2 Club Member

    Joined:
    Oct 17, 2017
    Messages:
    150
    Likes Received:
    124
    Hello! Regards!

    59:47
    59:57
    01:00:04
    01:00:35
    01:00:59
    (((

    Wednesday, time 21:30 +3 gmt
    Server: Xeon Gold 6226R@2.90GHz, 6,00gb ddr4, windows server, ruvds, Moscow

    Last Steam broke race in december 2025

    ps: we racing: Monday, Wednesday, Friday, Sunday
     
  17. kmikiwi

    kmikiwi Member

    Joined:
    Jun 19, 2016
    Messages:
    82
    Likes Received:
    30
    Hi there again! thanks for the update.
    I can't find documentation about this for DS, changelog doesn't show anything, API is not updated and the user guide.pdf is not updated .

    [​IMG]
    [​IMG]
    Is not implemented on DS yet? thanks.
     

    Attached Files:

  18. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    1,047
    Likes Received:
    1,639
    Force default setups flag still operates as it always did in the dedi atm. That won't change until MP supports Parc Ferme too (that will arrive later this month most likely), setting the flag there should still work as always. The changelog entry refers to the game client ui setting.

    For the ballast and performance scalars they are controlled by additional json files similar to how black/white lists are configured. You can find example files in the config_sample dir of the dedi install and example config entries in the server_with_lists.cfg file
     
    • Like Like x 1
    • Informative Informative x 1
  19. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,893
    Likes Received:
    939
    Shouldn't these options be available to change now (apart from tire pressures) when using the force default setups setting?
    20F5D31.JPG
     
  20. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    1,047
    Likes Received:
    1,639
    No, it wasn't stable enough and had some edge case interactions with setup autoloading that needs to be taken care of so rolled back to the status quo there for now. They'll be back in beta soon along with full parc ferme support ready for the next release
     
    • Informative Informative x 2
    • Useful Useful x 1

Share This Page