From 461219ad30debc8abc73e48a55eba7404ebae978 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Wed, 29 Dec 2021 07:34:30 -0600 Subject: [PATCH] Add StarMade Module This adds StarMade Windows and Linux support. Currently all settings are managed in a single file with 188 settings. Once AutoMap receives new features to specify partial settings this will be added to the module as well. --- starmade.kvp | 36 ++++++++++++++++++++++++++++++++++++ starmadeconfig.json | 15 +++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 starmade.kvp create mode 100644 starmadeconfig.json diff --git a/starmade.kvp b/starmade.kvp new file mode 100644 index 0000000..9bd532b --- /dev/null +++ b/starmade.kvp @@ -0,0 +1,36 @@ +App.AdminMethod=STDIO +App.ApplicationPort1=4242 +App.ApplicationReadyMode=RegexMatch +App.BaseDirectory=./starmade/244770/StarMade +App.CommandLineArgs=-Xmx{{MaxRAM}}M -Xincgc -Xshare:off -jar StarMade.jar -server +App.CommandLineParameterDelimiter= +App.CommandLineParameterFormat=-{0} "{1}" +App.DisplayName=Starmade +App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "244770"} +App.ExecutableLinux=244770/dep/java/jre1.7.0_80/bin/java +App.ExecutableWin=244770\dep\java\jre1.7.0_80\bin\java.exe +App.ExitMethod=OS_CLOSE +App.ExitString=/shutdown +App.HasReadableConsole=true +App.HasWritableConsole=true +App.RapidStartup=false +App.RootDir=./starmade/ +App.UpdateSource=Multi +App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "244770"}] +App.WorkingDir=244770/StarMade +App.SteamUpdateAnonymousLogin=False +App.SteamForceLoginPrompt=True +Console.AppReadyRegex=^\[SERVER\] SERVER INIT FINISHED$ +Console.ThrowawayMessageRegex= +Console.UserChatRegex=^\[CHANNELROUTER\] RECEIVED MESSAGE ON Server\(\d+\): \[CHAT\]\[sender=(?.+?)\].*\[message=(?.+?)\]$ +Console.UserJoinRegex=^\[CONTROLLER\]\[ADD-UNIT\] \(Server\(\d+\)\): PlS\[(?.+?) ; id.*Added to controllers: PlayerCharacter\[\(ENTITY_PLAYERCHARACTER.*\)\(\d+\)\]$ +Console.UserLeaveRegex=^\[SERVERLOG\] \[DISCONNECT\] Client 'RegisteredClient: (?.+?) \(\d+\).*HAS BEEN DISCONNECTED.*$ +Meta.Author=Shinynecrid, IceOfWraith +Meta.ConfigManifest=starmadeconfig.json +Meta.ConfigRoot=starmade.kvp +Meta.Description=Starmade Dedicated Server +Meta.DisplayImageSource=steam:244770 +Meta.DisplayName=Starmade +Meta.EndpointURIFormat= +Meta.OS=3 +Meta.URL=https://steamdb.info/app/244770/ \ No newline at end of file diff --git a/starmadeconfig.json b/starmadeconfig.json new file mode 100644 index 0000000..6dd4fb5 --- /dev/null +++ b/starmadeconfig.json @@ -0,0 +1,15 @@ +[ + { + "DisplayName": "Maximum RAM", + "Category": "Server Settings", + "Description": "Set the Max amount of RAM the server should use", + "Keywords": "max ram", + "FieldName": "MaxRAM", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "MaxRAM", + "IncludeInCommandLine": true, + "DefaultValue": "1024", + "EnumValues": {} + } +] \ No newline at end of file