-
-
Notifications
You must be signed in to change notification settings - Fork 9
Changing Per instance variables
After installing the game server. You can go to the folder location, Game Server Folder Root. Steam-Server-Manager\<ServerFolder>\Variables-<ServerFolder>.ps1
Right-click and edit with Notepad or your favorite editor, like Notepad++.
Example:
Steam-Server-Manager\insserver\Variables-insserver.ps1
Steam-Server-Manager\<ServerFolder>\Variables-<ServerFolder>.ps1
Here you will see the variables used by SSM and the Launch Params. Edit Carefully. You can add commands to the launch params. Make sure anything that is added is inside the last quote. Example:
Before
# Server Launch Params
$global:launchParams = @("${executable} ${defaultmap}?Scenario=${scenario}?MaxPlayers=${maxplayers}?Lighting=${lighting} -Port=${port} -QueryPort=${queryport} -log")
After
# Server Launch Params
$global:launchParams = @("${executable} ${defaultmap}?Scenario=${scenario}?MaxPlayers=${maxplayers}?Lighting=${lighting} -Port=${port} -QueryPort=${queryport} -log -Mods ModDownloadTravelTo=TORO?Scenario=Scenario_TORO_Checkpoint_Security?Lighting=Night")
changing hostname from variables-*.ps1 will automatically change the server config during startup