From 0078bbdafa9dbc3c6c446e2188f287405fb4c875 Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Wed, 11 Oct 2023 17:09:53 +1100 Subject: [PATCH] Add Wolfenstein: Enemy Territory (#463) --- wolfenstein-et.kvp | 101 +++ wolfenstein-etconfig.json | 1135 +++++++++++++++++++++++++++++++++ wolfenstein-etmetaconfig.json | 8 + wolfenstein-etserver.cfg | 86 +++ wolfenstein-etupdates.json | 57 ++ 5 files changed, 1387 insertions(+) create mode 100644 wolfenstein-et.kvp create mode 100644 wolfenstein-etconfig.json create mode 100644 wolfenstein-etmetaconfig.json create mode 100644 wolfenstein-etserver.cfg create mode 100644 wolfenstein-etupdates.json diff --git a/wolfenstein-et.kvp b/wolfenstein-et.kvp new file mode 100644 index 0000000..b059ed8 --- /dev/null +++ b/wolfenstein-et.kvp @@ -0,0 +1,101 @@ +Meta.DisplayName=Wolfenstein: Enemy Territory +Meta.Description=Wolfenstein: Enemy Territory Dedicated Server +Meta.OS=Windows, Linux +Meta.AarchSupport=NotSupported +Meta.Arch=x86_64 +Meta.Author=Greelan +Meta.URL=https://www.splashdamage.com/games/wolfenstein-enemy-territory/ +Meta.DisplayImageSource=steam:1873030 +Meta.EndpointURIFormat=steam://connect/{0} +Meta.ConfigManifest=wolfenstein-etconfig.json +Meta.MetaConfigManifest=wolfenstein-etmetaconfig.json +Meta.ConfigRoot=wolfenstein-et.kvp +Meta.MinAMPVersion=2.4.6.4 +Meta.SpecificDockerImage=cubecoders/ampbase:wine +Meta.DockerRequired=False +Meta.DockerBaseReadOnly=False +Meta.ContainerPolicy=RecommendedOnLinux, SupportedOnWindows +Meta.ContainerPolicyReason=The server requires Wine to run on Linux. Using a container avoids the need to install this dependency on the host. +Meta.ExtraSetupStepsURI= +Meta.Prerequsites=[] +Meta.ExtraContainerPackages=[] +Meta.ConfigReleaseState=NotSpecified +Meta.NoCommercialUsage=False +Meta.ConfigVersion=0.0.0.0 +Meta.ReleaseNotes= +Meta.BreakingReleaseNotes= +App.DisplayName=Wolfenstein: Enemy Territory +App.RootDir=./wolfenstein-et/ +App.BaseDirectory=./wolfenstein-et/1873030/ +App.SteamWorkshopDownloadLocation= +App.ExecutableWin=1873030\etded.exe +App.ExecutableLinux=/usr/bin/wine +App.WorkingDir=1873030 +App.LinuxCommandLineArgs="./etded.exe" +App.WindowsCommandLineArgs= +App.CommandLineArgs={{$PlatformArgs}} +set fs_homepath "{{$FullBaseDir}}" +set net_port {{$ServerPort}} +set net_ip {{$ApplicationIPBinding}} +set rconpassword "{{$RemoteAdminPassword}}" {{$FormattedArgs}} +exec server.cfg +App.UseLinuxIOREDIR=False +App.AppSettings={} +App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"1873030","WINEPREFIX":"{{$FullRootDir}}.wine","WINEARCH":"win32","WINEDEBUG":"-all"} +App.CommandLineParameterFormat=+set {0} "{1}" +App.CommandLineParameterDelimiter= +App.ExitMethod=String +App.ExitTimeout=30 +App.ExitString=quit +App.ExitFile=lock +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":27960,"Ref":"ServerPort","Name":"Server Port","Description":"Port for game and RCON traffic"}] +App.AdminPortRef=ServerPort +App.PrimaryApplicationPortRef=ServerPort +App.UniversalSleepApplicationUDPPortRef=ServerPort +App.UniversalSleepSteamQueryPortRef=0 +App.MaxUsers=20 +App.UseRandomAdminPassword=True +App.PersistRandomPassword=True +App.RemoteAdminPassword= +App.AdminMethod=QuakeRCON +App.AdminLoginTransform=None +App.LoginTransformPrefix= +App.RCONConnectDelaySeconds=5 +App.RCONConnectRetrySeconds=5 +App.RCONHeartbeatMinutes=0 +App.RCONHeartbeatCommand=ping +App.TelnetLoginFormat={0} +App.UpdateSources=@IncludeJson[wolfenstein-etupdates.json] +App.PreStartStages=[] +App.ForceUpdate=False +App.ForceUpdateReason= +App.Compatibility=None +App.SteamUpdateAnonymousLogin=False +App.SteamForceLoginPrompt=True +App.RapidStartup=False +App.MonitorChildProcess=True +App.DumpFullChildProcessTree=False +App.MonitorChildProcessWaitMs=100 +App.MonitorChildProcessName=etded.exe +App.SupportsUniversalSleep=False +App.WakeupMode=Any +App.ApplicationReadyMode=RCONConnected +App.TemplateMatchRegex={{(\$?[\w]+)}} +Console.FilterMatchRegex= +Console.FilterMatchReplacement= +Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ +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=True +Limits.SleepOnStart=False +Limits.SleepDelayMinutes=5 +Limits.DozeDelay=2 +Limits.AutoRetryCount=5 +Limits.SleepStartThresholdSeconds=25 diff --git a/wolfenstein-etconfig.json b/wolfenstein-etconfig.json new file mode 100644 index 0000000..691de8c --- /dev/null +++ b/wolfenstein-etconfig.json @@ -0,0 +1,1135 @@ +[ + { + "DisplayName":"Server Port", + "Category":"WET Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"$ServerPort", + "InputType":"number", + "Hidden":true, + "ParamFieldName":"net_port", + "EnumValues":{} + }, + { + "DisplayName":"Log File Name", + "Category":"WET Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"g_log", + "InputType":"text", + "Hidden":true, + "ParamFieldName":"g_log", + "DefaultValue":"etserver.log", + "EnumValues":{} + }, + { + "DisplayName":"Server Name", + "Category":"WET Server Settings", + "Description":"Sets the name of the server that appears in the server list", + "Keywords":"server,name,sv_hostname", + "FieldName":"sv_hostname", + "InputType":"text", + "ParamFieldName":"sv_hostname", + "DefaultValue":"AMP Powered Wolfenstein: Enemy Territory Server", + "EnumValues":{} + }, + { + "DisplayName":"Message Of The Day (First Line)", + "Category":"WET Server Settings", + "Description":"Sets the first line of the message of the day (MOTD) displayed when players join. [Colour codes](https://etconfig.net/et-color-codes/et-color-codes/) can be used", + "Keywords":"message,motd,server_motd0", + "FieldName":"server_motd0", + "InputType":"text", + "ParamFieldName":"server_motd0", + "DefaultValue":"^1Welcome to Wolfenstein: Enemy Territory!", + "EnumValues":{} + }, + { + "DisplayName":"Message Of The Day (Second Line)", + "Category":"WET Server Settings", + "Description":"Sets the second line of the MOTD. [Colour codes](https://etconfig.net/et-color-codes/et-color-codes/) can be used. Up to four additional lines can be specified under Additional Server Settings, for example: set server_motd2 \"third line\"", + "Keywords":"message,motd,server_motd1", + "FieldName":"server_motd1", + "InputType":"text", + "ParamFieldName":"server_motd1", + "DefaultValue":"", + "EnumValues":{} + }, + { + "DisplayName":"Enable Internet Server", + "Category":"WET Server Settings", + "Description":"If enabled, the server will start as an internet server. Otherwise it will start as a LAN server", + "Keywords":"internet,lan,dedicated", + "FieldName":"dedicated", + "InputType":"checkbox", + "ParamFieldName":"dedicated", + "IncludeInCommandLine":true, + "DefaultValue":"2", + "EnumValues":{ + "False":"1", + "True":"2" + } + }, + { + "DisplayName":"Server Password", + "Category":"WET Server Settings", + "Description":"Sets the password required to connect to the server. Default is no password", + "Keywords":"server,password,g_password", + "FieldName":"g_password", + "InputType":"password", + "ParamFieldName":"g_password", + "DefaultValue":"", + "EnumValues":{} + }, + { + "DisplayName":"RCON Password", + "Category":"WET Server Settings", + "Description":"See the Security and Privacy menu for configurable options for the server's RCON", + "Keywords":"rcon,password,rconpassword", + "FieldName":"$RemoteAdminPassword", + "InputType":"hidden", + "ParamFieldName":"rconpassword", + "EnumValues":{} + }, + { + "DisplayName":"Private Client Password", + "Category":"WET Server Settings", + "Description":"Sets the password for private clients, if any, to connect to the server. Specify the required number of private clients under Private Client Number", + "Keywords":"private,client,password,sv_privatepassword", + "FieldName":"sv_privatepassword", + "InputType":"password", + "ParamFieldName":"sv_privatepassword", + "DefaultValue":"", + "EnumValues":{} + }, + { + "DisplayName":"Referee Status Password", + "Category":"WET Server Settings", + "Description":"Sets the referee status password. Default is no password", + "Keywords":"referee,password,refereePassword", + "FieldName":"refereePassword", + "InputType":"password", + "ParamFieldName":"refereePassword", + "DefaultValue":"", + "EnumValues":{} + }, + { + "DisplayName":"Enable Pure Server", + "Category":"WET Server Settings", + "Description":"If set, only unmodified pak files that are also installed on the server can be used by clients, as a hacking and cheat protection", + "Keywords":"pure,server,cheat,hack,integrity,sv_pure", + "FieldName":"sv_pure", + "InputType":"checkbox", + "ParamFieldName":"sv_pure", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Map Rotation Mode", + "Category":"WET Server Settings", + "Description":"Sets the map rotation mode. Configure the relevant script for that rotation mode accordingly in the relevant \"AMP_\" cycle.cfg file in etmain", + "Keywords":"map,rotation,mode", + "FieldName":"MapRotation", + "InputType":"enum", + "ParamFieldName":"MapRotation", + "DefaultValue":"AMP_campaigncycle.cfg", + "EnumValues":{ + "AMP_campaigncycle.cfg":"Campaign (default)", + "AMP_objectivecycle.cfg":"Objective", + "AMP_lmscycle.cfg":"Last Man Standing", + "AMP_stopwatchcycle.cfg":"Stopwatch" + } + }, + { + "DisplayName":"Player Limit", + "Category":"WET Server Settings", + "Description":"Sets the maximum number of players allowed on the server at one time, including private clients", + "Keywords":"max,maximum,players,spectators,clients,limit,sv_maxclients", + "FieldName":"$MaxUsers", + "InputType":"number", + "MinValue":"1", + "ParamFieldName":"sv_maxclients", + "DefaultValue":"20", + "Placeholder":"20", + "Suffix":"players", + "EnumValues":{} + }, + { + "DisplayName":"Minimum Players", + "Category":"WET Server Settings", + "Description":"Sets the minimum number of players that must join the server before a round can start", + "Keywords":"min,minimum,players,clients,g_minGameClients", + "FieldName":"g_minGameClients", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"g_minGameClients", + "DefaultValue":"4", + "Placeholder":"4", + "Suffix":"players", + "EnumValues":{} + }, + { + "DisplayName":"Minimum Players", + "Category":"WET Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"g_minGameClients", + "InputType":"number", + "Hidden":true, + "ParamFieldName":"match_minplayers", + "EnumValues":{} + }, + { + "DisplayName":"Private Client Number", + "Category":"WET Server Settings", + "Description":"Sets the number of slots (out of the Player Limit) reserved for private players on a public server. 0 = disabled. Private Client Password must also be set", + "Keywords":"sv_privateclients", + "FieldName":"sv_privateclients", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"sv_privateclients", + "DefaultValue":"4", + "Placeholder":"4", + "Suffix":"private players", + "EnumValues":{} + }, + { + "DisplayName":"Allow Download From Server And Web", + "Category":"WET Server Settings", + "Description":"If set, clients will be allowed to download content (maps, models, etc) from either the server or the web", + "Keywords":"allow,download,content,map,model,sv_allowdownload", + "FieldName":"sv_allowDownload", + "InputType":"checkbox", + "ParamFieldName":"sv_allowDownload", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Download From Web", + "Category":"WET Server Settings", + "Description":"If set, clients will be allowed to download content (maps, models, etc) from the web", + "Keywords":"allow,download,content,map,model,sv_wwwDownload", + "FieldName":"sv_wwwDownload", + "InputType":"checkbox", + "ParamFieldName":"sv_wwwDownload", + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Base Download URL", + "Category":"WET Server Settings", + "Description":"Sets the base URL for download redirection", + "Keywords":"base,url,download,redirection,sv_wwwBaseURL", + "FieldName":"sv_wwwBaseURL", + "InputType":"url", + "ParamFieldName":"sv_wwwBaseURL", + "DefaultValue":"", + "EnumValues":{} + }, + { + "DisplayName":"Fallback Download URL", + "Category":"WET Server Settings", + "Description":"Sets the URL to send to if an http/ftp fails or is refused client side", + "Keywords":"fallback,url,download,redirection,sv_wwwFallbackURL", + "FieldName":"sv_wwwFallbackURL", + "InputType":"url", + "ParamFieldName":"sv_wwwFallbackURL", + "DefaultValue":"", + "EnumValues":{} + }, + { + "DisplayName":"Download While Disconnected", + "Category":"WET Server Settings", + "Description":"If set, clients will be told to perform their downloads while disconnected from the server", + "Keywords":"download,disconnected,sv_wwwDlDisconnected", + "FieldName":"sv_wwwDlDisconnected", + "InputType":"checkbox", + "ParamFieldName":"sv_wwwDlDisconnected", + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Maximum Server Download Rate", + "Category":"WET Server Settings", + "Description":"Sets the maximum number of updates per second of the positions of the server's models (players, guns, etc) that the server sends to clients", + "Keywords":"maximum,update,rate,sv_dl_maxRate", + "FieldName":"sv_dl_maxRate", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"sv_dl_maxRate", + "DefaultValue":"66", + "Placeholder":"66", + "EnumValues":{} + }, + { + "DisplayName":"Server Memory Allocation", + "Category":"WET Server Settings", + "Description":"Sets the amount of memory allocated for players and items", + "Keywords":"ram,memory,com_hunkmegs", + "FieldName":"com_hunkMegs", + "InputType":"number", + "ParamFieldName":"com_hunkMegs", + "IncludeInCommandLine":true, + "DefaultValue":"72", + "Placeholder":"72", + "Suffix":"MB", + "EnumValues":{} + }, + { + "DisplayName":"Maximum Client Rate", + "Category":"WET Server Settings", + "Description":"Sets the maximum allowable bandwidth a client may have set when connected to the server. 0 = no limit", + "Keywords":"maximum,bandwidth,rate,sv_maxrate", + "FieldName":"sv_maxRate", + "InputType":"number", + "MinValue":"0", + "MaxValue":"25000", + "ParamFieldName":"sv_maxRate", + "DefaultValue":"13000", + "Placeholder":"13000", + "Suffix":"bytes/second", + "EnumValues":{} + }, + { + "DisplayName":"Minimum Client Ping", + "Category":"WET Server Settings", + "Description":"Sets the minimum ping clients can have on the server. 0 = disabled", + "Keywords":"minimum,ping,sv_minping", + "FieldName":"sv_minping", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"sv_minping", + "DefaultValue":"0", + "Placeholder":"0", + "Suffix":"milliseconds", + "EnumValues":{} + }, + { + "DisplayName":"Maximum Client Ping", + "Category":"WET Server Settings", + "Description":"Sets the maximum ping clients can have on the server. 0 = disabled", + "Keywords":"maximum,ping,sv_maxping", + "FieldName":"sv_maxping", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"sv_maxping", + "DefaultValue":"0", + "Placeholder":"0", + "Suffix":"milliseconds", + "EnumValues":{} + }, + { + "DisplayName":"Enable Antilag", + "Category":"WET Server Settings", + "Description":"If set, antilag will be enabled, which is better for high ping players", + "Keywords":"anti,lag,ping,g_antilag", + "FieldName":"g_antilag", + "InputType":"checkbox", + "ParamFieldName":"g_antilag", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Enable Punkbuster", + "Category":"WET Server Settings", + "Description":"If set, the Punkbuster anti-cheat system will be enabled", + "Keywords":"enable,punkbuster,sv_punkbuster", + "FieldName":"sv_punkbuster", + "InputType":"checkbox", + "ParamFieldName":"sv_punkbuster", + "IncludeInCommandLine":true, + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Watchdog Interval", + "Category":"WET Server Settings", + "Description":"Sets the time interval for the Watchdog to check whether for the game dying with an ERR_DROP or any situation leading to the server running with no map", + "Keywords":"watchdog,interval,crash,com_watchdog", + "FieldName":"com_watchdog", + "InputType":"number", + "MinValue":"1", + "ParamFieldName":"com_watchdog", + "DefaultValue":"60", + "Placeholder":"60", + "Suffix":"seconds", + "EnumValues":{} + }, + { + "DisplayName":"Watchdog Command", + "Category":"WET Server Settings", + "Description":"Sets the console variable to action in the event of a Watchdog trigger. Blank = quit (default)", + "Keywords":"watchdog,console,variable,cvar,command,crash,com_watchdog_cmd", + "FieldName":"com_watchdog_cmd", + "InputType":"text", + "ParamFieldName":"com_watchdog_cmd", + "DefaultValue":"", + "EnumValues":{} + }, + { + "DisplayName":"Logging Mode", + "Category":"WET Server Settings", + "Description":"Sets the mode for logging to etmain/etserver.log", + "Keywords":"log,logging,mode,buffered,flush,logfile", + "FieldName":"logfile", + "InputType":"enum", + "ParamFieldName":"logfile", + "IncludeInCommandLine":true, + "DefaultValue":"1", + "EnumValues":{ + "0":"Disable logging", + "1":"Enable buffered logging (default)", + "2":"Enable logging that is flushed after each print" + } + }, + { + "DisplayName":"Enable Synced Console Logging", + "Category":"WET Server Settings", + "Description":"If set, the writing of server logs will be synchronised rather than buffered", + "Keywords":"log,logging,buffered,synchronised,g_logsync", + "FieldName":"g_logsync", + "InputType":"checkbox", + "ParamFieldName":"g_logsync", + "IncludeInCommandLine":true, + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Server/RCON IP Binding", + "Category":"WET Server Settings", + "Description":"If required, you can change the IPv4 IP binding of the server and RCON by editing App.ApplicationIPBinding in GenericModule.kvp for the instance. Default is 0.0.0.0 (all IPs). Stop the instance (not just the server) first. NOTE: The IP must be reachable by AMP, otherwise AMP's console won't work", + "Keywords":"ip,binding", + "FieldName":"$ApplicationIPBinding", + "InputType":"hidden", + "ParamFieldName":"net_ip", + "IncludeInCommandLine":false, + "EnumValues":{} + }, + { + "DisplayName":"Additional Server Settings", + "Category":"WET Server Settings", + "Description":"Specifies additional settings to include in \"etmain/server.cfg\" that are not otherwise set by AMP. One setting per line", + "Keywords":"additional,settings,custom", + "FieldName":"UserSettings", + "InputType":"Textarea", + "IsFlagArgument":false, + "ParamFieldName":"UserSettings", + "DefaultValue":"", + "EnumValues":{} + }, + { + "DisplayName":"Enable Friendly Fire", + "Category":"WET Gameplay Settings", + "Description":"If enabled, friendly fire will be allowed, so players can damage their own teammates", + "Keywords":"friendly,fire,g_friendlyfire", + "FieldName":"g_friendlyFire", + "InputType":"checkbox", + "ParamFieldName":"g_friendlyFire", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Heavy Weapons Restriction", + "Category":"WET Gameplay Settings", + "Description":"Restricts heavy weapons to the set percentage of the team", + "Keywords":"heavy,weapons,g_heavyWeaponRestriction", + "FieldName":"g_heavyWeaponRestriction", + "InputType":"number", + "MinValue":"0", + "MaxValue":"100", + "ParamFieldName":"g_heavyWeaponRestriction", + "DefaultValue":"100", + "Placeholder":"100", + "Suffix":"%", + "EnumValues":{} + }, + { + "DisplayName":"Enable Forced Team Balancing", + "Category":"WET Gameplay Settings", + "Description":"If set, a new player will be forced onto the smallest or losing team. Otherwise, the player can select freely which team to join", + "Keywords":"team,force,balance,balancing,selection,g_teamforcebalance", + "FieldName":"g_teamforcebalance", + "InputType":"checkbox", + "ParamFieldName":"g_teamforcebalance", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Disable Team Switching", + "Category":"WET Gameplay Settings", + "Description":"If set, players will be prevented from switching teams", + "Keywords":"team,switching,g_noTeamSwitching", + "FieldName":"g_noTeamSwitching", + "InputType":"checkbox", + "ParamFieldName":"g_noTeamSwitching", + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Enable Alternate Stopwatch Mode", + "Category":"WET Gameplay Settings", + "Description":"If enabled, the stopwatch mode format will be A-B-A-B instead of A-B-B-A", + "Keywords":"alternate,stopwatch,mode,g_altStopwatchMode", + "FieldName":"g_altStopwatchMode", + "InputType":"checkbox", + "ParamFieldName":"g_altStopwatchMode", + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Enable Automatic Fireteams", + "Category":"WET Gameplay Settings", + "Description":"If enabled, players will be automatically put into fireteams", + "Keywords":"automatic,fireteams,g_autofireteams", + "FieldName":"g_autofireteams", + "InputType":"checkbox", + "ParamFieldName":"g_autofireteams", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Complaint Limit", + "Category":"WET Gameplay Settings", + "Description":"Sets the number of complaints after which a player will be kicked", + "Keywords":"complaint,limit,kick,g_complaintlimit", + "FieldName":"g_complaintlimit", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"g_complaintlimit", + "DefaultValue":"6", + "Placeholder":"6", + "EnumValues":{} + }, + { + "DisplayName":"IP Complaint Limit", + "Category":"WET Gameplay Settings", + "Description":"Sets the number of IPs (different players) from which complaints are filed, after which a player will be kicked", + "Keywords":"ip,complaint,limit,kick,g_ipcomplaintlimit", + "FieldName":"g_ipcomplaintlimit", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"g_ipcomplaintlimit", + "DefaultValue":"3", + "Placeholder":"3", + "EnumValues":{} + }, + { + "DisplayName":"Enable Fast Respawn", + "Category":"WET Gameplay Settings", + "Description":"If enabled, player will be instantly active after being revived", + "Keywords":"fast,respawn,g_fastres", + "FieldName":"g_fastres", + "InputType":"checkbox", + "ParamFieldName":"g_fastres", + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Maximum Lives For Allied Players", + "Category":"WET Gameplay Settings", + "Description":"Sets the number of lives each Allied player has individually. 0 = unlimited", + "Keywords":"maximum,lives,allied,g_alliedmaxlives", + "FieldName":"g_alliedmaxlives", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"g_alliedmaxlives", + "DefaultValue":"0", + "Placeholder":"0", + "EnumValues":{} + }, + { + "DisplayName":"Maximum Lives For Axis Players", + "Category":"WET Gameplay Settings", + "Description":"Sets the number of lives each Axis player has individually. 0 = unlimited", + "Keywords":"maximum,lives,axis,g_axismaxlives", + "FieldName":"g_axismaxlives", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"g_axismaxlives", + "DefaultValue":"0", + "Placeholder":"0", + "EnumValues":{} + }, + { + "DisplayName":"Allowed Voice Chats", + "Category":"WET Gameplay Settings", + "Description":"Sets the number of voice chats allowed within 30 seconds per player", + "Keywords":"voice,chat,g_voiceChatsAllowed", + "FieldName":"g_voiceChatsAllowed", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"g_voiceChatsAllowed", + "DefaultValue":"4", + "Placeholder":"4", + "EnumValues":{} + }, + { + "DisplayName":"Enable Flood Protection", + "Category":"WET Gameplay Settings", + "Description":"If set, the server will be protected from being flooded by players via chat", + "Keywords":"flood,protect,protection,sv_floodprotect", + "FieldName":"sv_floodProtect", + "InputType":"checkbox", + "ParamFieldName":"sv_floodProtect", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Enable Warmup", + "Category":"WET Gameplay Settings", + "Description":"If set, the warmup period will be enabled", + "Keywords":"warmup,period,g_doWarmup", + "FieldName":"g_doWarmup", + "InputType":"checkbox", + "ParamFieldName":"g_doWarmup", + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Player Warmup Time", + "Category":"WET Gameplay Settings", + "Description":"Sets the amount of warmup time allotted to connected clients, assuming warmup is enabled", + "Keywords":"warmup,time,g_warmup", + "FieldName":"g_warmup", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"g_warmup", + "DefaultValue":"30", + "Placeholder":"30", + "Suffix":"seconds", + "EnumValues":{} + }, + { + "DisplayName":"Spectator Inactivity Timeout", + "Category":"WET Gameplay Settings", + "Description":"Sets the maximum time a spectator can remain idle before being kicked from the server. 0 = disabled", + "Keywords":"spectator,inactivity,kick,g_spectatorInactivity", + "FieldName":"g_spectatorInactivity", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"g_spectatorInactivity", + "DefaultValue":"0", + "Placeholder":"0", + "Suffix":"seconds", + "EnumValues":{} + }, + { + "DisplayName":"Enable Late Joining", + "Category":"WET Gameplay Settings", + "Description":"If enabled, players will be allowed to join a match in progress", + "Keywords":"late,join,match,progress,match_latejoin", + "FieldName":"match_latejoin", + "InputType":"checkbox", + "ParamFieldName":"match_latejoin", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Mute Spectators", + "Category":"WET Gameplay Settings", + "Description":"If enabled, spectators will be muted", + "Keywords":"mute,spectators,match_mutespecs", + "FieldName":"match_mutespecs", + "InputType":"checkbox", + "ParamFieldName":"match_mutespecs", + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Ready Percentage To Start Round", + "Category":"WET Gameplay Settings", + "Description":"Sets the percentage of players required to have set ready before a round will commence", + "Keywords":"player,percentage,commence,start,round,ready,match_readypercent", + "FieldName":"match_readypercent", + "InputType":"number", + "MinValue":"0", + "MaxValue":"100", + "ParamFieldName":"match_readypercent", + "DefaultValue":"100", + "Placeholder":"100", + "Suffix":"%", + "EnumValues":{} + }, + { + "DisplayName":"Timeout Count Per Team", + "Category":"WET Gameplay Settings", + "Description":"Sets the number of times non-referee players on each team can pause the match", + "Keywords":"timeout,pause,count,match_timeoutcount", + "FieldName":"match_timeoutcount", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"match_timeoutcount", + "DefaultValue":"0", + "Placeholder":"0", + "EnumValues":{} + }, + { + "DisplayName":"Enable Warmup Friendly Fire", + "Category":"WET Gameplay Settings", + "Description":"If set, friendly fire during the warmup period will be enabled", + "Keywords":"warmup,friendly,fire,match_warmupDamage", + "FieldName":"match_warmupDamage", + "InputType":"checkbox", + "ParamFieldName":"match_warmupDamage", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Maximum Players Per Team", + "Category":"WET Gameplay Settings", + "Description":"Sets the maximum number of players that can join each team. 0 = disabled", + "Keywords":"team,maximum,players,team_maxplayers", + "FieldName":"team_maxplayers", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"team_maxplayers", + "DefaultValue":"0", + "Placeholder":"0", + "Suffix":"players", + "EnumValues":{} + }, + { + "DisplayName":"Disable Team Controls", + "Category":"WET Gameplay Settings", + "Description":"If set, players will not have team controls, such as '/readyteam'", + "Keywords":"disable,team,controls,team_nocontrols", + "FieldName":"team_nocontrols", + "InputType":"checkbox", + "ParamFieldName":"team_nocontrols", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Enable Fixed Rate Game Physics", + "Category":"WET Gameplay Settings", + "Description":"If set, the function responsible for game physics will be run at a fixed rate, as set under Game Physics Fixed Rate, to level the playing field", + "Keywords":"game,physics,fixed,rate,pmove_fixed", + "FieldName":"pmove_fixed", + "InputType":"checkbox", + "ParamFieldName":"pmove_fixed", + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Game Physics Fixed Rate", + "Category":"WET Gameplay Settings", + "Description":"Sets the fixed rate for the game physics function. Requires Enable Fixed Rate Game Physics to be set", + "Keywords":"game,physics,fixed,rate,pmove_msec", + "FieldName":"pmove_msec", + "InputType":"number", + "ParamFieldName":"pmove_msec", + "DefaultValue":"8", + "Placeholder":"8", + "Suffix":"milliseconds", + "EnumValues":{} + }, + { + "DisplayName":"LMS: Follow Team Only", + "Category":"WET Gameplay Settings", + "Description":"If set, players will be restricted to only being able to spectate their teammates in Last Man Standing (LMS)", + "Keywords":"lms,last,man,standing,follow,team,g_lms_followTeamOnly", + "FieldName":"g_lms_followTeamOnly", + "InputType":"checkbox", + "ParamFieldName":"g_lms_followTeamOnly", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"LMS: Lock Teams", + "Category":"WET Gameplay Settings", + "Description":"If set, both teams will be locked when the warmup period is done and a match is started in Last Man Standing (LMS)", + "Keywords":"lms,last,man,standing,lock,teams,g_lms_lockTeams", + "FieldName":"g_lms_lockTeams", + "InputType":"checkbox", + "ParamFieldName":"g_lms_lockTeams", + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"LMS: Match Limit", + "Category":"WET Gameplay Settings", + "Description":"Sets the number of matches to be played in Last Man Standing (LMS) before moving to the next map", + "Keywords":"lms,last,man,standing,match,limit,g_lms_matchlimit", + "FieldName":"g_lms_matchlimit", + "InputType":"number", + "ParamFieldName":"g_lms_matchlimit", + "DefaultValue":"2", + "Placeholder":"2", + "Suffix":"matches", + "EnumValues":{} + }, + { + "DisplayName":"LMS: Round Limit", + "Category":"WET Gameplay Settings", + "Description":"Sets the maximum number of rounds to be played in Last Man Standing (LMS) to determine a team as the winner or a draw to finish a match. The winner is the first to reach (round limit / 2) + 1", + "Keywords":"lms,last,man,standing,round,limit,g_lms_roundlimit", + "FieldName":"g_lms_roundlimit", + "InputType":"number", + "ParamFieldName":"g_lms_roundlimit", + "DefaultValue":"3", + "Placeholder":"3", + "Suffix":"rounds", + "EnumValues":{} + }, + { + "DisplayName":"LMS: Enable Team Balancing", + "Category":"WET Gameplay Settings", + "Description":"If set, team balancing will be enabled in Last Man Standing (LMS) matches", + "Keywords":"lms,last,man,standing,team,balance,balancing,g_lms_teamForceBalance", + "FieldName":"g_lms_teamForceBalance", + "InputType":"checkbox", + "ParamFieldName":"g_lms_teamForceBalance", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Voting", + "Category":"WET Voting Settings", + "Description":"If set, connected players can call for and vote on changes permitted by the other settings in this menu, or otherwise as set in Additional Server Settings", + "Keywords":"vote,voting,g_allowvote", + "FieldName":"g_allowVote", + "InputType":"checkbox", + "ParamFieldName":"g_allowVote", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Maximum Votes Per Map", + "Category":"WET Voting Settings", + "Description":"Sets the maximum number of votes allowed per map", + "Keywords":"vote,voting,number,maximum,vote_limit", + "FieldName":"vote_limit", + "InputType":"number", + "MinValue":"0", + "ParamFieldName":"vote_limit", + "DefaultValue":"5", + "Placeholder":"5", + "Suffix":"votes", + "EnumValues":{} + }, + { + "DisplayName":"Vote Approval Percentage", + "Category":"WET Voting Settings", + "Description":"Sets the required percentage of all players needed to vote 'yes' for a vote to pass", + "Keywords":"vote,voting,percent,vote_percent", + "FieldName":"vote_percent", + "InputType":"number", + "MinValue":"0", + "MaxValue":"100", + "ParamFieldName":"vote_percent", + "DefaultValue":"50", + "Placeholder":"50", + "Suffix":"%", + "EnumValues": {} + }, + { + "DisplayName":"Allow Comp Settings Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to load 'comp' settings will be allowed", + "Keywords":"vote,voting,comp,vote_allow_comp", + "FieldName":"vote_allow_comp", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_comp", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Gametype Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to change the gametype will be allowed", + "Keywords":"vote,voting,gametype,vote_allow_gametype", + "FieldName":"vote_allow_gametype", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_gametype", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Kick Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to kick players will be allowed", + "Keywords":"vote,voting,kick,vote_allow_kick", + "FieldName":"vote_allow_kick", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_kick", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Map Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to change the map will be allowed", + "Keywords":"vote,voting,map,vote_allow_map", + "FieldName":"vote_allow_map", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_map", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Match Reset Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to reset a match will be allowed", + "Keywords":"vote,voting,match,reset,vote_allow_matchreset", + "FieldName":"vote_allow_matchreset", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_matchreset", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Mute Spectators Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to mute spectators will be allowed", + "Keywords":"vote,voting,mute,spectators,vote_allow_mutespecs", + "FieldName":"vote_allow_mutespecs", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_mutespecs", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Next Map Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to skip to the next map in the rotation configuration will be allowed", + "Keywords":"vote,voting,next,map,vote_allow_nextmap", + "FieldName":"vote_allow_nextmap", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_nextmap", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Pub Settings Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to load 'pub' settings will be allowed", + "Keywords":"vote,voting,pub,settings,vote_allow_pub", + "FieldName":"vote_allow_pub", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_pub", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Referee Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to assign someone as referee will be allowed", + "Keywords":"vote,voting,referee,vote_allow_referee", + "FieldName":"vote_allow_referee", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_referee", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Shuffle Teams Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to shuffle teams will be allowed", + "Keywords":"vote,voting,shuffle,teams,vote_allow_shuffleteams", + "FieldName":"vote_allow_shuffleteams", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_shuffleteams", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Swap Teams Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to swap teams will be allowed", + "Keywords":"vote,voting,swap,teams,vote_allow_swapteams", + "FieldName":"vote_allow_swapteams", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_swapteams", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Friendly Fire Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to toggle the friendly fire setting will be allowed", + "Keywords":"vote,voting,friendly,fire,vote_allow_friendlyfire", + "FieldName":"vote_allow_friendlyfire", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_friendlyfire", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Time Limit Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to change the map time limit will be allowed", + "Keywords":"vote,voting,time,limit,vote_allow_timelimit", + "FieldName":"vote_allow_timelimit", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_timelimit", + "DefaultValue":"0", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Warmup Damage Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to toggle the warmup damage setting will be allowed", + "Keywords":"vote,voting,warmup,damage,vote_allow_warmupdamage", + "FieldName":"vote_allow_warmupdamage", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_warmupdamage", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Antilag Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to toggle the antilag setting will be allowed", + "Keywords":"vote,voting,antilag,vote_allow_antilag", + "FieldName":"vote_allow_antilag", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_antilag", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Balanced Teams Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to toggle the balanced team requirement will be allowed", + "Keywords":"vote,voting,balanced,teams,vote_allow_balancedteams", + "FieldName":"vote_allow_balancedteams", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_balancedteams", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + }, + { + "DisplayName":"Allow Muting Vote", + "Category":"WET Voting Settings", + "Description":"If enabled, voting to mute individual players will be allowed", + "Keywords":"vote,voting,mute,muting,vote_allow_muting", + "FieldName":"vote_allow_muting", + "InputType":"checkbox", + "ParamFieldName":"vote_allow_muting", + "DefaultValue":"1", + "EnumValues":{ + "False":"0", + "True":"1" + } + } +] diff --git a/wolfenstein-etmetaconfig.json b/wolfenstein-etmetaconfig.json new file mode 100644 index 0000000..625ec21 --- /dev/null +++ b/wolfenstein-etmetaconfig.json @@ -0,0 +1,8 @@ +[ + { + "ConfigFile":"etmain/server.cfg", + "AutoMap":true, + "ConfigType":"template", + "ConfigFileTemplate":"wolfenstein-et/AMP_server.cfg" + } +] diff --git a/wolfenstein-etserver.cfg b/wolfenstein-etserver.cfg new file mode 100644 index 0000000..08c95b0 --- /dev/null +++ b/wolfenstein-etserver.cfg @@ -0,0 +1,86 @@ +// This file is controlled by AMP +// Configure any additional required settings in AMP's UI + +{{UserSettings}} + +set dedicated "{{dedicated}}" +set net_ip "{{net_ip}}" +set net_port "{{net_port}}" +set sv_maxclients "{{sv_maxclients}}" +set g_password "{{g_password}}" +set sv_privateclients "{{sv_privateclients}}" +set sv_privatepassword "{{sv_privatepassword}}" +set rconpassword "{{rconpassword}}" +set refereePassword "{{refereePassword}}" +set sv_maxRate "{{sv_maxRate}}" +set sv_dl_maxRate "{{sv_dl_maxRate}}" +set sv_allowDownload "{{sv_allowDownload}}" +set sv_wwwDownload "{{sv_wwwDownload}}" +set sv_wwwBaseURL "{{sv_wwwBaseURL}}" +set sv_wwwDlDisconnected "{{sv_wwwDlDisconnected}}" +set sv_wwwFallbackURL "{{sv_wwwFallbackURL}}" +set sv_hostname "{{sv_hostname}}" +set server_motd0 "{{server_motd0}}" +set server_motd1 "{{server_motd1}}" +set g_heavyWeaponRestriction "{{g_heavyWeaponRestriction}}" +set g_antilag "{{g_antilag}}" +set g_altStopwatchMode "{{g_altStopwatchMode}}" +set g_autofireteams "{{g_autofireteams}}" +set g_complaintlimit "{{g_complaintlimit}}" +set g_ipcomplaintlimit "{{g_ipcomplaintlimit}}" +set g_fastres "{{g_fastres}}" +set g_friendlyFire "{{g_friendlyFire}}" +set g_minGameClients "{{g_minGameClients}}" +set g_alliedmaxlives "{{g_alliedmaxlives}}" +set g_axismaxlives "{{g_axismaxlives}}" +set g_teamforcebalance "{{g_teamforcebalance}}" +set g_noTeamSwitching "{{g_noTeamSwitching}}" +set g_voiceChatsAllowed "{{g_voiceChatsAllowed}}" +set g_doWarmup "{{g_doWarmup}}" +set g_warmup "{{g_warmup}}" +set g_spectatorInactivity "{{g_spectatorInactivity}}" +set sv_floodProtect "{{sv_floodProtect}}" +set sv_pure "{{sv_pure}}" +set sv_minping "{{sv_minping}}" +set sv_maxping "{{sv_maxping}}" +set match_latejoin "{{match_latejoin}}" +set match_minplayers "{{match_minplayers}}" +set match_mutespecs "{{match_mutespecs}}" +set match_readypercent "{{match_readypercent}}" +set match_timeoutcount "{{match_timeoutcount}}" +set match_warmupDamage "{{match_warmupDamage}}" +set team_maxplayers "{{team_maxplayers}}" +set team_nocontrols "{{team_nocontrols}}" +set pmove_fixed "{{pmove_fixed}}" +set pmove_msec "{{pmove_msec}}" +set g_lms_teamForceBalance "{{g_lms_teamForceBalance}}" +set g_lms_roundlimit "{{g_lms_roundlimit}}" +set g_lms_matchlimit "{{g_lms_matchlimit}}" +set g_lms_lockTeams "{{g_lms_lockTeams}} +set g_lms_followTeamOnly "{{g_lms_followTeamOnly}}" +set g_allowVote "{{g_allowVote}}" +set vote_limit "{{vote_limit}}" +set vote_percent "{{vote_percent}}" +set vote_allow_comp "{{vote_allow_comp}}" +set vote_allow_gametype "{{vote_allow_gametype}}" +set vote_allow_kick "{{vote_allow_kick}}" +set vote_allow_map "{{vote_allow_map}}" +set vote_allow_matchreset "{{vote_allow_matchreset}}" +set vote_allow_mutespecs "{{vote_allow_mutespecs}}" +set vote_allow_nextmap "{{vote_allow_nextmap}}" +set vote_allow_pub "{{vote_allow_pub}}" +set vote_allow_referee "{{vote_allow_referee}}" +set vote_allow_shuffleteams "{{vote_allow_shuffleteams}}" +set vote_allow_swapteams "{{vote_allow_swapteams}}" +set vote_allow_friendlyfire "{{vote_allow_friendlyfire}}" +set vote_allow_timelimit "{{vote_allow_timelimit}}" +set vote_allow_warmupdamage "{{vote_allow_warmupdamage}}" +set vote_allow_antilag "{{vote_allow_antilag}}" +set vote_allow_balancedteams "{{vote_allow_balancedteams}}" +set vote_allow_muting "{{vote_allow_muting}}" +set g_log "{{g_log}}" +set g_logsync "{{g_logsync}}" +set logfile "{{logfile}}" +exec {{MapRotation}} +set com_watchdog "{{com_watchdog}}" +set com_watchdog_cmd "{{com_watchdog_cmd}}" diff --git a/wolfenstein-etupdates.json b/wolfenstein-etupdates.json new file mode 100644 index 0000000..0daea7f --- /dev/null +++ b/wolfenstein-etupdates.json @@ -0,0 +1,57 @@ +[ + { + "UpdateStageName":"SteamCMD Download", + "UpdateSourcePlatform":"All", + "UpdateSource":"SteamCMD", + "UpdateSourceData":"1873030", + "ForceDownloadPlatform":"Windows" + }, + { + "UpdateStageName":"Server.cfg Template File Download", + "UpdateSourcePlatform":"All", + "UpdateSource":"FetchURL", + "UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/wolfenstein-etserver.cfg", + "UpdateSourceArgs":"AMP_server.cfg", + "UpdateSourceTarget":"{{$FullRootDir}}", + "OverwriteExistingFiles":true + }, + { + "UpdateStageName":"Campaigncycle.cfg Copy", + "UpdateSourcePlatform":"All", + "UpdateSource":"CopyFilePath", + "UpdateSourceData":"{{$FullBaseDir}}etmain/AMP_campaigncycle.cfg", + "UpdateSourceArgs":"{{$FullBaseDir}}etmain/campaigncycle.cfg", + "OverwriteExistingFiles":false + }, + { + "UpdateStageName":"Objectivecycle.cfg Copy", + "UpdateSourcePlatform":"All", + "UpdateSource":"CopyFilePath", + "UpdateSourceData":"{{$FullBaseDir}}etmain/AMP_objectivecycle.cfg", + "UpdateSourceArgs":"{{$FullBaseDir}}etmain/objectivecycle.cfg", + "OverwriteExistingFiles":false + }, + { + "UpdateStageName":"Lmscycle.cfg Copy", + "UpdateSourcePlatform":"All", + "UpdateSource":"CopyFilePath", + "UpdateSourceData":"{{$FullBaseDir}}etmain/AMP_lmscycle.cfg", + "UpdateSourceArgs":"{{$FullBaseDir}}etmain/lmscycle.cfg", + "OverwriteExistingFiles":false + }, + { + "UpdateStageName":"Stopwatchcycle.cfg Copy", + "UpdateSourcePlatform":"All", + "UpdateSource":"CopyFilePath", + "UpdateSourceData":"{{$FullBaseDir}}etmain/AMP_stopwatchcycle.cfg", + "UpdateSourceArgs":"{{$FullBaseDir}}etmain/stopwatchcycle.cfg", + "OverwriteExistingFiles":false + }, + { + "UpdateStageName":"Initialise Wine", + "UpdateSourcePlatform":"Linux", + "UpdateSource":"Executable", + "UpdateSourceData":"/bin/bash", + "UpdateSourceArgs":"-c 'WINEPREFIX=\"{{$FullRootDir}}.wine\" WINEARCH=win32 /usr/bin/wineboot --init --update'" + } +]