Browse Source

standardize Source server.cfg style and section order

pull/150/head
Daniel Gibbs 1 month ago
parent
commit
1078f0f105
Failed to extract signature
  1. 53
      cs/server.cfg
  2. 53
      cscz/server.cfg
  3. 24
      csgo/server.cfg
  4. 48
      css/server.cfg
  5. 255
      docs/server-cfg-standards-draft.md
  6. 53
      dod/server.cfg
  7. 53
      dods/server.cfg
  8. 50
      gmod/server.cfg
  9. 48
      hl2dm/server.cfg
  10. 53
      hldm/server.cfg
  11. 48
      hldms/server.cfg
  12. 17
      ns/server.cfg
  13. 53
      opfor/server.cfg
  14. 53
      ricochet/server.cfg
  15. 28
      tf2/server.cfg
  16. 28
      tf2c/server.cfg
  17. 53
      tfc/server.cfg

53
cs/server.cfg

@ -1,36 +1,67 @@
// Hostname for server.
// ************************************************************************** //
// //
// Counter-Strike - server.cfg //
// Version 260426 //
// //
// ************************************************************************** //
// .................................. Basic ................................. //
// hostname - Name of the 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 private servers.
sv_password ""
// Server Logging
// ................................. Security ................................ //
// sv_cheats - Allow cheat commands.
// Default: sv_cheats 0
sv_cheats 0
// ............................. Server Logging ............................. //
// log - Enable server log output.
// Recommended: log on
log on
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_logecho - Display log information in server console.
sv_logecho 1
// sv_logfile - Write server log information to file.
sv_logfile 1
// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0
// disable autoaim
// ................................ Gameplay ................................ //
// sv_aim - Enable autoaim assistance.
// Recommended: sv_aim 0
sv_aim 0
// disable clients' ability to pause the server
// pausable - Allow clients to pause the server.
// Recommended: pausable 0
pausable 0
// maximum client movement speed
// sv_maxspeed - Maximum client movement speed.
sv_maxspeed 320
// 20 minute timelimit
// mp_timelimit - Round time limit in minutes.
mp_timelimit 20
// cheats off
sv_cheats 0
// ................................ Ban List ................................ //
// load ban files
// exec listip.cfg - Load IP ban list.
exec listip.cfg
// exec banned.cfg - Load user ban list.
exec banned.cfg

53
cscz/server.cfg

@ -1,36 +1,67 @@
// Hostname for server.
// ************************************************************************** //
// //
// Counter-Strike: Condition Zero - server.cfg //
// Version 260426 //
// //
// ************************************************************************** //
// .................................. Basic ................................. //
// hostname - Name of the 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 private servers.
sv_password ""
// Server Logging
// ................................. Security ................................ //
// sv_cheats - Allow cheat commands.
// Default: sv_cheats 0
sv_cheats 0
// ............................. Server Logging ............................. //
// log - Enable server log output.
// Recommended: log on
log on
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_logecho - Display log information in server console.
sv_logecho 1
// sv_logfile - Write server log information to file.
sv_logfile 1
// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0
// disable autoaim
// ................................ Gameplay ................................ //
// sv_aim - Enable autoaim assistance.
// Recommended: sv_aim 0
sv_aim 0
// disable clients' ability to pause the server
// pausable - Allow clients to pause the server.
// Recommended: pausable 0
pausable 0
// maximum client movement speed
// sv_maxspeed - Maximum client movement speed.
sv_maxspeed 320
// 20 minute timelimit
// mp_timelimit - Round time limit in minutes.
mp_timelimit 20
// cheats off
sv_cheats 0
// ................................ Ban List ................................ //
// load ban files
// exec listip.cfg - Load IP ban list.
exec listip.cfg
// exec banned.cfg - Load user ban list.
exec banned.cfg

24
csgo/server.cfg

