From c91c54b7fbe75d95680958b29b6d4dab2835eb70 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 27 Apr 2026 23:41:40 +0000 Subject: [PATCH] Apply config standard to cc, doi, jbep3, mcv - cc (CodenameCURE): add section dividers, fix comment format (double-space in sv_allowvotediff, wrong description copy-paste on sv_autokick_strikes, non-standard bot_quota comment, inline trailing comment on sv_autokick_strikes) - doi (Day of Infamy): add section dividers, fix missing periods on timer cvar comments, fix question-mark ending on doi_bot_quota comment - jbep3 (Jabroni Brawl: Episode 3): complete rewrite from non-standard format (dash dividers, inline comments, multi-line comments) to standard; add missing date to header, add Jabroni Brawl: Episode 3 Settings section - mcv (Military Conflict: Vietnam): add Basic divider, rename Server Query section to Security, move host_name_store/host_info_show/host_players_show into Security with comments, collapse multi-line comments (sv_contact, sv_tags, sv_region, mapcyclefile, sv_hibernate_zombie_mode), remove Default: sub-lines (sv_lan, sv_cheats) --- cc/server.cfg | 97 +++++++++++++++++++++++++++--------------------- doi/server.cfg | 62 +++++++++++++++++++------------ jbep3/server.cfg | 68 ++++++++++++++++++--------------- mcv/server.cfg | 53 +++++++++++++------------- 4 files changed, 157 insertions(+), 123 deletions(-) diff --git a/cc/server.cfg b/cc/server.cfg index 84a5b75..aa21742 100644 --- a/cc/server.cfg +++ b/cc/server.cfg @@ -1,13 +1,15 @@ -// **************************************************************************** +// ****************************************************************************** // CodenameCURE // Config - server.cfg // Date - 06/12/2023 -// **************************************************************************** +// ****************************************************************************** + +// ................................. Basic .................................. // // hostname - Hostname for 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. @@ -16,55 +18,33 @@ sv_password "" // map - Start playing on specified map. // map "cbe_bunker" -// 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 - Server is a LAN server (no heartbeat, no authentication, no non-class C addresses). sv_lan 0 +// ............................. 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_allowvotekick - Allow voting to kick players. -sv_allowvotekick 1 - -// sv_allowvotediff - Allow voting to change difficulty. -sv_allowvotediff 1 - -// sv_allowvotemap - Allow voting to change maps. -sv_allowvotemap 1 - -// sv_autokick_cooldown - Min: 10.0, Max: 60.0 - the time (in seconds) it takes friendly fire strikes to reset -sv_autokick_cooldown 15 - -// sv_autokick_strikes - Min: 10.0, Max: 60.0 - the time (in seconds) it takes friendly fire strikes to reset -sv_autokick_strikes 10 //min 5, max 30 - -//number of bots (maximum 3) -bot_quota 3 - -// 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 1 -// mp_autoteambalance - Define if the game should automatically balance out teams in teamplay (0: no, default, 1: yes) +// mp_autoteambalance - Automatically balance out teams in teamplay. mp_autoteambalance 0 // mp_falldamage - Enable fall damage. @@ -79,21 +59,54 @@ mp_fraglimit 0 // mp_friendlyfire - Allows team members to injure other members of their team. mp_friendlyfire 0 - -// sv_kickbantime - the amount of mins to temp ban a user after being vote kicked - -1 is no ban - 0 is indefinate ban -sv_kickbantime 5 - -// 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 - // mp_maxrounds - Max number of rounds to play before server changes maps. mp_maxrounds 0 // mp_timelimit - Game time per map in minutes. mp_timelimit 20 -// sv_votetime - The amount of time players have to vote. +// mp_mapcycle_empty_timeout_seconds - Cycle to next map if server has been empty for N seconds. +mp_mapcycle_empty_timeout_seconds 900 + +// sv_allowvotekick - Allow voting to kick players. +sv_allowvotekick 1 + +// sv_allowvotediff - Allow voting to change difficulty. +sv_allowvotediff 1 + +// sv_allowvotemap - Allow voting to change maps. +sv_allowvotemap 1 + +// sv_autokick_cooldown - Time in seconds it takes friendly fire strikes to reset. +sv_autokick_cooldown 15 + +// sv_autokick_strikes - Number of friendly fire strikes before auto-kick. +sv_autokick_strikes 10 + +// sv_kickbantime - Minutes to temp ban a user after being vote kicked; -1 for no ban, 0 for indefinite. +sv_kickbantime 5 + +// sv_votetime - Time in seconds players have to cast a vote. sv_votetime 20 -// sv_votenext - The amount of time players have to wait before calling another vote. +// sv_votenext - Time in seconds players must wait before calling another vote. sv_votenext 10 + +// bot_quota - Number of bots added to the server. +bot_quota 3 + +// .............................. Map Rotation .............................. // + +// mapcyclefile - Name of the map cycle file used to cycle maps on multiplayer servers. +mapcyclefile "mapcycle.txt" + +// ............................. Fast Download .............................. // + +// sv_allowupload - Allow clients to upload customization 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 "" diff --git a/doi/server.cfg b/doi/server.cfg index cf258dd..956f426 100644 --- a/doi/server.cfg +++ b/doi/server.cfg @@ -1,13 +1,15 @@ -// **************************************************************************** +// ****************************************************************************** // Day of Infamy // Config - server.cfg // Date - 06/12/2023 -// **************************************************************************** +// ****************************************************************************** + +// ................................. Basic .................................. // // hostname - Hostname for 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. @@ -16,46 +18,42 @@ sv_password "" // map - Start playing on specified map. // map "bastogne stronghold" -// 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 - Server is a LAN server (no heartbeat, no authentication, no non-class C addresses). sv_lan 0 +// ............................. 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_alltalk_dead - Dead players broadcast their voice to enemies? +// sv_alltalk_dead - Dead players broadcast their voice to enemies. sv_alltalk_dead 0 -// sv_alltalk_endgame - All talk enabled at the end of the game? +// sv_alltalk_endgame - All talk enabled at the end of the game. sv_alltalk_endgame 1 -// sv_alltalk_intermission - All talk enabled between rounds? +// sv_alltalk_intermission - All talk enabled between rounds. sv_alltalk_intermission 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 1 -// mp_autoteambalance - Define if the game should automatically balance out teams in teamplay (0: no, default, 1: yes) +// mp_autoteambalance - Automatically balance out teams in teamplay. mp_autoteambalance 1 // mp_falldamage - Enable fall damage. @@ -76,17 +74,33 @@ mp_teamplay 0 // mp_timelimit - Game time per map in minutes. mp_timelimit 20 -// mp_timer_pregame - Pregame timer in seconds +// mp_timer_pregame - Pregame timer in seconds. mp_timer_pregame 10 -// mp_timer_preround - Preround timer in seconds +// mp_timer_preround - Preround timer in seconds. mp_timer_preround 15 -// mp_timer_postround - Postround timer in seconds +// mp_timer_postround - Postround timer in seconds. mp_timer_postround 15 -// mp_timer_postgame - Postgame timer in seconds +// mp_timer_postgame - Postgame timer in seconds. mp_timer_postgame 21 -// doi_bot_quota - How many bots to place on each team when no players are present? -doi_bot_quota 0 \ No newline at end of file +// doi_bot_quota - Number of bots to place on each team when no players are present. +doi_bot_quota 0 + +// .............................. Map Rotation .............................. // + +// mapcyclefile - Name of the map cycle file used to cycle maps on multiplayer servers. +mapcyclefile "mapcycle.txt" + +// ............................. Fast Download .............................. // + +// sv_allowupload - Allow clients to upload customization 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 "" diff --git a/jbep3/server.cfg b/jbep3/server.cfg index c2896fa..7f3f325 100644 --- a/jbep3/server.cfg +++ b/jbep3/server.cfg @@ -1,51 +1,59 @@ -// **************************************************************************** +// ****************************************************************************** // Jabroni Brawl: Episode 3 // Config - server.cfg -// **************************************************************************** +// Date - 27/04/2026 +// ****************************************************************************** -// This config is based on the game's sample config and uses LinuxGSM tokens. +// ................................. Basic .................................. // -// ----------------------- -// Generic Source commands -// ----------------------- +// hostname - Hostname for server. +hostname "SERVERNAME" -log on // Enable server logging +// rcon_password - Remote console password. +rcon_password "ADMINPASSWORD" -hostname "SERVERNAME" // Server name +// ............................. Server Logging ............................. // -rcon_password "ADMINPASSWORD" // RCON password +// log - Enable logging to file, console, and udp. +log on -mp_timelimit 30 // Map time limit in minutes -mp_maxrounds 0 // Max number of rounds till level change +// ................................ Gameplay ................................ // +// mp_timelimit - Map time limit in minutes. +mp_timelimit 30 + +// mp_maxrounds - Max number of rounds till level change. +mp_maxrounds 0 + +// mp_mapcycle_empty_timeout_seconds - Cycle to next map if server has been empty for N seconds. mp_mapcycle_empty_timeout_seconds 300 -sv_downloadurl "" // Fast Download location +// ............................. Fast Download .............................. // -// Load bans from previous sessions -execifexists banned_ip.cfg +// sv_downloadurl - Location from which clients can download missing files. +sv_downloadurl "" + +// ................................ Ban List ................................ // + +// execifexists banned_user.cfg - Execute the banned users file if it exists. execifexists banned_user.cfg -// ----------------------- -// Jabroni Brawl voting -// ----------------------- +// execifexists banned_ip.cfg - Execute the banned IPs file if it exists. +execifexists banned_ip.cfg + +// ................... Jabroni Brawl: Episode 3 Settings .................... // -jb_sv_voting_enabled 1 // Allow end of game voting +// jb_sv_voting_enabled - Allow end of game voting. +jb_sv_voting_enabled 1 -// Voting fallback behavior. -// 0 = Remain on same game mode, continue standard cycle. -// 1 = Remain on same game mode/map. -// 2 = Pick a random game mode/map. +// jb_sv_voting_fallback - Voting fallback behavior; 0 = standard cycle, 1 = same map, 2 = random. jb_sv_voting_fallback 0 -jb_sv_voting_allow_gamemode 1 // Enable/disable game mode voting -jb_sv_voting_allow_map 1 // Enable/disable map voting +// jb_sv_voting_allow_gamemode - Enable game mode voting. +jb_sv_voting_allow_gamemode 1 -// ----------------------- -// Jabroni Brawl other -// ----------------------- +// jb_sv_voting_allow_map - Enable map voting. +jb_sv_voting_allow_map 1 -// Mapcycle method. -// 0 = Sequential, standard Source behavior. -// 1 = Randomized, picks random maps in the cycle. +// jb_sv_mapcycle_method - Mapcycle method; 0 = sequential, 1 = randomized. jb_sv_mapcycle_method 1 diff --git a/mcv/server.cfg b/mcv/server.cfg index 0788387..9f3f8a2 100644 --- a/mcv/server.cfg +++ b/mcv/server.cfg @@ -1,40 +1,47 @@ -// **************************************************************************** +// ****************************************************************************** // Military Conflict: Vietnam // Config - server.cfg // Date - 24/04/2026 -// **************************************************************************** +// ****************************************************************************** + +// ................................. Basic .................................. // // hostname - Hostname for server. hostname "SERVERNAME" -// rcon_password - remote console password. +// rcon_password - Remote console password. rcon_password "ADMINPASSWORD" // sv_password - Server password for private servers. sv_password "" -// sv_contact - Server admin email. -// Example: sv_contact "email@example.com" +// sv_contact - Server admin email address. sv_contact "" +// ................................ Security ................................ // + // sv_lan - LAN mode; disables VAC and internet heartbeats. -// Default: sv_lan 0 sv_lan 0 // sv_cheats - Disables cheat commands. Set to 1 to enable (disables VAC). -// Default: sv_cheats 0 sv_cheats 0 // sv_tags - Tags shown in server browser. -// Example: sv_tags "vietnam,deathmatch" sv_tags "" -// sv_region - World region to report this server in. -// -1 = world, 0 = US East, 1 = US West, 2 = South America, 3 = Europe, -// 4 = Asia, 5 = Australia, 6 = Middle East, 7 = Africa +// sv_region - World region; -1 = world, 0 = US East, 1 = US West, 2 = South America, 3 = Europe, 4 = Asia, 5 = Australia, 6 = Middle East, 7 = Africa. sv_region -1 -// ................................ Server Logging ................................ // +// host_name_store - Store hostname in server info. +host_name_store 1 + +// host_info_show - Show server info in server browser. +host_info_show 1 + +// host_players_show - Show player info in server browser. +host_players_show 2 + +// ............................. Server Logging ............................. // // log - Enable logging to file, console, and udp. log on @@ -51,33 +58,25 @@ sv_logfile 1 // sv_log_onefile - Log server information to only one file. sv_log_onefile 0 +// ................................ Gameplay ................................ // + // sv_hibernate_when_empty - Hibernate when no clients connected. sv_hibernate_when_empty 1 -// sv_hibernate_zombie_mode - Spawn bots when server is empty to keep it active in server browser. -// Note: this is unique to Military Conflict: Vietnam and is enabled by default. -// Set to 0 to disable bot fill when empty. +// sv_hibernate_zombie_mode - Spawn bots when server is empty to keep active in server browser. // sv_hibernate_zombie_mode 1 -// ................................ Map Rotation ................................ // +// .............................. Map Rotation .............................. // -// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers. -// Create a mapcycle.txt in the vietnam/ folder, one map name per line. -// Example: mcv_siege +// mapcyclefile - Name of the map cycle file used to cycle maps on multiplayer servers. mapcyclefile "mapcycle.txt" -// ................................ Server Query ................................ // - -host_name_store 1 -host_info_show 1 -host_players_show 2 - // ................................ Ban List ................................ // -// exec banned_user.cfg - Server banlist based on user steam ID. +// exec banned_user.cfg - Execute the banned users file. exec banned_user.cfg -// exec banned_ip.cfg - Server banlist based on user IP. +// exec banned_ip.cfg - Execute the banned IPs file. exec banned_ip.cfg // writeid - Writes a list of permanently-banned user IDs to banned_user.cfg.