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 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",