arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
678 stars 143 forks source link

ARK Options Order of Precedence / arkmanager.cfg / <instance>.cfg / GameUserSettings.ini #1269

Open Sloanstar opened 5 months ago

Sloanstar commented 5 months ago

Looking to get an order of operations / precedence for the various locations where options are defined / confirmed.

I believe settings in the arkmanager.cfg can be overridden by the specific instance config and the the GameUserSettings.ini is the lowest priority?

  1. arkmanager.cfg
  2. GameUserSettings.ini

Thanks

klightspeed commented 5 months ago

arkmanager options are read from the arkmanager.cfg, then from the <instance.cfg>, with any latter settings overriding the former settings. These settings are used to specify how the game server is run and what command-line options are passed to it.

The game server (ShooterGameServer) reads its GameUserSettings.ini, and overrides some of these settings with the settings passed on its command-line, writing the updated settings back to GameUserSettings.ini

arkmanager also retrieves settings from the GameUserSettings.ini in order to determine e.g. what IP address and port to connect to, and what password to use for RCON commands (when these are not specified in the arkmanager config)