xgaming.configs
configs/ahl2
ahl2
2 files

Action: Source Server Config

Ready-to-use server config files for Action: Source dedicated game servers — copy, paste and run.

Config files

server.cfg
// ****************************************************************************
// Action: Source
// Config - server.cfg
// Date - 06/12/2023
// ****************************************************************************

// hostname - Hostname for server.
hostname "SERVERNAME"

// rcon_password - remote console password.
rcon_password "ADMINPASSWORD"

// sv_password - Server password for entry into multiplayer games.
sv_password ""

// map - Start playing on specified map.
// map "act_airport"

// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers
mapcyclefile "mapcycle.txt"

// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
sv_lan 0

// sv_logfile - Log server information in the log file.
sv_logfile 1

// sv_logbans - Log server bans in the server logs.
sv_logbans 1

// sv_voiceenable - Enable voice communications.
sv_voiceenable 1

// sv_alltalk - Players can hear all other players, no team restrictions.
sv_alltalk 1

// sv_allowupload - Allow clients to upload customizations files.
sv_allowupload 1

// sv_allowdownload - Allow clients to download files.
sv_allowdownload 1

// sv_downloadurl - Location from which clients can download missing files.
sv_downloadurl ""

// mp_allowspectators - Toggles whether the server allows spectator mode or not.
mp_allowspectators 1

// mp_autoteambalance - Define if the game should automatically balance out teams in teamplay (0: no, default, 1: yes)
mp_autoteambalance 0

// mp_falldamage - Enable fall damage.
mp_falldamage 0

// mp_forcerespawn - Force all players to respawn.
mp_forcerespawn 1

// mp_fraglimit - The number of kills at which the map ends.
mp_fraglimit 0

// mp_friendlyfire - Allows team members to injure other members of their team.
mp_friendlyfire 1

// mp_mapcycle_empty_timeout_seconds - If nonzero, server will cycle to the next map if it has been empty on the current map for N seconds.
mp_mapcycle_empty_timeout_seconds 900

// mp_maxrounds - Max number of rounds to play before server changes maps.
mp_maxrounds 0

// mp_teamplay - Enable team based gameplay.
mp_teamplay 0

// mp_timelimit - Game time per map in minutes.
mp_timelimit 20

// mp_playerlives - Number of lives players have when starting round, 0 for infinite, 1 or higher for LMS or regular Teamplay.
mp_playerlives 0

// mp_roundtimelimit - Game time per round in minutes
mp_roundtimelimit 5

// mp_forcerandom - Force random equipment (0: none forced, 1: forced random, 2: forced same-random)
mp_forcerandom 0

// mp_allowequip - Allowed level of equipment choosage (0: none, 1: pistols, 2: pistols+items, 3: all)
mp_allowequip 3

// mp_allowpickup - Allowed level of equipment pickups (0: none, 1: pistols, 2: pistols+items, 3: all)
mp_allowpickup 3

// mp_threeteams - Allow three team teamplay (0: no, default, 1: yes)
mp_threeteams 0

// mp_tkpunish - Enable/disable teamkill punishing (0: disabled, default, 1: enabled)
mp_tkpunish 1

// bot_quota - Try to keep this many bots in the server
bot_quota 0

// mp_instagib - Enable insta-gib mode (0: no, default, 1: yes)
mp_instagib 0

// mp_allowctb - Allow goal mode Capture the Briefcase (0: no, default, 1: yes)
mp_allowctb 0

// mp_allowdante - Allow goal mode Dante Must Die (0: no, default, 1: yes)
mp_allowdante 0

// mp_allowvip - Allow goal mode VIP (0: no, default, 1: yes)
mp_allowvip 0

// mp_allowcustom - Allow map-defined goal mode (0: no, default, 1: yes)
mp_allowcustom 0
server.cfg.orig
// dedicated server default configuration settings

// server name
hostname                        "Action: Source Server"

// server password
sv_password                     ""

// maximum players allowed in server
maxplayers                      12

