Skip to content

Commit ab892cb

Browse files
committed
Merge branch 'feature/source-updates'
2 parents 228f0e9 + daa5026 commit ab892cb

27 files changed

+796
-772
lines changed

ahl/server.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// default server name.
88
hostname "SERVERNAME"
99

10-
// RCON - remote console password.
10+
// rcon_password - remote console password.
1111
rcon_password "ADMINPASSWORD"
1212

1313
// disable autoaim (1 = enable)
@@ -39,7 +39,7 @@ mp_gametype 5
3939
mp_goalsoff 0
4040
4141
// map time limit in minutes
42-
mp_timelimit 20
42+
mp_timelimit 20
4343
4444
// round time limit in minutes
4545
mp_roundtimelimit 3
@@ -65,7 +65,7 @@ mp_teamkills 3
6565
mp_tkdeal 2
6666

6767
// ban teamkillers for this long (0 = permanent)
68-
mp_tkbantime 5
68+
mp_tkbantime 5
6969

7070
// Chase camera
7171
// 0 = off, 1 = on, 2 = teammates only
@@ -78,7 +78,7 @@ sv_maxspeed 270
7878
sv_allowdownload 1
7979

8080
// Allows upload of custom sprays
81-
sv_allowupload 1
81+
sv_allowupload 1
8282

8383
// set to 1 to let ppl practice when the round hasn't started
8484
mp_allowpractice 1

ahl2/server.cfg

Lines changed: 71 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,155 +1,113 @@
1-
// ************************************************************************** //
2-
// //
3-
// Action: Source - server.cfg //
4-
// //
5-
// ************************************************************************** //
1+
// ****************************************************************************
2+
// Action: Source
3+
// Config - server.cfg
4+
// Date - 06/12/2023
5+
// ****************************************************************************
66

7-
// .................................. Basic ................................. //
8-
9-
// Hostname - Name of the server.
7+
// hostname - Hostname for server.
108
hostname "SERVERNAME"
119

12-
// RCON - remote console password.
10+
// rcon_password - remote console password.
1311
rcon_password "ADMINPASSWORD"
1412

15-
// Server password - for private servers.
13+
// sv_password - Server password for entry into multiplayer games.
1614
sv_password ""
1715

18-
// Email - Server admin email.
19-
// Example: sv_contact "email@example.com"
20-
sv_contact ""
21-
22-
// LAN mode - If set the server will not show on the internet.
23-
// Default: sv_lan 0
24-
sv_lan 0
25-
26-
// ............................. Server Logging ............................. //
16+
// map - Start playing on specified map.
17+
map "act_airport"
2718

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

32-
// Log bans - Log server bans in the server logs.
33-
// Default: sv_logbans 1
34-
// Recommended: sv_logbans 1
35-
sv_logbans 1
36-
37-
// Log echo - Display log information to the server console.
38-
// Default: sv_logecho 1
39-
// Recommended: sv_logecho 1
40-
sv_logecho 1
22+
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
23+
sv_lan 0
4124

42-
// Log file - Log server information in the log file.
43-
// Default: sv_logfile 1
44-
// Recommended: sv_logfile 1
25+
// sv_logfile - Log server information in the log file.
4526
sv_logfile 1
4627

47-
// One file log - Log server information to only one file.
48-
// Default: sv_log_onefile 0
49-
// Recommended: sv_log_onefile 0
50-
sv_log_onefile 0
51-
52-
// ................................ Ban List ................................ //
53-
54-
// User ban - Server banlist based on user steam ID.
55-
// Recommended: exec banned_user.cfg
56-
exec banned_user.cfg
57-
58-
// IP ban - Server banlist based on user IP.
59-
// Recommended: exec banned_ip.cfg
60-
exec banned_ip.cfg
28+
// sv_logbans - Log server bans in the server logs.
29+
sv_logbans 1
6130

62-
// Write ID - Writes a list of permanently-banned user IDs to banned_user.cfg.
63-
writeid
31+
// sv_voiceenable - Enable voice communications.
32+
sv_voiceenable 1
6433

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

68-
// ............................. Fast Download .............................. //
69-
// info: Allows custom maps to be downloaded to the client.
37+
// sv_allowupload - Allow clients to upload customizations files.
38+
sv_allowupload 1
7039

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

75-
// Allows clients to download custom maps, textures etc. from a web server with no transfer limit.
76-
// Example:
77-
// server location: maps/custommap.bsp
78-
// web server location: http://example.com/custom/maps/custommap.bsp
79-
// sv_downloadurl "http://example.com/custom"
80-
// Default: sv_downloadurl ""
43+
// sv_downloadurl - Location from which clients can download missing files.
8144
sv_downloadurl ""
8245

83-
// ........................ Action: Source Settings......................... //
46+
// mp_allowspectators - Toggles whether the server allows spectator mode or not.
47+
mp_allowspectators 1
8448

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

89-
// teamplay
90-
// enable teams (1 = enable)
91-
mp_teamplay 0
52+
// mp_falldamage - Enable fall damage.
53+
mp_falldamage 0
9254

93-
// use three teams for teamplay (1 = enable)
94-
mp_threeteams 0
95-
96-
// allow friendly fire (0 = disable)
97-
mp_friendlyfire 1
55+
// mp_forcerespawn - Force all players to respawn.
56+
mp_forcerespawn 1
9857

