Merge pull request #18 from IceOfWraith/main

Add StarMade Module
This commit is contained in:
PhonicUK 2021-12-30 15:50:11 +00:00 committed by GitHub
commit 18d40e7cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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{{MaxHeap}}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": "Memory Limit (MB)",
"Category": "Server Settings",
"Description": "Java's maximum heap size",
"Keywords": "max ram",
"FieldName": "MaxHeap",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "MaxHeap",
"IncludeInCommandLine": true,
"DefaultValue": "1024",
"EnumValues": {}
}
]