Meta.DisplayName=Call of Duty 4: Modern Warfare Meta.Description=Call of Duty 4: Modern Warfare Dedicated Server Meta.OS=Windows, Linux Meta.Arch=x86_64 Meta.Author=Greelan Meta.URL= Meta.DisplayImageSource=steam:7940 Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.Ports.$MasterPort} Meta.ConfigManifest=call-of-duty4mwconfig.json Meta.MetaConfigManifest=call-of-duty4mwmetaconfig.json Meta.ConfigRoot=call-of-duty4mw.kvp Meta.MinAMPVersion=2.4.0.10 Meta.SpecificDockerImage=cubecoders/ampbase:wine Meta.DockerRequired=False Meta.ContainerPolicy=SupportedOnWindows, RecommendedOnLinux Meta.ContainerPolicyReason=The server requires Wine to run on Linux. Using a container avoids the need to install this dependency on the host. Meta.Prerequsites=[] Meta.ExtraContainerPackages=[] Meta.ConfigReleaseState=NotSpecified Meta.NoCommercialUsage=False App.DisplayName=Call of Duty 4: Modern Warfare App.RootDir=./call-of-duty4mw/ App.BaseDirectory=./call-of-duty4mw/7940/ App.ExecutableWin=7940\iw3mp.exe App.ExecutableLinux=/usr/bin/wine App.WorkingDir=7940 App.LinuxCommandLineArgs="./iw3mp.exe" App.WindowsCommandLineArgs= App.CommandLineArgs={{$PlatformArgs}} +set sv_punkbuster 0 +exec "server.cfg" +set net_port {{$GamePort}} +set authPort {{$AuthPort}} +set masterPort {{$MasterPort}} {{map_mode}}{{$FormattedArgs}} App.UseLinuxIOREDIR=False App.AppSettings={} App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"7940","WINEPREFIX":"{{$FullRootDir}}.wine","WINEARCH":"win32","WINEDEBUG":"-all"} App.CommandLineParameterFormat=+set {0} "{1}" App.CommandLineParameterDelimiter= App.ExitMethod=OS_CLOSE App.ExitTimeout=30 App.ExitString=quit 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.Ports=[{"Protocol":"UDP","Port":28960,"Ref":"GamePort","Name":"Game Port","Description":"Port for game traffic"},{"Protocol":"UDP","Port":20800,"Ref":"AuthPort","Name":"Authentication Port","Description":"Port for Steam authentication traffic"},{"Protocol":"UDP","Port":20810,"Ref":"MasterPort","Name":"Master Port","Description":"Port for Steam master server or browser traffic"}] App.PrimaryApplicationPortRef=GamePort App.UniversalSleepApplicationUDPPort=GamePort App.UniversalSleepSteamQueryPort=MasterPort App.MaxUsers=32 App.UseRandomAdminPassword=False App.RemoteAdminPassword=Password123 App.AdminMethod=STDIO App.AdminLoginTransform=None App.RCONConnectDelaySeconds=5 App.RCONConnectRetrySeconds=5 App.RCONHeartbeatMinutes=0 App.RCONHeartbeatCommand=ping App.TelnetLoginFormat=login {0} App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"7940","UpdateSourceArgs":"7940","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/call-of-duty4mwserver.cfg","UpdateSourceArgs":"main/server.cfg","UpdateSourceTarget":"{{$FullBaseDir}}","OverwriteExistingFiles":false},{"UpdateStageName":"Create Custom Maps Directory","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}usermaps","OverwriteExistingFiles":false}] App.Compatibility=None App.SteamUpdateAnonymousLogin=False App.SteamForceLoginPrompt=False App.RapidStartup=False App.MonitorChildProcess=True App.MonitorChildProcessWaitMs=1000 App.MonitorChildProcessName=iw3mp.exe App.SupportsUniversalSleep=True App.WakeupMode=Any App.ApplicationReadyMode=Immediate App.TemplateMatchRegex={{(\$?[\w]+)}} Console.FilterMatchRegex= Console.FilterMatchReplacement= Console.ThrowawayMessageRegex=^((WARNING|ERROR): Shader.+|Could not find Wine Gecko.*)$ Console.AppReadyRegex=^$ Console.UserJoinRegex=^$ Console.UserLeaveRegex=^$ Console.UserChatRegex=^$ Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$ Console.MetricsRegex= Console.SuppressLogAtStart=False Console.ActivateLogRegex= Console.UserActions={} Limits.SleepMode=False Limits.SleepOnStart=False Limits.SleepDelayMinutes=5 Limits.DozeDelay=2 Limits.AutoRetryCount=5