99-
// punish team killers after 2 unforgiven team kills
100-
mp_tkpunish 1
58+
// mp_fraglimit - The number of kills at which the map ends.
59+
mp_fraglimit 0
10160

102-
// ping master server list
103-
heartbeat
61+
// mp_friendlyfire - Allows team members to injure other members of their team.
62+
mp_friendlyfire 1
10463

105-
// Determines the total number of bots in the game
106-
bot_quota 0
64+
// 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.
65+
mp_mapcycle_empty_timeout_seconds 900
10766

108-
// ........................ game modes....................................//
67+
// mp_maxrounds - Max number of rounds to play before server changes maps.
68+
mp_maxrounds 0
10969

110-
// enable one hit kill ultimate gib mode (1 = enable)
111-
mp_instagib 0
70+
// mp_teamplay - Enable team based gameplay.
71+
mp_teamplay 0
11272

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

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

119-
// allow VIP mode on supported maps (1 = enable)
120-
mp_allowvip 0
79+
// mp_roundtimelimit - Game time per round in minutes
80+
mp_roundtimelimit 5
12181

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

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

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

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

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

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

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

142-
// automatically respawn players without waiting for them to click (0 = disable)
143-
mp_forcerespawn 1
103+
// mp_allowctb - Allow goal mode Capture the Briefcase (0: no, default, 1: yes)
104+
mp_allowctb 0
144105

145-
// force players to spawn with random equipment
146-
// 0: Players can choose loadout. 1: Each player gets different random loadout. 2: All players get the same random loadout
147-
mp_forcerandom 0
106+
// mp_allowdante - Allow goal mode Dante Must Die (0: no, default, 1: yes)
107+
mp_allowdante 0
148108

149-
// restrict which equipment players can spawn with
150-
// 0: Players spawn with nothing. 1: Side arms only. 2: Side arms and items only. 3: All equipment allowed
151-
mp_allowequip 3
109+
// mp_allowvip - Allow goal mode VIP (0: no, default, 1: yes)
110+
mp_allowvip 0
152111

153-
// restrict which equipment can spawn on the map as pickups
154-
// 0: No pickups spawn on map. 1: Side arms only. 2: Side arms and items only. 3: All equipment pickup types spawn on map.
155-
mp_allowpickup 3
112+
// mp_allowcustom - Allow map-defined goal mode (0: no, default, 1: yes)
113+
mp_allowcustom 0

ahl2/server.cfg.orig

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
// dedicated server default configuration settings
2+
3+
// server name
4+
hostname "Action: Source Server"
5+
6+
// server password
7+
sv_password ""
8+
9+
// maximum players allowed in server
10+
maxplayers 12
11+
12+
// only allow players on local network to join
13+
sv_forcelan 0
14+
sv_lan 0
15+
16+
// ping master server list
17+
heartbeat
18+
19+
// teamplay
20+
mp_teamplay 0 // enable teams
21+
mp_threeteams 0 // use three teams for teamplay
22+
mp_friendlyfire 1 // allow friendly fire
23+
mp_tkpunish 1 // punish team killers after 2 unforgiven team kills
24+
25+
// game modes
26+
mp_instagib 0 // enable one hit kill ultimate gib mode
27+
mp_allowctb 0 // allow "capture the briefcase" mode on supported maps
28+
mp_allowdante 0 // allow "dante must die" mode on supported maps
29+
mp_allowvip 0 // allow VIP mode on supported maps
30+
mp_allowcustom 0 // allow map defined goal modes
31+
32+
// game rules
33+
mp_timelimit 20 // amount of time, in minutes, played on each map
34+
mp_fraglimit 0 // number of kills a player must get to win the match
35+
mp_maxrounds 0 // in rounds mode, number of rounds to be played on each map
36+
mp_playerlives 0 // number of lives each player gets per round (0 = deathmatch)
37+
mp_roundtimelimit 5 // amount of time, in minutes, a round is allowed to last
38+
mp_forcerespawn 0 // automatically respawn players without waiting for them to click
39+
40+
// loadouts and pickups
41+
mp_forcerandom 0 // force players to spawn with random equipment
42+
// 0: Players can choose loadout. 1: Each player gets different random loadout. 2: All players get the same random loadout
43+
44+
mp_allowequip 3 // restrict which equipment players can spawn with
45+
// 0: Players spawn with nothing. 1: Side arms only. 2: Side arms and items only. 3: All equipment allowed
46+
47+
mp_allowpickup 3 // restrict which equipment can spawn on the map as pickups
48+
// 0: No pickups spawn on map. 1: Side arms only. 2: Side arms and items only. 3: All equipment pickup types spawn on map.

aoc/server.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Hostname - Name of the server.
1010
hostname "SERVERNAME"
1111

12-
// RCON - remote console password.
12+
// rcon_password - remote console password.
1313
rcon_password "ADMINPASSWORD"
1414

1515
// Server password - for private servers.

bb/server.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pausable 0
2020
// default server name.
2121
hostname "SERVERNAME"
2222
23-
// RCON - remote console password.
23+
// rcon_password - remote console password.
2424
rcon_password "ADMINPASSWORD"
2525
2626
// maximum client movement speed (1000 for BB)

0 commit comments

Comments
 (0)