parent
6b905c64df
commit
7523fb5cba
86
call-of-duty4mw.kvp
Normal file
86
call-of-duty4mw.kvp
Normal file
@ -0,0 +1,86 @@
|
||||
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=RecommendedOnLinux
|
||||
Meta.ContainerPolicyReason=The server requires Wine and Xvfb to run on Linux. Using a container avoids the need to install these dependencies 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/xvfb-run
|
||||
App.WorkingDir=7940
|
||||
App.LinuxCommandLineArgs=-a wine "./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"}
|
||||
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","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=wine
|
||||
App.SupportsUniversalSleep=True
|
||||
App.WakeupMode=Any
|
||||
App.ApplicationReadyMode=Immediate
|
||||
App.TemplateMatchRegex={{(\$?[\w]+)}}
|
||||
Console.FilterMatchRegex=
|
||||
Console.FilterMatchReplacement=
|
||||
Console.ThrowawayMessageRegex=^((WARNING|ERROR): Shader.+|\d+:err:ole:.*|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
|
478
call-of-duty4mwconfig.json
Normal file
478
call-of-duty4mwconfig.json
Normal file
@ -0,0 +1,478 @@
|
||||
[
|
||||
{
|
||||
"DisplayName":"Game Port",
|
||||
"Category":"Server Settings",
|
||||
"Description":"",
|
||||
"Keywords":"",
|
||||
"FieldName":"$GamePort",
|
||||
"InputType":"number",
|
||||
"Hidden":true,
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"net_port",
|
||||
"IncludeInCommandLine":false,
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"IP Binding",
|
||||
"Category":"Server Settings",
|
||||
"Description":"",
|
||||
"Keywords":"",
|
||||
"FieldName":"$ApplicationIPBinding",
|
||||
"InputType":"number",
|
||||
"Hidden":true,
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"net_ip",
|
||||
"IncludeInCommandLine":false,
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Enable Log File",
|
||||
"Category":"Server Settings",
|
||||
"Description":"",
|
||||
"Keywords":"",
|
||||
"FieldName":"logfile",
|
||||
"InputType":"number",
|
||||
"Hidden":true,
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"logfile",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"1",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Continuous Log",
|
||||
"Category":"Server Settings",
|
||||
"Description":"",
|
||||
"Keywords":"",
|
||||
"FieldName":"g_logsync",
|
||||
"InputType":"number",
|
||||
"Hidden":true,
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"g_logsync",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"2",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Log File Name",
|
||||
"Category":"Server Settings",
|
||||
"Description":"",
|
||||
"Keywords":"",
|
||||
"FieldName":"g_log",
|
||||
"InputType":"text",
|
||||
"Hidden":true,
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"g_log",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"games_mp.log",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Disable Punkbuster",
|
||||
"Category":"Server Settings",
|
||||
"Description":"",
|
||||
"Keywords":"",
|
||||
"FieldName":"sv_punkbuster",
|
||||
"InputType":"number",
|
||||
"Hidden":true,
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_punkbuster",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"0",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server Name",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the name of the server. Limit of 22 characters. Colour codes can be used: ^0=Black, ^1=Red, ^2=Green, ^3=Yellow, ^4=Blue, ^5=Cyan, ^6=Pink, ^7=White, ^8=Grey, ^9=Grey/Map Default",
|
||||
"Keywords":"server,name",
|
||||
"FieldName":"sv_hostname",
|
||||
"InputType":"text",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_hostname",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"^1AMP Hosted COD4 Server",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Message Of The Day",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the message of the day (MOTD) displayed when players join. Colour codes can also be used, as per the Server Name",
|
||||
"Keywords":"message,motd",
|
||||
"FieldName":"scr_motd",
|
||||
"InputType":"text",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"scr_motd",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"^4Welcome to COD4!",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Make Server Public",
|
||||
"Category":"Server Settings",
|
||||
"Description":"If enabled, the server will be visible publicly. Otherwise it will only be accessible from the local network",
|
||||
"Keywords":"public,visible",
|
||||
"FieldName":"dedicated",
|
||||
"InputType":"checkbox",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"dedicated",
|
||||
"IncludeInCommandLine":true,
|
||||
"DefaultValue":"2",
|
||||
"EnumValues":{
|
||||
"False":"1",
|
||||
"True":"2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server Password",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the password to join the server",
|
||||
"Keywords":"password",
|
||||
"FieldName":"g_password",
|
||||
"InputType":"password",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"g_password",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"RCON Password",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the RCON password to allow sending console commands in-game. Default is no password, disabling console commands",
|
||||
"Keywords":"rcon,password",
|
||||
"FieldName":"rcon_password",
|
||||
"InputType":"password",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"rcon_password",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Map Mode",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets whether to enable map rotation (the Map Rotation List must then also be set) or to load a specific initial map (the Initial Game Type and Initial Map must then also be set)",
|
||||
"Keywords":"map,mode",
|
||||
"FieldName":"map_mode",
|
||||
"InputType":"enum",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"map_mode",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"+map_rotate ",
|
||||
"EnumValues":{
|
||||
"+map_rotate ":"Map Rotation (Default)",
|
||||
"+map \"{{map_name}}\" ":"Specific Initial Map"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Map Rotation List",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the map list to use for map rotations for the server. Each entry must be in the format: gametype <gametype> map <mapname> (for example, gametype war map mp_convoy). Map Rotation must be configured",
|
||||
"Keywords":"map,rotation,list",
|
||||
"FieldName":"sv_mapRotation",
|
||||
"InputType":"Textarea",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_mapRotation",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"gametype dm map mp_backlot gametype dom map mp_bloc gametype koth map mp_bog gametype sab map mp_cargoship gametype sd map mp_citystreets gametype war map mp_convoy gametype dm map mp_countdown gametype dom map mp_crash gametype koth map mp_crossfire gametype sab map mp_farm gametype sd map mp_overgrown gametype war map mp_pipeline gametype dm map mp_shipment gametype dom map mp_showdown gametype koth map mp_strike gametype sab map mp_vacant",
|
||||
"Placeholder":"gametype dm map mp_backlot gametype dom map mp_bloc gametype koth map mp_bog gametype sab map mp_cargoship gametype sd map mp_citystreets gametype war map mp_convoy gametype dm map mp_countdown gametype dom map mp_crash gametype koth map mp_crossfire gametype sab map mp_farm gametype sd map mp_overgrown gametype war map mp_pipeline gametype dm map mp_shipment gametype dom map mp_showdown gametype koth map mp_strike gametype sab map mp_vacant",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Initial Game Type",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the game type to start the server with. This setting will be overridden if Map Rotation is configured. Settings for each game type can be set in server.cfg",
|
||||
"Keywords":"game,type",
|
||||
"FieldName":"g_gametype",
|
||||
"InputType":"enum",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"g_gametype",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"dm",
|
||||
"EnumValues":{
|
||||
"dm":"Deathmatch / Free For All (Default)",
|
||||
"dom":"Domination",
|
||||
"koth":"King Of The Hill / Headquarters",
|
||||
"sab":"Sabotage",
|
||||
"sd":"Search And Destroy Classic",
|
||||
"war":"Team Deathmatch"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Initial Map",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the map to start the server with. This setting will be overridden if Map Rotation is configured",
|
||||
"Keywords":"map",
|
||||
"FieldName":"map_name",
|
||||
"InputType":"text",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"map_name",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"mp_backlot",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Load Mod",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the mod to load when starting the server, based on the path to the mod in the Mods directory - for example, \"Mods/ModWarfare\"",
|
||||
"Keywords":"mods",
|
||||
"FieldName":"fs_game",
|
||||
"InputType":"text",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"+fs_game",
|
||||
"IncludeInCommandLine":true,
|
||||
"SkipIfEmpty":true,
|
||||
"DefaultValue":"",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Player Limit",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the maximum number of players allowed on the server",
|
||||
"Keywords":"max,players,limit",
|
||||
"FieldName":"$MaxUsers",
|
||||
"InputType":"number",
|
||||
"MinValue":"1",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_maxclients",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"32",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Private Player Limit",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the maximum number of private players allowed on the server (those that can use non-public reserved slots). Will be limited to the Player Limit",
|
||||
"Keywords":"max,private,players,limit",
|
||||
"FieldName":"sv_privateclients",
|
||||
"InputType":"number",
|
||||
"MinValue":"0",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_privateclients",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"6",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Private Player Password",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the password for private players to join the server. Private players entering this password have access to all slots on the server, otherwise the players only have access to the public slots (Player Limit less Private Player Limit)",
|
||||
"Keywords":"private,player,password",
|
||||
"FieldName":"sv_privatePassword",
|
||||
"InputType":"password",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_privatePassword",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Enable Server Voice Chat",
|
||||
"Category":"Server Settings",
|
||||
"Description":"If set, server voice chat will be enabled",
|
||||
"Keywords":"voice,chat",
|
||||
"FieldName":"sv_voice",
|
||||
"InputType":"checkbox",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_voice",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"1",
|
||||
"EnumValues":{
|
||||
"False":"0",
|
||||
"True":"1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server Voice Chat Quality",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the server voice quality level",
|
||||
"Keywords":"voice,chat,quality",
|
||||
"FieldName":"sv_voiceQuality",
|
||||
"InputType":"number",
|
||||
"MinValue":"0",
|
||||
"MaxValue":"9",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_voiceQuality",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"3",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Enable Dead Chat",
|
||||
"Category":"Server Settings",
|
||||
"Description":"If enabled, dead players will be allowed to chat with living players",
|
||||
"Keywords":"voice,dead,chat",
|
||||
"FieldName":"voice_deadChat",
|
||||
"InputType":"checkbox",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"voice_deadChat",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"0",
|
||||
"EnumValues":{
|
||||
"False":"0",
|
||||
"True":"1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Minimum Ping",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the minimum ping required for a player to be allowed to join",
|
||||
"Keywords":"minimum,ping",
|
||||
"FieldName":"sv_minPing",
|
||||
"InputType":"number",
|
||||
"MinValue":"0",
|
||||
"MaxValue":"1000",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_minPing",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"0",
|
||||
"Suffix":"milliseconds",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Maximum Ping",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the maximum ping permitted for a player to be allowed to join",
|
||||
"Keywords":"maximum,ping",
|
||||
"FieldName":"sv_maxping",
|
||||
"InputType":"number",
|
||||
"MinValue":"0",
|
||||
"MaxValue":"1000",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_maxping",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"0",
|
||||
"Suffix":"milliseconds",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Maximum Bandwidth",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the maximum bandwidth for the server",
|
||||
"Keywords":"maximum,bandwidth",
|
||||
"FieldName":"sv_maxRate",
|
||||
"InputType":"number",
|
||||
"MinValue":"0",
|
||||
"MaxValue":"100000",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_maxRate",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"25000",
|
||||
"Placeholder":"0 - 100000",
|
||||
"Suffix":"bytes/second",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Client Timeout Period",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the time before the server will kick a client if no response is sent to the server",
|
||||
"Keywords":"timeout",
|
||||
"FieldName":"sv_timeout",
|
||||
"InputType":"number",
|
||||
"IsFlagArgument":false,
|
||||
"MinValue":"0",
|
||||
"MaxValue":"1800",
|
||||
"ParamFieldName":"sv_timeout",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"40",
|
||||
"Suffix":"seconds",
|
||||
"Placeholder":"0 - 1800",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Player Inactivity Kick Period",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the time before the server will kick a player for inactivity",
|
||||
"Keywords":"inactivity,afk,period",
|
||||
"FieldName":"g_inactivity",
|
||||
"InputType":"number",
|
||||
"IsFlagArgument":false,
|
||||
"MinValue":"0",
|
||||
"ParamFieldName":"g_inactivity",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"120",
|
||||
"Suffix":"seconds",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Spectator Kick Period",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the time before the server will kick a spectator",
|
||||
"Keywords":"inactivity,period,spectator",
|
||||
"FieldName":"g_inactivityspectator",
|
||||
"InputType":"number",
|
||||
"IsFlagArgument":false,
|
||||
"MinValue":"0",
|
||||
"ParamFieldName":"g_inactivityspectator",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"180",
|
||||
"Suffix":"seconds",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Temporary Ban Period",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the time for a player temporary ban (on kick/tempban)",
|
||||
"Keywords":"ban,period,temporary",
|
||||
"FieldName":"sv_kickBanTime",
|
||||
"InputType":"number",
|
||||
"IsFlagArgument":false,
|
||||
"MinValue":"0",
|
||||
"MaxValue":"3600",
|
||||
"ParamFieldName":"sv_kickBanTime",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"300",
|
||||
"Suffix":"seconds",
|
||||
"Placeholder":"0 - 3600",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Zombie Retention Period",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the time for keeping a disconnected client on the server to transmit the last message",
|
||||
"Keywords":"zombie,time",
|
||||
"FieldName":"sv_zombietime",
|
||||
"InputType":"number",
|
||||
"IsFlagArgument":false,
|
||||
"MinValue":"0",
|
||||
"MaxValue":"1800",
|
||||
"ParamFieldName":"sv_zombietime",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"2",
|
||||
"Suffix":"seconds",
|
||||
"Placeholder":"0 - 1800",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Enable Flood Protection",
|
||||
"Category":"Server Settings",
|
||||
"Description":"If enabled, flood protection applies, so user commands are throttled. Should be enabled on non-password-protected public servers",
|
||||
"Keywords":"flood,protection",
|
||||
"FieldName":"sv_floodProtect",
|
||||
"InputType":"checkbox",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_floodProtect",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"1",
|
||||
"EnumValues":{
|
||||
"False":"0",
|
||||
"True":"1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Reconnect Limit",
|
||||
"Category":"Server Settings",
|
||||
"Description":"Sets the number of times a player can reconnect after disconnection",
|
||||
"Keywords":"reconnect,limit",
|
||||
"FieldName":"sv_reconnectlimit",
|
||||
"InputType":"number",
|
||||
"MinValue":"0",
|
||||
"MaxValue":"1800",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"sv_reconnectlimit",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"5",
|
||||
"EnumValues":{}
|
||||
}
|
||||
]
|
16
call-of-duty4mwmetaconfig.json
Normal file
16
call-of-duty4mwmetaconfig.json
Normal file
@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"ConfigFile":"main/server.cfg",
|
||||
"AutoMap":true,
|
||||
"ConfigType":"kvp",
|
||||
"ConfigFormat":"set {0} \"{1}\"",
|
||||
"ConfigFormatRegex":"^set (?<key>.+?) \"?(?<value>.*?)\"?$"
|
||||
},
|
||||
{
|
||||
"ConfigFile":"main/server.cfg",
|
||||
"AutoMap":true,
|
||||
"ConfigType":"kvp",
|
||||
"ConfigFormat":"sets {0} \"{1}\"",
|
||||
"ConfigFormatRegex":"^sets (?<key>.+?) \"?(?<value>.*?)\"?$"
|
||||
}
|
||||
]
|
155
call-of-duty4mwserver.cfg
Normal file
155
call-of-duty4mwserver.cfg
Normal file
@ -0,0 +1,155 @@
|
||||
// AMP partly controls server.cfg
|
||||
|
||||
// The first section below includes the settings that are set either via the AMP UI
|
||||
// or are controlled by AMP itself (in particular, ports)
|
||||
// Settings in the second section can be changed or added to as needed
|
||||
|
||||
// *******
|
||||
// AMP CONTROLLED SETTINGS
|
||||
// *******
|
||||
|
||||
set net_port "28960"
|
||||
set net_ip ""
|
||||
set dedicated "2"
|
||||
sets sv_hostname "^1AMP Powered Call of Duty 4: Modern Warfare Server"
|
||||
set scr_motd "^4Welcome to COD4!"
|
||||
set g_password ""
|
||||
set rcon_password ""
|
||||
set sv_mapRotation "gametype dm map mp_backlot gametype dom map mp_bloc gametype koth map mp_bog gametype sab map mp_cargoship gametype sd map mp_citystreets gametype war map mp_convoy gametype dm map mp_countdown gametype dom map mp_crash gametype koth map mp_crossfire gametype sab map mp_farm gametype sd map mp_overgrown gametype war map mp_pipeline gametype dm map mp_shipment gametype dom map mp_showdown gametype koth map mp_strike gametype sab map mp_vacant"
|
||||
set g_gametype "dm"
|
||||
set sv_maxclients "32"
|
||||
set sv_privateclients "6"
|
||||
set sv_privatePassword ""
|
||||
set sv_voice "1"
|
||||
set sv_voiceQuality "3"
|
||||
set voice_deadChat "0"
|
||||
set sv_minPing "0"
|
||||
set sv_maxping "0"
|
||||
set sv_maxRate "25000"
|
||||
set sv_timeout "40"
|
||||
set g_inactivity "120"
|
||||
set g_inactivityspectator "180"
|
||||
set sv_kickBanTime "300"
|
||||
set sv_zombietime "2"
|
||||
set sv_floodProtect "1"
|
||||
set sv_reconnectlimit "3"
|
||||
set logfile "1"
|
||||
set g_logsync "2"
|
||||
set g_log "games_mp.log"
|
||||
set sv_punkbuster "0"
|
||||
|
||||
|
||||
// *******
|
||||
// OTHER SETTINGS
|
||||
// *******
|
||||
|
||||
// General
|
||||
sets _Admin "admin"
|
||||
sets _Email ""
|
||||
sets _Website ""
|
||||
sets _Location ""
|
||||
sets _Irc ""
|
||||
sets _Mod ""
|
||||
sets _ModVer ""
|
||||
sets _ModUpdate ""
|
||||
sets _Maps ""
|
||||
|
||||
// Logging
|
||||
set sv_log_damage "1"
|
||||
|
||||
// Master servers
|
||||
set sv_master1 "cod2master.activision.com"
|
||||
set sv_master2 "cod2update.activision.com"
|
||||
set sv_master3 "clanservers.net"
|
||||
set sv_gamespy "0"
|
||||
|
||||
// Client download settings. Used for mods and custom maps. 0=off, 1=on
|
||||
set sv_allowdownload "1"
|
||||
seta sv_wwwDownload "1"
|
||||
//seta sv_wwwBaseURL "http://www.your_website.com/base_folder"
|
||||
seta sv_wwwDlDisconnected "0"
|
||||
|
||||
// FPS
|
||||
//set sv_fps "20"
|
||||
|
||||
// Anti Cheat settings
|
||||
set sv_disableClientConsole "0"
|
||||
set cl_autocmd "0"
|
||||
set sv_cheats "0"
|
||||
set sv_pure "1"
|
||||
set g_banIPs ""
|
||||
set g_no_script_spam "1"
|
||||
|
||||
// In-game voice communication system
|
||||
set voice_global "0"
|
||||
set voice_localEcho "0"
|
||||
set winvoice_mic_mute "1"
|
||||
set sv_allowAnonymous "0"
|
||||
set g_antilag "0"
|
||||
set g_compassShowEnemies "0"
|
||||
|
||||
// Deathmatch / Free For All settings
|
||||
set scr_dm_scorelimit 150
|
||||
set scr_dm_timelimit 10
|
||||
set scr_dm_roundlimit 1
|
||||
set scr_dm_numlives 0
|
||||
set scr_dm_playerrespawndelay 0
|
||||
set scr_dm_waverespawndelay 0
|
||||
|
||||
// Domination settings
|
||||
set scr_dom_scorelimit 200
|
||||
set scr_dom_timelimit 0
|
||||
set scr_dom_roundlimit 1
|
||||
set scr_dom_numlives 0
|
||||
set scr_dom_playerrespawndelay 0
|
||||
set scr_dom_waverespawndelay 0
|
||||
|
||||
// Team Deathmatch settings
|
||||
set scr_war_scorelimit 750
|
||||
set scr_war_timelimit 10
|
||||
set scr_war_roundlimit 1
|
||||
set scr_war_numlives 0
|
||||
set scr_war_playerrespawndelay 0
|
||||
set scr_war_waverespawndelay 0
|
||||
|
||||
// Sabotage settings
|
||||
set scr_sab_scorelimit 1
|
||||
set scr_sab_timelimit 20
|
||||
set scr_sab_roundlimit 0
|
||||
set scr_sab_roundswitch 1
|
||||
set scr_sab_numlives 0
|
||||
set scr_sab_bombtimer 30
|
||||
set scr_sab_planttime 2.5
|
||||
set scr_sab_defusetime 5
|
||||
set scr_sab_hotpotato 0
|
||||
set scr_sab_playerrespawndelay 7.5
|
||||
set scr_sab_waverespawndelay 0
|
||||
|
||||
// Search And Destroy Classic settings
|
||||
set scr_sd_scorelimit 4
|
||||
set scr_sd_timelimit 2.5
|
||||
set scr_sd_roundlimit 0
|
||||
set scr_sd_roundswitch 3
|
||||
set scr_sd_numlives 1
|
||||
set scr_sd_bombtimer 45
|
||||
set scr_sd_planttime 5
|
||||
set scr_sd_defusetime 5
|
||||
set scr_sd_multibomb 0
|
||||
set scr_sd_playerrespawndelay 0
|
||||
set scr_sd_waverespawndelay 0
|
||||
|
||||
// King Of The Hill / Headquarters settings
|
||||
set scr_koth_scorelimit 250
|
||||
set scr_koth_timelimit 15
|
||||
set scr_koth_roundlimit 1
|
||||
set scr_koth_roundswitch 1
|
||||
set scr_koth_numlives 0
|
||||
set scr_koth_playerrespawndelay 0
|
||||
set scr_koth_waverespawndelay 0
|
||||
set koth_autodestroytime 60
|
||||
set koth_spawntime 0
|
||||
set koth_kothmode 0
|
||||
set koth_capturetime 20
|
||||
set koth_destroytime 10
|
||||
set koth_delayPlayer 0
|
||||
set koth_spawnDelay 60
|
Loading…
Reference in New Issue
Block a user