Skip to content

Commit

Permalink
update source configs
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Dec 6, 2023
1 parent 84904a9 commit f4dc6ca
Show file tree
Hide file tree
Showing 3 changed files with 160 additions and 306 deletions.
175 changes: 64 additions & 111 deletions ahl2/server.cfg
Original file line number Diff line number Diff line change
@@ -1,155 +1,108 @@
// ************************************************************************** //
// //
// 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 "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 ""
// Default Map - map <mapname> :Load a new map.
map "act_airport"

// LAN mode - If set the server will not show on the internet.
// Default: sv_lan 0
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
sv_lan 0

// ............................. Server Logging ............................. //

// Enable log - Enables logging to file, console, and udp < on | off >.
// Recommended: log on
log on
// sv_logfile - Log server information in the log file.
sv_logfile 1

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

// Log echo - Display log information to the server console.
// Default: sv_logecho 1
// Recommended: sv_logecho 1
sv_logecho 1
// sv_voiceenable - Enable voice communications.
sv_voiceenable 1

// Log file - Log server information in the log file.
// Default: sv_logfile 1
// Recommended: sv_logfile 1
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
// sv_alltalk - Players can hear all other players, no team restrictions.
sv_alltalk 1

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

// User ban - Server banlist based on user steam ID.
// Recommended: exec banned_user.cfg
exec banned_user.cfg
// sv_allowdownload - Allow clients to download files.
sv_allowdownload 1

// IP ban - Server banlist based on user IP.
// Recommended: exec banned_ip.cfg
exec banned_ip.cfg
// sv_downloadurl - Location from which clients can download missing files.
sv_downloadurl ""

// Write ID - Writes a list of permanently-banned user IDs to banned_user.cfg.
writeid
// mp_allowspectators - Toggles whether the server allows spectator mode or not.
mp_allowspectators 1

// Write IP - Save the ban list to banned_ip.cfg.
writeip
// mp_fraglimit - The number of kills at which the map ends.
mp_fraglimit 0

// ............................. Fast Download .............................. //
// info: Allows custom maps to be downloaded to the client.
// mp_friendlyfire - Allows team members to injure other members of their team.
mp_friendlyfire 1

// Allows clients to download custom maps and textures etc. from the server at 20 kbps.
// Default: sv_allowdownload 1
sv_allowdownload 1
// mp_falldamage - Enable fall damage.
mp_falldamage 0

// 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 ""
// mp_forcerespawn - Force all players to respawn.
mp_forcerespawn 1

// ........................ Action: Source Settings......................... //
// 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

// only allow players on local network to join, if set to 1
sv_forcelan 0
sv_lan 0
// mp_maxrounds - Max number of rounds to play before server changes maps.
mp_maxrounds 0

// teamplay
// enable teams (1 = enable)
// mp_teamplay - Enable team based gameplay.
mp_teamplay 0

// use three teams for teamplay (1 = enable)
mp_threeteams 0
// mp_timelimit - Game time per map in minutes.
mp_timelimit 20

// allow friendly fire (0 = disable)
mp_friendlyfire 1
// mp_playerlives - Number of lives players have when starting round, 0 for infinite, 1 or higher for LMS or regular Teamplay.
mp_playerlives 0

// punish team killers after 2 unforgiven team kills
mp_tkpunish 1
// 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

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

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

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

// enable one hit kill ultimate gib mode (1 = enable)
// mp_instagib - Enable insta-gib mode (0: no, default, 1: yes)
mp_instagib 0

// allow "capture the briefcase" mode on supported maps (1 = enable)
// mp_allowctb - Allow goal mode Capture the Briefcase (0: no, default, 1: yes)
mp_allowctb 0

// allow "dante must die" mode on supported maps (1 = enable)
// mp_allowdante - Allow goal mode Dante Must Die (0: no, default, 1: yes)
mp_allowdante 0

// allow VIP mode on supported maps (1 = enable)
// mp_allowvip - Allow goal mode VIP (0: no, default, 1: yes)
mp_allowvip 0

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

// ........................ game rules................................//

// amount of time, in minutes, played on each map
mp_timelimit 20

// number of kills a player must get to win the match
mp_fraglimit 0

// in rounds mode, number of rounds to be played on each map
mp_maxrounds 0

// number of lives each player gets per round (0 = deathmatch)
mp_playerlives 0

// amount of time, in minutes, a round is allowed to last
mp_roundtimelimit 5

// automatically respawn players without waiting for them to click (0 = disable)
mp_forcerespawn 1

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

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

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

0 comments on commit f4dc6ca

Please sign in to comment.