Skip to content

Commit

Permalink
Update multiple source games
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Jan 20, 2024
1 parent 64e918a commit 50fcad2
Show file tree
Hide file tree
Showing 14 changed files with 446 additions and 325 deletions.
19 changes: 12 additions & 7 deletions ahl2/server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ sv_password ""
// Default Map - map <mapname> :Load a new 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

Expand Down Expand Up @@ -43,18 +46,21 @@ sv_downloadurl ""
// mp_allowspectators - Toggles whether the server allows spectator mode or not.
mp_allowspectators 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_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

Expand Down Expand Up @@ -104,5 +110,4 @@ mp_allowdante 0
mp_allowvip 0

// mp_allowcustom - Allow map-defined goal mode (0: no, default, 1: yes)
mp_allowcustom 0

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.
7 changes: 7 additions & 0 deletions bb2/server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ rcon_password "ADMINPASSWORD"
// sv_password - Server password for entry into multiplayer games.
sv_password ""

// sv_setsteamaccount - token Set game server account token to use for logging in to a persistent game server account
// https://steamcommunity.com/dev/managegameservers
sv_setsteamaccount ""

// Default Map - map <mapname> :Load a new map.
map "bba_barracks"

// 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

Expand Down
169 changes: 44 additions & 125 deletions bmdm/server.cfg
Original file line number Diff line number Diff line change
@@ -1,156 +1,75 @@
// ************************************************************************** //
// //
// Black Mesa - server.cfg //
// Version 240917 //
// //
// ************************************************************************** //
// ****************************************************************************
// Black Mesa
// 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 "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 tags - Tags show up on the in-game server browser. This helps
// users filter servers.
// vanilla - the server runs the default settings.
// custom - the server runs custom gameplay settings or mods.
// Example: sv_tags "custom, fastdl"
sv_tags ""


// ................................. In Game ................................ //

// Cheats - Allow cheats on the server. Steam achievements and stats are disabled.
// 0 = cheats off.
// 1 = cheats on.
// Default: sv_cheats 0
// Reccomended: sv_cheats 0
sv_cheats 0

// Friendly fire - Allows players to injure other members of their team.
// 0 = friendly fire disabled
// 1 = friendly fire enabled
// Default: mp_friendlyfire 0
mp_friendlyfire 0

// Time limit - Time on a single map in minutes before switching to a new map automatically.
// Default: mp_timelimit 45
// Recommended: mp_timelimit 45
mp_timelimit 45

// Flashlight - Allow players to use the flashlight.
// 0 = flashlight off.
// 1 = flashlight on.
// Default: mp_flashlight 1
mp_flashlight 1

// Force Respawn - Force the player to respawn.
// 0 = force respawn off.
// 1 = force respawn on.
// Default: mp_forcerespawn 0
mp_forcerespawn 0

// Frag Limit - Number of frags on a single map before switching to a new map automatically.
// Default: mp_fraglimit 45
mp_fraglimit 45

// Warmup time - Number of seconds to wait before the round starts.
// Default: mp_warmup_time 30
mp_warmup_time 30
// sv_setsteamaccount - token Set game server account token to use for logging in to a persistent game server account
// https://steamcommunity.com/dev/managegameservers
sv_setsteamaccount ""

// Default Map - map <mapname> :Load a new map.
map "dm_bounce"

// ................................ Map Cycle ............................... //

// Map cycle - Maps to be rotated on the server.
// "mapcycle.txt" - All maps
// 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

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

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

// Voice enable - Enable communication over voice via microphone.
// 0 = voice off.
// 1 = voice on.
// Default: sv_voiceenable 1
// sv_voiceenable - Enable voice communications.
sv_voiceenable 1

// All talk - Players can hear all other players, no team restrictions.
// 0 = all talk off.
// 1 = all talk on.
// Default: sv_alltalk 0
// sv_alltalk - Players can hear all other players, no team restrictions.
sv_alltalk 0

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

// ............................. Fast Download .............................. //
// info: Used by servers with custom maps

// Allow download - Allow clients to download custom files from the server at 20 kbps.
// 0 = allow download off.
// 1 = allow download on.
// Default: sv_allowdownload 1
// sv_allowdownload - Allow clients to download files.
sv_allowdownload 1

// Download url - Allow clients to download custom files from a web server.
// Example:
// server location: maps/custommap.bsp
// web server location: http://example.com/custom/maps/custommap.bsp
// Example: sv_downloadurl "http://example.com/custom"
// 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

// ................................ 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

// Write ID - Writes a list of permanently-banned user IDs to banned_user.cfg.
writeid

// Write IP - Save the ban list to banned_ip.cfg.
writeip
// mp_falldamage - Enable fall damage.
mp_falldamage 0

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

// ............................. Server Logging ............................. //
// mp_fraglimit - The number of kills at which the map ends.
mp_fraglimit 45

// Enable log - Enables logging to file, console, and udp < on | off >.
// Recommended: log on
log on
// mp_friendlyfire - Allows team members to injure other members of their team.
mp_friendlyfire 0

// Log bans - Log server bans in the server logs.
// Default: sv_logbans 1
// Recommended: sv_logbans 1
sv_logbans 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

// Log echo - Display log information to the server console.
// Default: sv_logecho 1
// Recommended: sv_logecho 1
sv_logecho 1
// mp_teamplay - Enable team based gameplay.
mp_teamplay 0

// Log file - Log server information in the log file.
// Default: sv_logfile 1
// Recommended: sv_logfile 1
sv_logfile 1
// mp_timelimit - Game time per map in minutes.
mp_timelimit 45

// One file log - Log server information to only one file.
// Default: sv_log_onefile 0
// Recommended: sv_log_onefile 0
sv_log_onefile 0
// mp_warmup_time - Length of the warm up round in seconds.
mp_warmup_time 30
12 changes: 3 additions & 9 deletions bmdm/server.cfg.orig
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
// Black Mesa server.cfg file
hostname "Black Mesa: Deathmatch"
mp_timelimit 900
mp_warmup_time 30
// sv_lan 0
// rcon_password
// mp_flashlight 1
// mp_forcerespawn 0
// mp_friendlyfire 0
// mp_fraglimit 45
// sv_logecho 1
// sv_logfile 1
mp_fraglimit 30
mp_teamplay 1
mp_forcerespawn 1
Loading

0 comments on commit 50fcad2

Please sign in to comment.