1b631c7e51
* Terraria Updates This updates the ports to the new method, changes the child process for Linux, displays a suggestion for Docker on Windows, and includes a default .backupExclude file. * Whoopsies
63 lines
3.4 KiB
Plaintext
63 lines
3.4 KiB
Plaintext
Meta.DisplayName=Terraria
|
||
Meta.Description=Terraria generic module with support for various options.
|
||
Meta.Author=JasperFirecai2, EnderWolf, IceOfWraith
|
||
Meta.MetaConfigManifest=terrariametaconfig.json
|
||
Meta.ConfigRoot=terraria.kvp
|
||
Meta.ConfigManifest=terrariaconfig.json
|
||
Meta.DisplayImageSource=steam:105600
|
||
Meta.EndpointURIFormat=steam://connect/{0}
|
||
Meta.OS=Windows, Linux
|
||
Meta.URL=https://store.steampowered.com/app/105600/Terraria/
|
||
Meta.MinAMPVersion=2.4.3.2
|
||
Meta.ContainerPolicy=SupportedOnLinux, RecommendedOnWindows
|
||
Meta.ContainerPolicyReason=AMP's console is unable to provide console input on Windows for the Terraria server. It is able to do so on Linux, therefore Docker is recommended on Windows.
|
||
App.DisplayName=Terraria
|
||
App.RootDir=./Terraria/
|
||
App.BaseDirectory=./Terraria/serverfiles
|
||
App.ExecutableWin=serverfiles/TerrariaServer.exe
|
||
App.ExecutableLinux=serverfiles/TerrariaServer
|
||
App.WorkingDir=serverfiles
|
||
App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "105600"}
|
||
App.LinuxCommandLineArgs=
|
||
App.WindowsCommandLineArgs=
|
||
App.CommandLineArgs=-server {{$FormattedArgs}} -players {{$MaxUsers}} -port {{$ApplicationPort1}} -config {{Config}}
|
||
App.CommandLineParameterFormat=-{0} {1}
|
||
App.AppSettings={"Config":"terrariaserverconfig.txt"}
|
||
App.CommandLineVars={}
|
||
App.ExitMethod=String
|
||
App.ExitTimeout=30
|
||
App.ExitString=exit
|
||
App.ExitFile=app_exit.lck
|
||
App.HasWriteableConsole=True
|
||
App.HasReadableConsole=True
|
||
App.AdminMethod=STDIO
|
||
App.SupportsLiveSettingsChanges=False
|
||
App.LiveSettingChangeCommandFormat=set {0} "{1}"
|
||
App.ApplicationIPBinding=0.0.0.0
|
||
App.Ports=[{"Protocol":"TCP","Port":7777,"Offset":0,"Range":1,"Ref":"ApplicationPort1","Name":"Main Game Port","Description":"","ChildPorts":null}]
|
||
App.MaxUsers=8
|
||
App.UpdateSources=[{"UpdateStageName":"Config Template Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/terrariaserverconfig.txt","UpdateSourceTarget":"serverfiles","OverwriteExistingFiles":false},{"UpdateStageName":"SteamCMD Terraria","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"105600","UpdateSourceTarget":"serverfiles"},{"UpdateStageName":"Backup Exclusions Download 1","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/exclusions/.backupExclusionsTerraria","UpdateSourceArgs":".backupExclude","UpdateSourceTarget":"{{$FullBaseDir}}","UpdateSourceConditionSetting":"backupExclude","UpdateSourceConditionValue":"true","OverwriteExistingFiles":false}]
|
||
App.Compatibility=None
|
||
App.SteamUpdateAnonymousLogin=False
|
||
App.SteamForceLoginPrompt=False
|
||
App.RapidStartup=False
|
||
App.MonitorChildProcess=True
|
||
App.MonitorChildProcessWaitMs=1000
|
||
App.MonitorChildProcessName=TerrariaServer.bin.x86_64
|
||
App.SupportsUniversalSleep=False
|
||
App.WakeupMode=Any
|
||
App.ApplicationReadyMode=RegexMatch
|
||
App.TemplateMatchRegex={{(\$?[\w]+)}}
|
||
Console.AppReadyRegex=^Listening on port (\d+)$
|
||
Console.UserJoinRegex=^(?<username>.+?) has joined\.$
|
||
Console.UserLeaveRegex=^(?<username>.+?) has left\.$
|
||
Console.UserChatRegex=^<(?<username>.+?)> (?<message>.+)$
|
||
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
|
||
Console.ThrowawayMessageRegex=^??Error Logging Enabled.$
|
||
Console.SuppressLogAtStart=False
|
||
Console.UserActions={}
|
||
Limits.SleepMode=True
|
||
Limits.SleepOnStart=False
|
||
Limits.SleepDelayMinutes=5
|
||
Limits.DozeDelay=2
|
||
Limits.AutoRetryCount=5 |