@ -7,19 +7,21 @@
// .................................. Basic ................................. //
// Hostname - Name of the server.
// hostname - Name of the server.
hostname "SERVERNAME"
// rcon_password - remote console password.
// rcon_password - Remote console password.
rcon_password "ADMINPASSWORD"
// Server password - for private servers.
// sv_password - Server password for private servers.
sv_password ""
// Email - Server admin email.
// Example: sv_contact "[email protected]"
sv_contact ""
// ................................. Security ................................ //
// LAN mode - Server is a LAN server; can't connect from the internet. VAC (Valve Anti-Cheat) is disabled in this mode.
// Default: sv_lan 0
sv_lan 0
@ -64,14 +66,22 @@ sv_logfile 1
// Recommended: sv_log_onefile 0
sv_log_onefile 0
// Server Hibernation
// sv_hibernate_when_empty - Put server in hibernation mode when empty.
sv_hibernate_when_empty 1
// sv_hibernate_ms - Frame time during hibernation in milliseconds.
sv_hibernate_ms 5
// ............................. Server Query ............................. //
// .............................. Server Query .............................. //
// More info at: https://www.gametracker.com/games/csgo/forum.php?thread=91691
// host_name_store - Show server name in query responses.
host_name_store 1
// host_info_show - Show server information level in queries.
host_info_show 1
// host_players_show - Show player information level in queries.
host_players_show 2
// ................................ Ban List ................................ //
@ -89,3 +99,7 @@ writeid
// Write IP - Save the ban list to banned_ip.cfg.
writeip
// ............................. Startup Commands ........................... //
// Startup trigger is typically defined by launch parameters or mapgroup configuration.

48
css/server.cfg

@ -4,44 +4,48 @@
// Date - 06/12/2023
// ****************************************************************************
// hostname - Hostname for server.
// .................................. Basic ................................. //
// hostname - Name of the server.
hostname "SERVERNAME"
// rcon_password - remote console password.
// rcon_password - Remote console password.
rcon_password "ADMINPASSWORD"
// sv_password - Server password for entry into multiplayer games.
// sv_password - Server password for private servers.
sv_password ""
// map - Start playing on specified map.
// map "de_dust2"
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers
mapcyclefile "mapcycle.txt"
// ................................. Security ................................ //
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
sv_lan 0
// 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 ""
// ............................. Server Logging ............................. //
// sv_logfile - Log server information in the log file.
sv_logfile 1
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// ............................. Communication .............................. //
// sv_voiceenable - Enable voice communications.
sv_voiceenable 1
// 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
// sv_allowdownload - Allow clients to download files.
sv_allowdownload 1
// sv_downloadurl - Location from which clients can download missing files.
sv_downloadurl ""
// ................................ Gameplay ................................ //
// mp_allowspectators - Toggles whether the server allows spectator mode or not.
mp_allowspectators 0
@ -76,3 +80,15 @@ mp_round_restart_delay 2
// mp_timelimit - Game time per map in minutes.
mp_timelimit 0
// .............................. Map Rotation .............................. //
// map - Start playing on specified map.
// map "de_dust2"
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers.
mapcyclefile "mapcycle.txt"
// ............................. Startup Commands ........................... //
// Startup map execution is typically supplied by launch parameters.

255
docs/server-cfg-standards-draft.md

