From c70ed851f5e3f9b7c50439d9d3dd386c1c285d87 Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 19 Feb 2022 15:10:26 -0600 Subject: [PATCH 1/5] Update Stationeers Based on feedback from @Greelan I marked the ports hidden and removed an extra line from the password. --- stationeersconfig.json | 7 +- stationeersconfig.json.bak | 183 +++++++++++++++++++++++++++++++++++++ 2 files changed, 187 insertions(+), 3 deletions(-) create mode 100644 stationeersconfig.json.bak diff --git a/stationeersconfig.json b/stationeersconfig.json index a457b7c..57a4993 100644 --- a/stationeersconfig.json +++ b/stationeersconfig.json @@ -23,7 +23,6 @@ "ParamFieldName": "SERVER.PASSWORD", "IncludeInCommandLine": false, "DefaultValue": "", - "SkipIfEmpty": true, "EnumValues": {} }, { @@ -166,7 +165,8 @@ "IsFlagArgument": false, "ParamFieldName": "SERVER.GAMEPORT", "IncludeInCommandLine": false, - "DefaultValue": "27500" + "DefaultValue": "27500", + "Hidden": true }, { "DisplayName": "UPDATERPORT", @@ -178,6 +178,7 @@ "IsFlagArgument": false, "ParamFieldName": "SERVER.UPDATERPORT", "IncludeInCommandLine": false, - "DefaultValue": "27015" + "DefaultValue": "27015", + "Hidden": true } ] \ No newline at end of file diff --git a/stationeersconfig.json.bak b/stationeersconfig.json.bak new file mode 100644 index 0000000..a457b7c --- /dev/null +++ b/stationeersconfig.json.bak @@ -0,0 +1,183 @@ +[ + { + "DisplayName": "Server Name", + "Category": "Server Settings", + "Description": "Display name of the server.", + "Keywords": "server,name", + "FieldName": "SERVERNAME", + "InputType": "text", + "IsFlagArgument": false, + "ParamFieldName": "SERVER.SERVERNAME", + "IncludeInCommandLine": false, + "DefaultValue": "AMP Powered Stationeers Server", + "EnumValues": {} + }, + { + "DisplayName": "Server Password", + "Category": "Server Settings", + "Description": "Password that clients must supply to join.", + "Keywords": "password", + "FieldName": "PASSWORD", + "InputType": "password", + "IsFlagArgument": false, + "ParamFieldName": "SERVER.PASSWORD", + "IncludeInCommandLine": false, + "DefaultValue": "", + "SkipIfEmpty": true, + "EnumValues": {} + }, + { + "DisplayName": "RCON Password", + "Category": "Server Settings", + "Description": "Password to access RCON using http://YOURIP:GAMEPORT. You should change after install.", + "Keywords": "RCON,password", + "FieldName": "RCONPASSWORD", + "InputType": "RandomPassword", + "IsFlagArgument": false, + "ParamFieldName": "RCON.RCONPASSWORD", + "IncludeInCommandLine": false, + "DefaultValue": "", + "EnumValues": {} + }, + { + "DisplayName": "Admin Password", + "Category": "Server Settings", + "Description": "Password to become the in-game admin. You should change after install.", + "Keywords": "admin,password", + "FieldName": "ADMINPASSWORD", + "InputType": "RandomPassword", + "IsFlagArgument": false, + "ParamFieldName": "SERVER.ADMINPASSWORD", + "IncludeInCommandLine": false, + "DefaultValue": "Password123", + "EnumValues": {} + }, + { + "DisplayName": "Max Players", + "Category": "Server Settings", + "Description": "The maximum number of players allowed on the server.", + "Keywords": "max,players", + "FieldName": "$MaxUsers", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "SERVER.MAXPLAYER", + "IncludeInCommandLine": false, + "DefaultValue": "20", + "EnumValues": {} + }, + { + "DisplayName": "Creator", + "Category": "Server Settings", + "Description": "Set creator's [Steam64 ID](https://steamidfinder.com/) as gamedata and key-value. This is for future integration of server instancing.", + "Keywords": "creator", + "FieldName": "creator", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "creator", + "IncludeInCommandLine": true, + "DefaultValue": "", + "SkipIfEmpty": true, + "EnumValues": {} + }, + { + "DisplayName": "World Name", + "Category": "Server Settings", + "Description": "Name of the world directory to load.", + "Keywords": "world,name", + "FieldName": "worldname", + "InputType": "text", + "IsFlagArgument": false, + "ParamFieldName": "worldname", + "IncludeInCommandLine": true, + "DefaultValue": "world", + "EnumValues": {} + }, + { + "DisplayName": "Map", + "Category": "Server Settings", + "Description": "Default: Moon. Will overwrite actual map on server browser if you use rocket to travel beween maps!", + "Keywords": "world,type", + "FieldName": "worldtype", + "InputType": "enum", + "IsFlagArgument": false, + "ParamFieldName": "worldtype", + "IncludeInCommandLine": true, + "DefaultValue": "", + "SkipIfEmpty": true, + "EnumValues": { + "": "Default", + "Europa2": "Europa2", + "Loulan": "Loulan", + "Mars": "Mars", + "Mimas": "Mimas", + "Moon": "Moon", + "Space": "Space", + "Vulcan2": "Vulcan2" + } + }, + { + "DisplayName": "Auto Save Interval", + "Category": "Server Settings", + "Description": "How frequently the server will save the world.", + "Keywords": "", + "FieldName": "autosaveinterval", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "autosaveinterval", + "IncludeInCommandLine": true, + "DefaultValue": "60", + "EnumValues": {}, + "Suffix": "sec" + }, + { + "DisplayName": "Clear All Interval", + "Category": "Server Settings", + "Description": "The interval to run \"clearall\" command. Minimum is 60 seconds. clearall will delete all disconnected characters. Set to a very high number. 0 to disable. ", + "Keywords": "clear,all,interval", + "FieldName": "clearallinterval", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "clearallinterval", + "IncludeInCommandLine": true, + "DefaultValue": "60", + "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", + "Description": "", + "Keywords": "", + "FieldName": "$ApplicationPort1", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "SERVER.GAMEPORT", + "IncludeInCommandLine": false, + "DefaultValue": "27500" + }, + { + "DisplayName": "UPDATERPORT", + "Category": "Server Settings", + "Description": "", + "Keywords": "", + "FieldName": "$ApplicationPort2", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "SERVER.UPDATERPORT", + "IncludeInCommandLine": false, + "DefaultValue": "27015" + } +] \ No newline at end of file From 52f5a7e9830f62d25fdaf0bbde5d4bbe3ff1f6a8 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Sat, 19 Feb 2022 15:12:53 -0600 Subject: [PATCH 2/5] Delete stationeersconfig.json.bak --- stationeersconfig.json.bak | 183 ------------------------------------- 1 file changed, 183 deletions(-) delete mode 100644 stationeersconfig.json.bak diff --git a/stationeersconfig.json.bak b/stationeersconfig.json.bak deleted file mode 100644 index a457b7c..0000000 --- a/stationeersconfig.json.bak +++ /dev/null @@ -1,183 +0,0 @@ -[ - { - "DisplayName": "Server Name", - "Category": "Server Settings", - "Description": "Display name of the server.", - "Keywords": "server,name", - "FieldName": "SERVERNAME", - "InputType": "text", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.SERVERNAME", - "IncludeInCommandLine": false, - "DefaultValue": "AMP Powered Stationeers Server", - "EnumValues": {} - }, - { - "DisplayName": "Server Password", - "Category": "Server Settings", - "Description": "Password that clients must supply to join.", - "Keywords": "password", - "FieldName": "PASSWORD", - "InputType": "password", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.PASSWORD", - "IncludeInCommandLine": false, - "DefaultValue": "", - "SkipIfEmpty": true, - "EnumValues": {} - }, - { - "DisplayName": "RCON Password", - "Category": "Server Settings", - "Description": "Password to access RCON using http://YOURIP:GAMEPORT. You should change after install.", - "Keywords": "RCON,password", - "FieldName": "RCONPASSWORD", - "InputType": "RandomPassword", - "IsFlagArgument": false, - "ParamFieldName": "RCON.RCONPASSWORD", - "IncludeInCommandLine": false, - "DefaultValue": "", - "EnumValues": {} - }, - { - "DisplayName": "Admin Password", - "Category": "Server Settings", - "Description": "Password to become the in-game admin. You should change after install.", - "Keywords": "admin,password", - "FieldName": "ADMINPASSWORD", - "InputType": "RandomPassword", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.ADMINPASSWORD", - "IncludeInCommandLine": false, - "DefaultValue": "Password123", - "EnumValues": {} - }, - { - "DisplayName": "Max Players", - "Category": "Server Settings", - "Description": "The maximum number of players allowed on the server.", - "Keywords": "max,players", - "FieldName": "$MaxUsers", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.MAXPLAYER", - "IncludeInCommandLine": false, - "DefaultValue": "20", - "EnumValues": {} - }, - { - "DisplayName": "Creator", - "Category": "Server Settings", - "Description": "Set creator's [Steam64 ID](https://steamidfinder.com/) as gamedata and key-value. This is for future integration of server instancing.", - "Keywords": "creator", - "FieldName": "creator", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "creator", - "IncludeInCommandLine": true, - "DefaultValue": "", - "SkipIfEmpty": true, - "EnumValues": {} - }, - { - "DisplayName": "World Name", - "Category": "Server Settings", - "Description": "Name of the world directory to load.", - "Keywords": "world,name", - "FieldName": "worldname", - "InputType": "text", - "IsFlagArgument": false, - "ParamFieldName": "worldname", - "IncludeInCommandLine": true, - "DefaultValue": "world", - "EnumValues": {} - }, - { - "DisplayName": "Map", - "Category": "Server Settings", - "Description": "Default: Moon. Will overwrite actual map on server browser if you use rocket to travel beween maps!", - "Keywords": "world,type", - "FieldName": "worldtype", - "InputType": "enum", - "IsFlagArgument": false, - "ParamFieldName": "worldtype", - "IncludeInCommandLine": true, - "DefaultValue": "", - "SkipIfEmpty": true, - "EnumValues": { - "": "Default", - "Europa2": "Europa2", - "Loulan": "Loulan", - "Mars": "Mars", - "Mimas": "Mimas", - "Moon": "Moon", - "Space": "Space", - "Vulcan2": "Vulcan2" - } - }, - { - "DisplayName": "Auto Save Interval", - "Category": "Server Settings", - "Description": "How frequently the server will save the world.", - "Keywords": "", - "FieldName": "autosaveinterval", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "autosaveinterval", - "IncludeInCommandLine": true, - "DefaultValue": "60", - "EnumValues": {}, - "Suffix": "sec" - }, - { - "DisplayName": "Clear All Interval", - "Category": "Server Settings", - "Description": "The interval to run \"clearall\" command. Minimum is 60 seconds. clearall will delete all disconnected characters. Set to a very high number. 0 to disable. ", - "Keywords": "clear,all,interval", - "FieldName": "clearallinterval", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "clearallinterval", - "IncludeInCommandLine": true, - "DefaultValue": "60", - "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", - "Description": "", - "Keywords": "", - "FieldName": "$ApplicationPort1", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.GAMEPORT", - "IncludeInCommandLine": false, - "DefaultValue": "27500" - }, - { - "DisplayName": "UPDATERPORT", - "Category": "Server Settings", - "Description": "", - "Keywords": "", - "FieldName": "$ApplicationPort2", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "SERVER.UPDATERPORT", - "IncludeInCommandLine": false, - "DefaultValue": "27015" - } -] \ No newline at end of file From 42641ff154f4c61acf374e1ec00b80a68bf1565f Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 19 Feb 2022 15:23:02 -0600 Subject: [PATCH 3/5] Forgot my own name It's been a long week. Forgot who I was for a second. --- stationeers.kvp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stationeers.kvp b/stationeers.kvp index 8cc0964..a0a559d 100644 --- a/stationeers.kvp +++ b/stationeers.kvp @@ -2,7 +2,7 @@ Meta.DisplayName=Stationeers Meta.Description=Stationeers Dedicated Server Meta.OS=Windows, Linux Meta.Arch=x86_64 -Meta.Author=CubeCoders +Meta.Author=IceOfWraith Meta.URL=https://store.steampowered.com/app/544550/Stationeers/ Meta.DisplayImageSource=steam:544550 Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2} From b5cb45c5d1c3cd94a7bdf6eee112456024b709da Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 19 Feb 2022 15:36:06 -0600 Subject: [PATCH 4/5] Third time's a charm... Forgot I got the base config from Mike in the Discord channel. :) --- stationeers.kvp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stationeers.kvp b/stationeers.kvp index a0a559d..c28c7c6 100644 --- a/stationeers.kvp +++ b/stationeers.kvp @@ -2,7 +2,7 @@ Meta.DisplayName=Stationeers Meta.Description=Stationeers Dedicated Server Meta.OS=Windows, Linux Meta.Arch=x86_64 -Meta.Author=IceOfWraith +Meta.Author=IceOfWraith, CubeCoders Meta.URL=https://store.steampowered.com/app/544550/Stationeers/ Meta.DisplayImageSource=steam:544550 Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2} From 5a188b0ad04da0afe5b569cefe3e3662316ed1c2 Mon Sep 17 00:00:00 2001 From: James Manker Date: Sun, 20 Feb 2022 15:55:53 -0600 Subject: [PATCH 5/5] Fix Insurgency Sandstorm I missed the directory creation steps, so the config fails to merge. --- insurgencysandstorm.kvp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insurgencysandstorm.kvp b/insurgencysandstorm.kvp index 249c277..3ca5671 100644 --- a/insurgencysandstorm.kvp +++ b/insurgencysandstorm.kvp @@ -20,7 +20,7 @@ App.RapidStartup=false App.RemoteAdminPort=27015 App.RootDir=./insurgencysandstorm/ App.UpdateSource=Multi -App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":31,"UpdateSource":4,"UpdateSourceData":"581330","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null},{"UpdateStageName":"Base Config Download","UpdateSourcePlatform":31,"UpdateSource":1,"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/InsurgencySS_Game.ini","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":"./","UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null},{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":31,"UpdateSource":2,"UpdateSourceData":"./insurgencysandstorm/581330/Insurgency/Saved/Config/WindowsServer/Game.ini","UpdateSourceArgs":"./insurgencysandstorm/InsurgencySS_Game.ini","UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null},{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":31,"UpdateSource":2,"UpdateSourceData":"./insurgencysandstorm/581330/Insurgency/Saved/Config/LinuxServer/Game.ini","UpdateSourceArgs":"./insurgencysandstorm/InsurgencySS_Game.ini","UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":31,"UpdateSource":4,"UpdateSourceData":"581330","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./insurgencysandstorm/581330/Insurgency/Saved/Config/WindowsServer"},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./insurgencysandstorm/581330/Insurgency/Saved/Config/LinuxServer"},{"UpdateStageName":"Base Config Download","UpdateSourcePlatform":31,"UpdateSource":1,"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/InsurgencySS_Game.ini","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":"./","UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null},{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":31,"UpdateSource":2,"UpdateSourceData":"./insurgencysandstorm/581330/Insurgency/Saved/Config/WindowsServer/Game.ini","UpdateSourceArgs":"./insurgencysandstorm/InsurgencySS_Game.ini","UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null},{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":31,"UpdateSource":2,"UpdateSourceData":"./insurgencysandstorm/581330/Insurgency/Saved/Config/LinuxServer/Game.ini","UpdateSourceArgs":"./insurgencysandstorm/InsurgencySS_Game.ini","UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null}] App.WorkingDir=581330 App.UseRandomAdminPassword=True App.MaxUsers=32