// only allow players on local network to join
sv_forcelan                     0
sv_lan                          0

// ping master server list
heartbeat

// teamplay
mp_teamplay                     0       // enable teams
mp_threeteams           0       // use three teams for teamplay
mp_friendlyfire         1       // allow friendly fire
mp_tkpunish                     1       // punish team killers after 2 unforgiven team kills

// game modes
mp_instagib                     0       // enable one hit kill ultimate gib mode
mp_allowctb                     0       // allow "capture the briefcase" mode on supported maps
mp_allowdante           0       // allow "dante must die" mode on supported maps
mp_allowvip                     0       // allow VIP mode on supported maps
mp_allowcustom          0       // allow map defined goal modes

// game rules
mp_timelimit            20      // amount of time, in minutes, played on each map
mp_fraglimit            0       // number of kills a player must get to win the match
mp_maxrounds            0       // in rounds mode, number of rounds to be played on each map
mp_playerlives          0       // number of lives each player gets per round (0 = deathmatch)
mp_roundtimelimit       5       // amount of time, in minutes, a round is allowed to last
mp_forcerespawn         0       // automatically respawn players without waiting for them to click

// loadouts and pickups
mp_forcerandom          0       // force players to spawn with random equipment
// 0: Players can choose loadout. 1: Each player gets different random loadout. 2: All players get the same random loadout

mp_allowequip           3       // restrict which equipment players can spawn with
// 0: Players spawn with nothing. 1: Side arms only. 2: Side arms and items only. 3: All equipment allowed

mp_allowpickup          3       // restrict which equipment can spawn on the map as pickups
// 0: No pickups spawn on map. 1: Side arms only. 2: Side arms and items only. 3: All equipment pickup types spawn on map.

What these settings mean

Quick reference for the 18 most important keys in this Action: Source config. Hover or tap any key to see what it controls — useful when you're tuning a server for the first time and don't want to grep through the upstream wiki.

Core
3 settings
hostname
Server name shown in the in-game browser. Keep it under 64 characters and avoid colour codes if you want clean Steam listings.
sv_password
Optional join password. Empty string means a public server.
maxplayers
Hard cap on simultaneous players. Allocate slot budget for admins / reserved.
Network
4 settings
sv_lan
1 forces LAN-only mode (no Steam heartbeat). Set 0 for any internet-facing server.
sv_allowupload
1 lets clients upload custom sprays. Disable to mitigate inappropriate content / exploits.
sv_allowdownload
1 lets clients download missing maps / models from the server. Slow — better to pair with sv_downloadurl.
sv_downloadurl
Fast-DL HTTP URL for clients to fetch missing assets. Massively faster than Source's built-in trickle download.
Gameplay
5 settings
mp_autoteambalance
1 forces auto team balance. Usually 0 in competitive — let captains pick.
mp_fraglimit
First player to N kills ends the map (DM / FFA).
mp_friendlyfire
1 enables team damage. Required for competitive 5v5; usually off for community DM.
mp_maxrounds
Total rounds in the match before map change / draw. MR12 = 24, MR15 = 30.
mp_timelimit
Map time limit in minutes (TF2 / casual). 0 disables.
Bots
1 setting
bot_quota
Number of bots the server tries to maintain. With bot_quota_mode normal it tops up to total players.
Voice
2 settings
sv_voiceenable
Master switch for in-game voice chat. 1 enabled, 0 disabled server-wide.
sv_alltalk
1 lets dead players hear the living and both teams hear each other. Off by default for competitive integrity.
RCON
1 setting
rcon_password
Remote console password. Use a long random string — Source RCON is unencrypted, so anyone sniffing your wire can grab it if it's weak.
Logging
2 settings
sv_logfile
1 writes log lines to disk in addition to stdout.
sv_logbans
1 logs ban / kick events. Always on for any moderated server.

More tactical fps configs

Skip the setup. Host Action: Source with XGamingServer.

Spin up a managed Action: Source server with one click. Backups, mods, control panel and DDoS protection included.