Skip to content

Commit

Permalink
Merge branch 'feature/source-updates'
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Jan 20, 2024
2 parents 228f0e9 + daa5026 commit ab892cb
Show file tree
Hide file tree
Showing 27 changed files with 796 additions and 772 deletions.
8 changes: 4 additions & 4 deletions ahl/server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// default server name.
hostname "SERVERNAME"

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

// disable autoaim (1 = enable)
Expand Down Expand Up @@ -39,7 +39,7 @@ mp_gametype 5
mp_goalsoff 0
// map time limit in minutes
mp_timelimit 20
mp_timelimit 20
// round time limit in minutes
mp_roundtimelimit 3
Expand All @@ -65,7 +65,7 @@ mp_teamkills 3
mp_tkdeal 2

// ban teamkillers for this long (0 = permanent)
mp_tkbantime 5
mp_tkbantime 5

// Chase camera
// 0 = off, 1 = on, 2 = teammates only
Expand All @@ -78,7 +78,7 @@ sv_maxspeed 270
sv_allowdownload 1

// Allows upload of custom sprays
sv_allowupload 1
sv_allowupload 1

// set to 1 to let ppl practice when the round hasn't started
mp_allowpractice 1
Expand Down
184 changes: 71 additions & 113 deletions ahl2/server.cfg
Original file line number Diff line number Diff line change
@@ -1,155 +1,113 @@
// ************************************************************************** //
// //
// Action: Source - server.cfg //
// //
// ************************************************************************** //
// ****************************************************************************
// Action: Source
// Config - server.cfg
// Date - 06/12/2023
// ****************************************************************************

// .................................. Basic ................................. //

// Hostname - Name of the server.
// hostname - Hostname for server.
hostname "SERVERNAME"

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

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

// Email - Server admin email.
// Example: sv_contact "[email protected]"
sv_contact ""

// LAN mode - If set the server will not show on the internet.
// Default: sv_lan 0
sv_lan 0

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

// Enable log - Enables logging to file, console, and udp < on | off >.
// Recommended: log on
log on
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers
mapcyclefile "mapcycle.txt"

// Log bans - Log server bans in the server logs.
// Default: sv_logbans 1
// Recommended: sv_logbans 1
sv_logbans 1

// Log echo - Display log information to the server console.
// Default: sv_logecho 1
// Recommended: sv_logecho 1
sv_logecho 1
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
sv_lan 0

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

// One file log - Log server information to only one file.
// Default: sv_log_onefile 0
// Recommended: sv_log_onefile 0
sv_log_onefile 0

// ................................ Ban List ................................ //

// User ban - Server banlist based on user steam ID.
// Recommended: exec banned_user.cfg
exec banned_user.cfg

// IP ban - Server banlist based on user IP.
// Recommended: exec banned_ip.cfg
exec banned_ip.cfg
// sv_logbans - Log server bans in the server logs.
sv_logbans 1

// Write ID - Writes a list of permanently-banned user IDs to banned_user.cfg.
writeid
// sv_voiceenable - Enable voice communications.
sv_voiceenable 1

// Write IP - Save the ban list to banned_ip.cfg.
writeip
// sv_alltalk - Players can hear all other players, no team restrictions.
sv_alltalk 1

// ............................. Fast Download .............................. //
// info: Allows custom maps to be downloaded to the client.
// sv_allowupload - Allow clients to upload customizations files.
sv_allowupload 1

// Allows clients to download custom maps and textures etc. from the server at 20 kbps.
// Default: sv_allowdownload 1
// sv_allowdownload - Allow clients to download files.
sv_allowdownload 1

// Allows clients to download custom maps, textures etc. from a web server with no transfer limit.
// Example:
// server location: maps/custommap.bsp
// web server location: http://example.com/custom/maps/custommap.bsp
// sv_downloadurl "http://example.com/custom"
// Default: sv_downloadurl ""
// sv_downloadurl - Location from which clients can download missing files.
sv_downloadurl ""

// ........................ Action: Source Settings......................... //
// mp_allowspectators - Toggles whether the server allows spectator mode or not.
mp_allowspectators 1

