From 2755dcbe69376eaa8f087cbec21d2728957626c0 Mon Sep 17 00:00:00 2001 From: James Manker Date: Mon, 4 Apr 2022 18:25:24 -0500 Subject: [PATCH 1/2] Fix Stationeers Config I was given bad info by the support in the Stationeers Discord. I've corrected the startup command line args to properly create and load the same world. --- stationeers.kvp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stationeers.kvp b/stationeers.kvp index d7acf79..889c33d 100644 --- a/stationeers.kvp +++ b/stationeers.kvp @@ -22,10 +22,10 @@ App.ExecutableLinux=600760/rocketstation_DedicatedServer.x86_64 App.WorkingDir=600760 App.LinuxCommandLineArgs= App.WindowsCommandLineArgs= -App.CommandLineArgs=-batchmode -nographics -autostart -bindip={{$ApplicationIPBinding}} {{$FormattedArgs}} +App.CommandLineArgs=-batchmode -nographics -autostart -bindip={{$ApplicationIPBinding}} -basedirectory="{{$FullBaseDir}}" -loadworld="{{worldname}}" -modpath="{{$FullBaseDir}}{{modpath}}/" {{$FormattedArgs}} App.AppSettings={} App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"544550"} -App.CommandLineParameterFormat=-{0}={1} +App.CommandLineParameterFormat=-{0}="{1}" App.CommandLineParameterDelimiter= App.ExitMethod=OS_CLOSE App.ExitTimeout=30 From c628cb436c749789a012ed043ab638b4c59ec215 Mon Sep 17 00:00:00 2001 From: James Manker Date: Mon, 4 Apr 2022 18:42:11 -0500 Subject: [PATCH 2/2] Add more options Adding changes from the config manifest. --- stationeersconfig.json | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/stationeersconfig.json b/stationeersconfig.json index 248ea5d..512072f 100644 --- a/stationeersconfig.json +++ b/stationeersconfig.json @@ -82,11 +82,11 @@ "DisplayName": "World Name", "Category": "Server Settings", "Description": "Name of the world directory to load.", - "Keywords": "load,world", - "FieldName": "loadworld", + "Keywords": "world,name", + "FieldName": "worldname", "InputType": "text", "IsFlagArgument": false, - "ParamFieldName": "loadworld", + "ParamFieldName": "worldname", "IncludeInCommandLine": true, "DefaultValue": "world", "EnumValues": {} @@ -94,16 +94,17 @@ { "DisplayName": "Map", "Category": "Server Settings", - "Description": "Default: Moon. Will create a world of this type or display this world type in the server browser if loading a save.", + "Description": "Default Moon. Will create a world of this type or display this world type in the server browser if loading a save.", "Keywords": "world,type", "FieldName": "worldtype", "InputType": "enum", "IsFlagArgument": false, "ParamFieldName": "worldtype", "IncludeInCommandLine": true, - "DefaultValue": "Moon", + "DefaultValue": "", "SkipIfEmpty": true, "EnumValues": { + "": "Default", "Europa2": "Europa2", "Loulan": "Loulan", "Mars": "Mars", @@ -123,7 +124,7 @@ "IsFlagArgument": false, "ParamFieldName": "autosaveinterval", "IncludeInCommandLine": true, - "DefaultValue": "300", + "DefaultValue": "60", "EnumValues": {}, "Suffix": "sec" }, @@ -141,6 +142,19 @@ "EnumValues": {}, "Suffix": "sec" }, + { + "DisplayName": "Mod Path", + "Category": "Server Settings", + "Description": "Where mods are located inside the datastore.", + "Keywords": "mod,path", + "FieldName": "modpath", + "InputType": "text", + "IsFlagArgument": false, + "ParamFieldName": "modpath", + "IncludeInCommandLine": false, + "DefaultValue": "Mods", + "EnumValues": {} + }, { "DisplayName": "GAMEPORT", "Category": "Server Settings",