Full commit (#86)

This commit is contained in:
Greelan 2022-03-24 14:29:14 +11:00 committed by GitHub
parent 5baa949035
commit 5d33a3a933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 295 additions and 0 deletions

76
eco.kvp Normal file
View File

@ -0,0 +1,76 @@
Meta.DisplayName=Eco
Meta.Description=Eco Dedicated Server
Meta.OS=Windows, Linux
Meta.Arch=x86_64
Meta.Author=Greelan, stroskler
Meta.URL=https://play.eco/
Meta.DisplayImageSource=steam:382310
Meta.EndpointURIFormat=steam://connect/{0}
Meta.ConfigManifest=ecoconfig.json
Meta.MetaConfigManifest=ecometaconfig.json
Meta.ConfigRoot=eco.kvp
Meta.MinAMPVersion=2.3.2.8
Meta.SpecificDockerImage=
Meta.ContainerPolicy=Supported
Meta.Prerequsites=[]
Meta.ConfigReleaseState=NotSpecified
App.DisplayName=Eco
App.RootDir=./eco/
App.BaseDirectory=./eco/739590/
App.ExecutableWin=739590/EcoServer.exe
App.ExecutableLinux=739590/EcoServer
App.WorkingDir=739590
App.LinuxCommandLineArgs=
App.WindowsCommandLineArgs=
App.CommandLineArgs={{$PlatformArgs}} {{$FormattedArgs}}
App.AppSettings={}
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"382310"}
App.CommandLineParameterFormat=-{0} {1}
App.CommandLineParameterDelimiter=
App.ExitMethod=OS_CLOSE
App.ExitTimeout=30
App.ExitString=stop
App.ExitFile=app_exit.lck
App.HasWriteableConsole=True
App.HasReadableConsole=True
App.SupportsLiveSettingsChanges=False
App.LiveSettingChangeCommandFormat=set {0} "{1}"
App.ApplicationIPBinding=0.0.0.0
App.ApplicationPort1=3000
App.ApplicationPort2=3001
App.ApplicationPort3=0
App.RemoteAdminPort=3002
App.MaxUsers=-1
App.UseRandomAdminPassword=False
App.RemoteAdminPassword=Password123
App.AdminMethod=SourceRCON
App.AdminLoginTransform=None
App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"739590","UpdateSourceVersion":"{{ServerVersion}}"},{"UpdateStageName":"Network Config Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./eco/739590/Configs/Network.eco","UpdateSourceArgs":"./eco/739590/Configs/Network.eco.template","OverwriteExistingFiles":false}]
App.Compatibility=None
App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False
App.RapidStartup=False
App.SupportsUniversalSleep=False
App.UniversalSleepApplicationUDPPort=27015
App.UniversalSleepSteamQueryPort=27016
App.WakeupMode=Any
App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex=
Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=
Console.AppReadyRegex=^\[\d\d:\d\d:\d\d\] Server Initialization\s*\.\.\. Finished in [\d.,]*(ms| sec)$
Console.UserJoinRegex=
Console.UserLeaveRegex=
Console.UserChatRegex=
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
Console.SuppressLogAtStart=False
Console.ActivateLogRegex=
Console.UserActions={}
Limits.SleepMode=True
Limits.SleepOnStart=False
Limits.SleepDelayMinutes=5
Limits.DozeDelay=2
Limits.AutoRetryCount=5

212
ecoconfig.json Normal file
View File