// only allow players on local network to join, if set to 1
sv_forcelan 0
sv_lan 0
// mp_autoteambalance - Define if the game should automatically balance out teams in teamplay (0: no, default, 1: yes)
mp_autoteambalance 0

// teamplay
// enable teams (1 = enable)
mp_teamplay 0
// mp_falldamage - Enable fall damage.
mp_falldamage 0

// use three teams for teamplay (1 = enable)
mp_threeteams 0

// allow friendly fire (0 = disable)
mp_friendlyfire 1
// mp_forcerespawn - Force all players to respawn.
mp_forcerespawn 1

// punish team killers after 2 unforgiven team kills
mp_tkpunish 1
// mp_fraglimit - The number of kills at which the map ends.
mp_fraglimit 0

// ping master server list
heartbeat
// mp_friendlyfire - Allows team members to injure other members of their team.
mp_friendlyfire 1

// Determines the total number of bots in the game
bot_quota 0
// 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

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

// enable one hit kill ultimate gib mode (1 = enable)
mp_instagib 0
// mp_teamplay - Enable team based gameplay.
mp_teamplay 0

// allow "capture the briefcase" mode on supported maps (1 = enable)
mp_allowctb 0
// mp_timelimit - Game time per map in minutes.
mp_timelimit 20

// allow "dante must die" mode on supported maps (1 = enable)
mp_allowdante 0
// mp_playerlives - Number of lives players have when starting round, 0 for infinite, 1 or higher for LMS or regular Teamplay.
mp_playerlives 0

// allow VIP mode on supported maps (1 = enable)
mp_allowvip 0
// mp_roundtimelimit - Game time per round in minutes
mp_roundtimelimit 5

// allow map defined goal modes (1 = enable)
mp_allowcustom 0
// mp_forcerandom - Force random equipment (0: none forced, 1: forced random, 2: forced same-random)
mp_forcerandom 0

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

// amount of time, in minutes, played on each map
mp_timelimit 20
// mp_allowpickup - Allowed level of equipment pickups (0: none, 1: pistols, 2: pistols+items, 3: all)
mp_allowpickup 3

// number of kills a player must get to win the match
mp_fraglimit 0
// mp_threeteams - Allow three team teamplay (0: no, default, 1: yes)
mp_threeteams 0

// in rounds mode, number of rounds to be played on each map
mp_maxrounds 0
// mp_tkpunish - Enable/disable teamkill punishing (0: disabled, default, 1: enabled)
mp_tkpunish 1

// number of lives each player gets per round (0 = deathmatch)
mp_playerlives 0
// bot_quota - Try to keep this many bots in the server
bot_quota 0

// amount of time, in minutes, a round is allowed to last
mp_roundtimelimit 5
// mp_instagib - Enable insta-gib mode (0: no, default, 1: yes)
mp_instagib 0

// automatically respawn players without waiting for them to click (0 = disable)
mp_forcerespawn 1
// mp_allowctb - Allow goal mode Capture the Briefcase (0: no, default, 1: yes)
mp_allowctb 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_forcerandom 0
// mp_allowdante - Allow goal mode Dante Must Die (0: no, default, 1: yes)
mp_allowdante 0

// 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_allowequip 3
// mp_allowvip - Allow goal mode VIP (0: no, default, 1: yes)
mp_allowvip 0

// 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.
mp_allowpickup 3
// mp_allowcustom - Allow map-defined goal mode (0: no, default, 1: yes)
mp_allowcustom 0
48 changes: 48 additions & 0 deletions ahl2/server.cfg.orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// 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.
2 changes: 1 addition & 1 deletion aoc/server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// Hostname - Name of the server.
hostname "SERVERNAME"

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

// Server password - for private servers.
Expand Down
2 changes: 1 addition & 1 deletion bb/server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pausable 0
// default server name.
hostname "SERVERNAME"
// RCON - remote console password.
// rcon_password - remote console password.
rcon_password "ADMINPASSWORD"
// maximum client movement speed (1000 for BB)
Expand Down
Loading

0 comments on commit ab892cb

Please sign in to comment.