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.
This commit is contained in:
IceOfWraith 2021-12-29 07:34:30 -06:00
parent d92cd80e77
commit 461219ad30
2 changed files with 51 additions and 0 deletions

36
starmade.kvp Normal file
View File

@ -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=(?<username>.+?)\].*\[message=(?<message>.+?)\]$
Console.UserJoinRegex=^\[CONTROLLER\]\[ADD-UNIT\] \(Server\(\d+\)\): PlS\[(?<username>.+?) ; id.*Added to controllers: PlayerCharacter\[\(ENTITY_PLAYERCHARACTER.*\)\(\d+\)\]$
Console.UserLeaveRegex=^\[SERVERLOG\] \[DISCONNECT\] Client 'RegisteredClient: (?<username>.+?) \(\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/

15
starmadeconfig.json Normal file
View File

@ -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": {}
}
]