@ -0,0 +1,255 @@
# Server.cfg Style Standards (Draft)
## Scope
This draft defines style and section-order standards for .cfg files that follow server.cfg conventions in this repository.
Primary references used for this draft:
- [template/server.cfg.template](template/server.cfg.template#L1)
- [csgo/server.cfg](csgo/server.cfg#L1)
- [q3/server.cfg](q3/server.cfg#L1)
- [cod4/server.cfg](cod4/server.cfg#L1)
Additional pilot samples used to validate cross-family behavior:
- [ins/server.cfg](ins/server.cfg#L1)
- [cs/server.cfg](cs/server.cfg#L1)
- [jk2/server.cfg](jk2/server.cfg#L1)
## Style Rules
### 1) File Preamble
- Use a visible file header block at top of file.
- Header must include game name, file name, and version/date.
- Prefer the template border style from [template/server.cfg.template](template/server.cfg.template#L1).
- Keep one blank line after header.
### 2) Section Headings
- Group settings in named sections.
- Preferred heading style:
- // ............................. Section Name ............................ //
- Use one blank line before each section heading.
- Keep heading names short, stable, and semantic (Basic, Logging, Network, Security, Gameplay, Rotation, Exec).
### 3) Setting Documentation
- Each configurable setting should be documented immediately above the setting.
- Preferred description line format:
- // cvar_name - Short purpose statement.
- Optional lines:
- // Default: cvar_name value
- // Recommended: cvar_name value
- // Example: cvar_name "value"
- Keep comments objective and avoid conversational phrasing.
### 4) Assignment Style
- Use the native command style of the family and do not mix styles in one file:
- Source/GoldSrc: direct cvar assignment (example: sv_lan 0)
- id Tech/Quake/Jedi: set or seta (example: set sv_hostname "SERVERNAME")
- CoD/CoD4X: set or sets for metadata
- One setting per line.
- Inline comments are allowed only when concise and not a substitute for full setting docs.
### 5) Quoting and Value Conventions
- Quote string values.
- Do not quote numeric values unless the engine style in that family consistently uses quotes.
- Keep placeholders uppercase for user-provided secrets or names (SERVERNAME, ADMINPASSWORD).
### 6) Spacing and Layout
- Keep one blank line between logical setting groups.
- Avoid repeated blank lines.
- No trailing whitespace.
- Keep lines readable; long map rotations may remain on one line only when engine syntax requires it.
### 7) Includes and Runtime Commands
- Keep includes/exec directives in a dedicated Exec or Ban section near end of configuration sections.
- Final startup actions (for example map or rotation start commands) should be placed in final section.
### 8) Comment Language and Tone
- Use clear technical English.
- Avoid jokes, uncertainty comments, or subjective wording in standards-conforming files.
## Recommended Baseline Cvars to Add to the Standard
These are high-value cvars that should be explicitly tracked in the standard, but are not currently required as a baseline list.
### Source and GoldSrc Baseline Candidates
- `sv_setsteamaccount` - Required for modern server token registration on many Source deployments.
- `sv_pure` (or `mp_consistency` for older GoldSrc variants) - Asset consistency and anti-cheat hardening.
- `sv_minrate`, `sv_maxrate` - Network throughput guardrails.
- `sv_minupdaterate`, `sv_maxupdaterate` - Tick/update policy consistency.
- `sv_mincmdrate`, `sv_maxcmdrate` - Client command rate policy consistency.
- `sv_timeout` - Connection timeout stability baseline.
- `sv_contact` - Admin contact traceability.
- `logaddress_add` (if remote logging is used) - Centralized moderation/audit logging.
- `sv_tags` - Discoverability and server browser clarity.
### Cross-Family Candidates
- `sv_region` (or family equivalent) - Predictable regional listing.
- Explicit startup command (`map`, `map_rotate`, `vstr`, or family equivalent) - deterministic boot behavior.
- Explicit ban include/write commands (`exec banned*.cfg`, `writeid`, `writeip`, or family equivalent) - ban persistence.
Note: Not all candidates apply to every engine family. Standards should tag each cvar as `required`, `recommended`, or `not-applicable` per family.
## Style Conformance Checklist
Use this checklist for each file.
- [ ] Header block exists and contains game + file + version/date.
- [ ] Section headings are present and consistently formatted.
- [ ] Every critical setting has a preceding purpose comment.
- [ ] Default/recommended/example lines are used consistently where needed.
- [ ] Assignment style is consistent with config family.
- [ ] Quote usage is consistent with family norms.
- [ ] Blank-line spacing is consistent and minimal.
- [ ] Includes/exec commands grouped in a dedicated section.
- [ ] Startup commands (map/map_rotate/vstr) located at end section.
- [ ] Comment tone is technical and neutral.
## Section-Order Models by Config Family
### Model A: Source and GoldSrc Family
Applies to files like [csgo/server.cfg](csgo/server.cfg#L1), [cs/server.cfg](cs/server.cfg#L1), [ins/server.cfg](ins/server.cfg#L1).
Recommended order:
1. Basic identity and access (hostname, rcon, server password, contact, region)
2. Security and trust (sv_lan, sv_cheats, anti-cheat, upload/download)
3. Logging and diagnostics
4. Network and rates
5. Voice/chat/social rules
6. Gameplay and mode rules
7. Matchmaking/playlists and mapcycle
8. Voting/admin controls
9. Banlist and exec include files
10. Startup map/rotation trigger
### Model B: id Tech and Quake-Derived Family
Applies to files like [q3/server.cfg](q3/server.cfg#L1), [jk2/server.cfg](jk2/server.cfg#L1).
Recommended order:
1. Server identity and access
2. Master server registration and visibility
3. Network and player limits
4. Core gameplay limits (timelimit, fraglimit, gametype)
5. Advanced gameplay cvars
6. Logging
7. Map rotation variable chain
8. Final rotation start command (vstr or map)
### Model C: CoD and CoD4X Family
Applies to files like [cod4/server.cfg](cod4/server.cfg#L1).
Recommended order:
1. Metadata (sets _Admin, _Website, etc.)
2. Basics (hostname, dedicated, passwords)
3. Logging/status files
4. Networking and connection controls
5. Protected or fixed engine variables section
6. Gameplay shared settings
7. Per-gamemode settings blocks
8. Custom download/mod support
9. Steam/platform toggles
10. Startup map command (map_rotate or map)
## Section-Order Checklist
Use this checklist to audit ordering independent of style details.
- [ ] File has identifiable sections.
- [ ] Section sequence matches one family model (A, B, or C).
- [ ] Identity/access appears before gameplay details.
- [ ] Logging appears before or near network diagnostics.
- [ ] Map cycle definitions appear near end of file.
- [ ] Final startup command appears in final section.
- [ ] Ban/exec includes appear in dedicated near-end section.
- [ ] No major section appears twice unless intentionally split and labeled.
## Pilot Audit (No Bulk Edits Applied)
### Pilot Coverage
- Template baseline: [template/server.cfg.template](template/server.cfg.template#L1)
- Source family sample: [csgo/server.cfg](csgo/server.cfg#L1)
- id Tech sample: [q3/server.cfg](q3/server.cfg#L1)
- CoD sample: [cod4/server.cfg](cod4/server.cfg#L1)
- Extra checks: [ins/server.cfg](ins/server.cfg#L1), [jk2/server.cfg](jk2/server.cfg#L1), [cs/server.cfg](cs/server.cfg#L1)
### Style Violations Found
1. [csgo/server.cfg](csgo/server.cfg#L1)
- Mixed heading widths and punctuation style.
- Some settings are grouped without full comment metadata (for example hibernation/query block).
- No explicit startup map/rotation terminal section.
2. [q3/server.cfg](q3/server.cfg#L1)
- Missing standardized header block and explicit section headings.
- Frequent inline comments instead of preceding documentation lines.
- Section boundaries implied, not explicit.
3. [cod4/server.cfg](cod4/server.cfg#L1)
- Comment tone includes subjective and conversational text.
- Section separators are inconsistent (different slash and hash divider styles).
- Very large gameplay block with weak sub-section boundaries.
4. [jk2/server.cfg](jk2/server.cfg#L1)
- Non-standard top heading style and mixed separator conventions.
- Post-line comments often placed below with uneven style.
- Mixed density of documentation across related cvars.
5. [cs/server.cfg](cs/server.cfg#L1)
- Minimal sectioning and partial comment coverage.
- Logging/admin sections not isolated as dedicated named sections.
6. [ins/server.cfg](ins/server.cfg#L1)
- Mostly conforms, but header border and heading density differ from template style.
- Very long section with many voting settings would benefit from sub-sections.
### Ordering Audit Results
1. [csgo/server.cfg](csgo/server.cfg#L1)
- Family model: A (Source/GoldSrc)
- Result: Partial pass
- Ordering violations:
- Ban list appears early relative to broader gameplay/network model.
- No explicit terminal startup trigger section.
2. [q3/server.cfg](q3/server.cfg#L1)
- Family model: B (id Tech)
- Result: Partial pass
- Ordering violations:
- No explicit section order markers, making audit and maintenance harder.
- Logging section absent as explicit block.
3. [cod4/server.cfg](cod4/server.cfg#L1)
- Family model: C (CoD)
- Result: Pass with structural risk
- Ordering violations:
- Protected engine variables mixed into broader stream without strict section identity.
- Startup and platform toggles are near end but not wrapped in a final startup section.
4. [ins/server.cfg](ins/server.cfg#L1)
- Family model: A (Source/GoldSrc)
- Result: Pass
- Ordering note:
- Strong sectioning already present; only normalization needed.
## Proposed Fix Batches (Before Any Bulk Edits)
Batch 1: Header and section normalization
- Add template-style file header and stable section heading format.
- Target first: [q3/server.cfg](q3/server.cfg#L1), [jk2/server.cfg](jk2/server.cfg#L1), [cs/server.cfg](cs/server.cfg#L1).
- Risk: low.
Batch 2: Comment and setting doc normalization
- Convert conversational/mixed comments to neutral format.
- Add missing cvar purpose lines for critical settings.
- Target first: [cod4/server.cfg](cod4/server.cfg#L1), [csgo/server.cfg](csgo/server.cfg#L1).
- Risk: low to medium (human review needed to preserve intent).
Batch 3: Section-order realignment by family model
- Reorder blocks to Model A/B/C while preserving values.
- Introduce explicit final startup section.
- Target first: [q3/server.cfg](q3/server.cfg#L1), [cs/server.cfg](cs/server.cfg#L1), [csgo/server.cfg](csgo/server.cfg#L1).
- Risk: medium (ordering can impact load behavior if commands have dependencies).
Batch 4: Large-block decomposition
- Split long gameplay and vote blocks into labeled sub-sections.
- Target first: [cod4/server.cfg](cod4/server.cfg#L1), [ins/server.cfg](ins/server.cfg#L1).
- Risk: medium (requires careful grouping review).
## Notes
- This is a draft standard for review.
- No bulk edits were applied to configuration files in this pass.

53
dod/server.cfg

@ -1,36 +1,67 @@
// Hostname for server.
// ************************************************************************** //
// //
// Day of Defeat - server.cfg //
// Version 260426 //
// //
// ************************************************************************** //
// .................................. Basic ................................. //
// hostname - Name of the server.
hostname "SERVERNAME"
// rcon_password - remote console password.
// rcon_password - Remote console password.
rcon_password "ADMINPASSWORD"
// Server password - for private servers.
// sv_password - Server password for private servers.
sv_password ""
// Server Logging
// ................................. Security ................................ //
// sv_cheats - Allow cheat commands.
// Default: sv_cheats 0
sv_cheats 0
// ............................. Server Logging ............................. //
// log - Enable server log output.
// Recommended: log on
log on
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_logecho - Display log information in server console.
sv_logecho 1
// sv_logfile - Write server log information to file.
sv_logfile 1
// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0
// disable autoaim
// ................................ Gameplay ................................ //
// sv_aim - Enable autoaim assistance.
// Recommended: sv_aim 0
sv_aim 0
// disable clients' ability to pause the server
// pausable - Allow clients to pause the server.
// Recommended: pausable 0
pausable 0
// maximum client movement speed
// sv_maxspeed - Maximum client movement speed.
sv_maxspeed 320
// 20 minute timelimit
// mp_timelimit - Round time limit in minutes.
mp_timelimit 20
// cheats off
sv_cheats 0
// ................................ Ban List ................................ //
// load ban files
// exec listip.cfg - Load IP ban list.
exec listip.cfg
// exec banned.cfg - Load user ban list.
exec banned.cfg

53
dods/server.cfg

@ -1,36 +1,67 @@
// Hostname for server.
// ************************************************************************** //
// //
// Day of Defeat: Source - server.cfg //
// Version 260426 //
// //
// ************************************************************************** //
// .................................. Basic ................................. //
// hostname - Name of the server.
hostname "SERVERNAME"
// rcon_password - remote console password.
// rcon_password - Remote console password.
rcon_password "ADMINPASSWORD"
// Server password - for private servers.
// sv_password - Server password for private servers.
sv_password ""
// Server Logging
// ................................. Security ................................ //
// sv_cheats - Allow cheat commands.
// Default: sv_cheats 0
sv_cheats 0
// ............................. Server Logging ............................. //
// log - Enable server log output.
// Recommended: log on
log on
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_logecho - Display log information in server console.
sv_logecho 1
// sv_logfile - Write server log information to file.
sv_logfile 1
// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0
// disable autoaim
// ................................ Gameplay ................................ //
// sv_aim - Enable autoaim assistance.
// Recommended: sv_aim 0
sv_aim 0
// disable clients' ability to pause the server
// pausable - Allow clients to pause the server.
// Recommended: pausable 0
pausable 0
// maximum client movement speed
// sv_maxspeed - Maximum client movement speed.
sv_maxspeed 320
// 20 minute timelimit
// mp_timelimit - Round time limit in minutes.
mp_timelimit 20
// cheats off
sv_cheats 0
// ................................ Ban List ................................ //
// load ban files
// exec listip.cfg - Load IP ban list.
exec listip.cfg
// exec banned.cfg - Load user ban list.
exec banned.cfg

50
gmod/server.cfg

@ -4,47 +4,51 @@
// Date 06/12/2023
// ****************************************************************************
// hostname - Hostname for server.
// .................................. Basic ................................. //
// hostname - Name of the server.
hostname "SERVERNAME"
// rcon_password - RCON remote console password.
// rcon_password - Remote console password.
rcon_password "ADMINPASSWORD"
// sv_password - Server password for entry into multiplayer games.
// sv_password - Server password for private servers.
sv_password ""
// map - Start playing on specified map.
// map "gm_construct"
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers
mapcyclefile "mapcycle.txt"
// ................................. Security ................................ //
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
sv_lan 0
// sv_allowupload - Allow clients to upload customizations files.
sv_allowupload 0
// sv_allowdownload - Allow clients to download files.
sv_allowdownload 0
// sv_downloadurl - Location from which clients can download missing files.
sv_downloadurl ""
// sv_loadingurl - URL to show to clients while joining the server. Must start with http:// or https://.
sv_loadingurl ""
// ............................. Server Logging ............................. //
// sv_logfile - Log server information in the log file.
sv_logfile 1
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// ............................. Communication .............................. //
// 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 0
// sv_allowdownload - Allow clients to download files.
sv_allowdownload 0
// sv_downloadurl - Location from which clients can download missing files.
sv_downloadurl ""
// sv_loadingurl - URL to show to clients while joining the server. Must start with http:// or https://
sv_loadingurl ""
// .............................. Sandbox Rules ............................. //
// sbox_bonemanip_misc - If enabled then manipulating the bones of other entities will be allowed
sbox_bonemanip_misc 0
@ -117,3 +121,11 @@ sbox_playershurtplayers 0
// sbox_weapons - If enabled, each player will receive default Half-Life 2 weapons on each spawn
sbox_weapons 0
// .............................. Map Rotation .............................. //
// map - Start playing on specified map.
// map "gm_construct"
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers.
mapcyclefile "mapcycle.txt"

48
hl2dm/server.cfg

@ -4,44 +4,48 @@
// Date - 06/12/2023
// ****************************************************************************
// hostname - Hostname for server.
// .................................. Basic ................................. //
// hostname - Name of the server.
hostname "SERVERNAME"
// rcon_password - remote console password.
// rcon_password - Remote console password.
rcon_password "ADMINPASSWORD"
// sv_password - Server password for entry into multiplayer games.
// sv_password - Server password for private servers.
sv_password ""
// map - Start playing on specified map.
// map "dm_lockdown"
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers
mapcyclefile "mapcycle.txt"
// ................................. Security ................................ //
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
sv_lan 0
// 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 ""
// ............................. Server Logging ............................. //
// sv_logfile - Log server information in the log file.
sv_logfile 1
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// ............................. Communication .............................. //
// 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 ""
// ................................ Gameplay ................................ //
// mp_allowspectators - Toggles whether the server allows spectator mode or not.
mp_allowspectators 0
@ -69,3 +73,15 @@ mp_teamplay 0
// mp_timelimit - Game time per map in minutes.
mp_timelimit 20
// .............................. Map Rotation .............................. //
// map - Start playing on specified map.
// map "dm_lockdown"
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers.
mapcyclefile "mapcycle.txt"
// ............................. Startup Commands ........................... //
// Startup map execution is typically supplied by launch parameters.

53
hldm/server.cfg

@ -1,35 +1,66 @@
// Hostname for server.
// ************************************************************************** //
// //
// Half-Life Deathmatch - server.cfg //
// Version 260426 //
// //
// ************************************************************************** //
// .................................. Basic ................................. //
// hostname - Name of the server.
hostname "SERVERNAME"
// rcon_password - remote console password.
// rcon_password - Remote console password.
rcon_password "ADMINPASSWORD"
// Server password - for private servers.
// sv_password - Server password for private servers.
sv_password ""
// Server Logging
// ................................. Security ................................ //
// sv_cheats - Allow cheat commands.
// Default: sv_cheats 0
sv_cheats 0
// ............................. Server Logging ............................. //
// log - Enable server log output.
// Recommended: log on
log on
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_logecho - Display log information in server console.
sv_logecho 1
// sv_logfile - Write server log information to file.
sv_logfile 1
// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0
// disable autoaim
// ................................ Gameplay ................................ //
// sv_aim - Enable autoaim assistance.
// Recommended: sv_aim 0
sv_aim 0
// disable clients' ability to pause the server
// pausable - Allow clients to pause the server.
// Recommended: pausable 0
pausable 0
// maximum client movement speed
// sv_maxspeed - Maximum client movement speed.
sv_maxspeed 320
// 20 minute timelimit
// mp_timelimit - Round time limit in minutes.
mp_timelimit 20
// cheats off
sv_cheats 0
// ................................ Ban List ................................ //
// load ban files
// exec listip.cfg - Load IP ban list.
exec listip.cfg
// exec banned.cfg - Load user ban list.
exec banned.cfg

48
hldms/server.cfg

@ -4,44 +4,48 @@
// Date - 06/12/2023
// ****************************************************************************
// hostname - Hostname for server.
// .................................. Basic ................................. //
// hostname - Name of the server.
hostname "SERVERNAME"
// RCON - remote console password.
// rcon_password - Remote console password.
rcon_password "ADMINPASSWORD"
// sv_password - Server password for entry into multiplayer games.
// sv_password - Server password for private servers.
sv_password ""
// Default Map - map <mapname> :Load a new map.
// map "crossfire"
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers
mapcyclefile "mapcycle.txt"
// ................................. Security ................................ //
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
sv_lan 0
// 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 ""
// ............................. Server Logging ............................. //
// sv_logfile - Log server information in the log file.
sv_logfile 1
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// ............................. Communication .............................. //
// 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 ""
// ................................ Gameplay ................................ //
// mp_allowspectators - Toggles whether the server allows spectator mode or not.
mp_allowspectators 0
@ -69,3 +73,15 @@ mp_teamplay 0
// mp_timelimit - Game time per map in minutes.
mp_timelimit 20
// .............................. Map Rotation .............................. //
// Default Map - map <mapname> to load a new map.
// map "crossfire"
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers.
mapcyclefile "mapcycle.txt"
// ............................. Startup Commands ........................... //
// Startup map execution is typically supplied by launch parameters.

17
ns/server.cfg

@ -15,6 +15,8 @@
// Common between listenserver.cfg and server.cfg //
////////////////////////////////////////////////////
// .................................. Basic ................................. //
// Default server name. Change to "Bob's Server", etc.
hostname "SERVERNAME"
@ -29,6 +31,8 @@ hostname "SERVERNAME"
// 7: Africa
sv_region 0
// ................................ Gameplay ................................ //
// general gameplay
mp_autoconcede 4
mp_limitteams 1
@ -57,7 +61,13 @@ mp_minvotesneeded 3
// More obscure settings
mp_countdowntime .2
mp_latejointime 1.5
// ............................. Server Logging ............................. //
mp_logdetail 0
// ................................ Gameplay ................................ //
mp_falldamage 1
mp_killdelay 3
mp_flashlight 1
@ -89,6 +99,9 @@ mp_timelimit 60
///////////////////////////////
// Dedicated server specific //
///////////////////////////////
// ................................. Security ................................ //
sv_lan 0
// Forces a limit on structures on the server
@ -97,11 +110,15 @@ sv_structurelimit 300
// disable clients' ability to pause the server
pausable 0
// ................................ Admin Ops ............................... //
// List server op WON or Steam ids here, delimited by semi-colons (eg, "STEAM_0:1:12345;STEAM_0:0:56736"), to display server op icon next to these players on this server.
mp_serverops ""
// Allows display of special authentication icons next to people's names (including developers, Constellation members, etc.)
mp_uplink 1
// ............................. Startup Commands ........................... //
// Needed so this file is executed on map change, like pre-NS v2.1
mapchangecfgfile server.cfg

53
opfor/server.cfg

@ -1,35 +1,66 @@
// Hostname for server.
// ************************************************************************** //
// //
// Half-Life: Opposing Force - server.cfg //
// Version 260426 //
// //
// ************************************************************************** //
// .................................. Basic ................................. //
// hostname - Name of the 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 private servers.
sv_password ""
// Server Logging
// ................................. Security ................................ //
// sv_cheats - Allow cheat commands.
// Default: sv_cheats 0
sv_cheats 0
// ............................. Server Logging ............................. //
// log - Enable server log output.
// Recommended: log on
log on
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_logecho - Display log information in server console.
sv_logecho 1
// sv_logfile - Write server log information to file.
sv_logfile 1
// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0
// disable autoaim
// ................................ Gameplay ................................ //
// sv_aim - Enable autoaim assistance.
// Recommended: sv_aim 0
sv_aim 0
// disable clients' ability to pause the server
// pausable - Allow clients to pause the server.
// Recommended: pausable 0
pausable 0
// maximum client movement speed
// sv_maxspeed - Maximum client movement speed.
sv_maxspeed 320
// 20 minute timelimit
// mp_timelimit - Round time limit in minutes.
mp_timelimit 20
// cheats off
sv_cheats 0
// ................................ Ban List ................................ //
// load ban files
// exec listip.cfg - Load IP ban list.
exec listip.cfg
// exec banned.cfg - Load user ban list.
exec banned.cfg

53
ricochet/server.cfg

@ -1,35 +1,66 @@
// Hostname for server.
// ************************************************************************** //
// //
// Ricochet - server.cfg //
// Version 260426 //
// //
// ************************************************************************** //
// .................................. Basic ................................. //
// hostname - Name of the 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 private servers.
sv_password ""
// Server Logging
// ................................. Security ................................ //
// sv_cheats - Allow cheat commands.
// Default: sv_cheats 0
sv_cheats 0
// ............................. Server Logging ............................. //
// log - Enable server log output.
// Recommended: log on
log on
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_logecho - Display log information in server console.
sv_logecho 1
// sv_logfile - Write server log information to file.
sv_logfile 1
// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0
// disable autoaim
// ................................ Gameplay ................................ //
// sv_aim - Enable autoaim assistance.
// Recommended: sv_aim 0
sv_aim 0
// disable clients' ability to pause the server
// pausable - Allow clients to pause the server.
// Recommended: pausable 0
pausable 0
// maximum client movement speed
// sv_maxspeed - Maximum client movement speed.
sv_maxspeed 320
// 20 minute timelimit
// mp_timelimit - Round time limit in minutes.
mp_timelimit 20
// cheats off
sv_cheats 0
// ................................ Ban List ................................ //
// load ban files
// exec listip.cfg - Load IP ban list.
exec listip.cfg
// exec banned.cfg - Load user ban list.
exec banned.cfg

28
tf2/server.cfg

@ -1,15 +1,35 @@
// Hostname for server.
// ************************************************************************** //
// //
// Team Fortress 2 - server.cfg //
// Version 260426 //
// //
// ************************************************************************** //
// .................................. Basic ................................. //
// hostname - Name of the 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 private servers.
sv_password ""
// Server Logging
// ............................. Server Logging ............................. //
// log - Enable server log output.
// Recommended: log on
log on
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_logecho - Display log information in server console.
sv_logecho 1
// sv_logfile - Write server log information to file.
sv_logfile 1
// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0

28
tf2c/server.cfg

@ -1,15 +1,35 @@
// Hostname for server.
// ************************************************************************** //
// //
// Team Fortress 2 Classic - server.cfg //
// Version 260426 //
// //
// ************************************************************************** //
// .................................. Basic ................................. //
// hostname - Name of the 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 private servers.
sv_password ""
// Server Logging
// ............................. Server Logging ............................. //
// log - Enable server log output.
// Recommended: log on
log on
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_logecho - Display log information in server console.
sv_logecho 1
// sv_logfile - Write server log information to file.
sv_logfile 1
// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0

53
tfc/server.cfg

@ -1,36 +1,67 @@
// Hostname for server.
// ************************************************************************** //
// //
// Team Fortress Classic - server.cfg //
// Version 260426 //
// //
// ************************************************************************** //
// .................................. Basic ................................. //
// hostname - Name of the 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 private servers.
sv_password ""
// Server Logging
// ................................. Security ................................ //
// sv_cheats - Allow cheat commands.
// Default: sv_cheats 0
sv_cheats 0
// ............................. Server Logging ............................. //
// log - Enable server log output.
// Recommended: log on
log on
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_logecho - Display log information in server console.
sv_logecho 1
// sv_logfile - Write server log information to file.
sv_logfile 1
// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0
// disable autoaim
// ................................ Gameplay ................................ //
// sv_aim - Enable autoaim assistance.
// Recommended: sv_aim 0
sv_aim 0
// disable clients' ability to pause the server
// pausable - Allow clients to pause the server.
// Recommended: pausable 0
pausable 0
// maximum client movement speed
// sv_maxspeed - Maximum client movement speed.
sv_maxspeed 320
// 20 minute timelimit
// mp_timelimit - Round time limit in minutes.
mp_timelimit 20
// cheats off
sv_cheats 0
// ................................ Ban List ................................ //
// load ban files
// exec listip.cfg - Load IP ban list.
exec listip.cfg
// exec banned.cfg - Load user ban list.
exec banned.cfg

Loading…
Cancel
Save