You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
2.5 KiB
86 lines
2.5 KiB
// ******************************************************************************
|
|
// Military Conflict: Vietnam
|
|
// Config - server.cfg
|
|
// Date - 24/04/2026
|
|
// ******************************************************************************
|
|
|
|
// ................................. Basic .................................. //
|
|
|
|
// hostname - Hostname for server.
|
|
hostname "SERVERNAME"
|
|
|
|
// rcon_password - Remote console password.
|
|
rcon_password "ADMINPASSWORD"
|
|
|
|
// sv_password - Server password for private servers.
|
|
sv_password ""
|
|
|
|
// sv_contact - Server admin email address.
|
|
sv_contact ""
|
|
|
|
// ................................ Security ................................ //
|
|
|
|
// sv_lan - LAN mode; disables VAC and internet heartbeats.
|
|
sv_lan 0
|
|
|
|
// sv_cheats - Disables cheat commands. Set to 1 to enable (disables VAC).
|
|
sv_cheats 0
|
|
|
|
// sv_tags - Tags shown in server browser.
|
|
sv_tags ""
|
|
|
|
// 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
|
|
|
|
// 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
|
|
|
|
// sv_logbans - Log server bans in the server logs.
|
|
sv_logbans 1
|
|
|
|
// sv_logecho - Display log information to the server console.
|
|
sv_logecho 1
|
|
|
|
// sv_logfile - Log server information in the log file.
|
|
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 active in server browser.
|
|
// sv_hibernate_zombie_mode 1
|
|
|
|
// .............................. Map Rotation .............................. //
|
|
|
|
// mapcyclefile - Name of the map cycle file used to cycle maps on multiplayer servers.
|
|
mapcyclefile "mapcycle.txt"
|
|
|
|
// ................................ Ban List ................................ //
|
|
|
|
// exec banned_user.cfg - Execute the banned users file.
|
|
exec banned_user.cfg
|
|
|
|
// 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.
|
|
writeid
|
|
|
|
// writeip - Save the ban list to banned_ip.cfg.
|
|
writeip
|
|
|