@ -0,0 +1,212 @@
[
{
"DisplayName":"Game Server Port",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ApplicationPort1",
"InputType":"number",
"Hidden":true,
"IsFlagArgument":false,
"ParamFieldName":"GameServerPort",
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Web Server Port",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$ApplicationPort2",
"InputType":"number",
"Hidden":true,
"IsFlagArgument":false,
"ParamFieldName":"WebServerPort",
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"RCON Server Port",
"Category":"Server Settings",
"Description":"",
"Keywords":"",
"FieldName":"$RemoteAdminPort",
"InputType":"number",
"Hidden":true,
"IsFlagArgument":false,
"ParamFieldName":"RconServerPort",
"IncludeInCommandLine":false,
"EnumValues":{}
},
{
"DisplayName":"Server Version",
"Category":"Server Settings",
"Description":"[Server version](https://steamdb.info/app/739590/depots/) to install. Default is \"public\". Set any required password under SteamCMD and Updates. NOTE: Update the server after changing this setting!",
"Keywords":"server,version,beta",
"FieldName":"ServerVersion",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"",
"IncludeInCommandLine":false,
"DefaultValue":"public",
"Placeholder":"public",
"EnumValues":{}
},
{
"DisplayName":"Server Name",
"Category":"Server Settings",
"Description":"Name of the server as it appears in the client server browser",
"Keywords":"name",
"FieldName":"Description",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"Description",
"IncludeInCommandLine":false,
"DefaultValue":"Eco Server - Powered by AMP",
"EnumValues":{}
},
{
"DisplayName":"Server Description",
"Category":"Server Settings",
"Description":"Long form description of the server when clicked on in the client server browser",
"Keywords":"description",
"FieldName":"DetailedDescription",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"DetailedDescription",
"IncludeInCommandLine":false,
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Make Server Public",
"Category":"Server Settings",
"Description":"If enabled, server will appear in the client server browser",
"Keywords":"public",
"FieldName":"PublicServer",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"PublicServer",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"False":"false",
"True":"true"
}
},
{
"DisplayName":"Server Password",
"Category":"Server Settings",
"Description":"Password required to connect to the server (except for whitelisted players). Default is no password",
"Keywords":"password",
"FieldName":"Password",
"InputType":"password",
"IsFlagArgument":false,
"ParamFieldName":"Password",
"IncludeInCommandLine":false,
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"RCON Password",
"Category":"Server Settings",
"Description":"Password required to connect to RCON. NOTE: Change this after first installing the server",
"Keywords":"rcon,password",
"FieldName":"$RemoteAdminPassword",
"InputType":"RandomPassword",
"IsFlagArgument":false,
"ParamFieldName":"RconPassword",
"IncludeInCommandLine":false,
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Server Category",
"Category":"Server Settings",
"Description":"Category of the server shown when clients first select a new game",
"Keywords":"category",
"FieldName":"ServerCategory",
"InputType":"enum",
"IsFlagArgument":false,
"ParamFieldName":"ServerCategory",
"IncludeInCommandLine":false,
"DefaultValue":"None",
"EnumValues":{
"None":"None",
"Beginner":"Beginner",
"Established":"Established",
"BeginnerHard":"Beginner Hard",
"Strange":"Strange"
}
},
{
"DisplayName":"Player Limit",
"Category":"Server Settings",
"Description":"Maximum number of players that may connect to the server. Default is no limit (-1)",
"Keywords":"players,limit",
"FieldName":"$MaxUsers",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"MaxConnections",
"IncludeInCommandLine":false,
"DefaultValue":"-1",
"Suffix":"players",
"EnumValues":{}
},
{
"DisplayName":"Server IP Binding",
"Category":"Server Settings",
"Description":"Internal server IP-address the server should bind to. Default is Any (all IPs on the host)",
"Keywords":"ip,binding",
"FieldName":"IPAddress",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"IPAddress",
"IncludeInCommandLine":false,
"DefaultValue":"Any",
"EnumValues":{}
},
{
"DisplayName":"RCON IP Binding",
"Category":"Server Settings",
"Description":"Internal server IP-address the RCON server should bind to. Default is Any (all IPs on the host)",
"Keywords":"rcon,ip,binding",
"FieldName":"RconIPAddress",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"RconIPAddress",
"IncludeInCommandLine":false,
"DefaultValue":"Any",
"EnumValues":{}
},
{
"DisplayName":"Discord Address",
"Category":"Server Settings",
"Description":"ID for a Discord server (the ID after \"discord.gg/\") to provide a link to",
"Keywords":"discord",
"FieldName":"DiscordAddress",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"DiscordAddress",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"78xKTd",
"EnumValues":{}
},
{
"DisplayName":"Enable UPnP",
"Category":"Server Settings",
"Description":"If enabled, UPnP will be enabled on the server. Requires a UPnP-enabled router to work",
"Keywords":"upnp",
"FieldName":"UPnPEnabled",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"UPnPEnabled",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"False":"false",
"True":"true"
}
}
]

7
ecometaconfig.json Executable file
View File

@ -0,0 +1,7 @@
[
{
"ConfigFile": "Configs/Network.eco",
"AutoMap": true,
"ConfigType": "json"
}
]