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.9 KiB
86 lines
2.9 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 entry into multiplayer games.
|
|
sv_password ""
|
|
|
|
// sv_setsteamaccount - Set game server account token to use for logging in to a persistent game server account.
|
|
sv_setsteamaccount ""
|
|
|
|
// ................................ Security ................................ //
|
|
|
|
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
|
|
sv_lan 0
|
|
|
|
// sv_cheats - Allow cheats on server.
|
|
sv_cheats 0
|
|
|
|
// sv_tags - Server tags. Used to provide extra information to clients when they're browsing for servers. Separate tags with a comma.
|
|
sv_tags ""
|
|
|
|
// sv_region - The region of the world to report this server in.
|
|
sv_region -1
|
|
|
|
// host_name_store - Whether hostname is recorded in game events and GOTV.
|
|
host_name_store 1
|
|
|
|
// host_info_show - How server info gets disclosed in server queries: 0 - query disabled, 1 - show only general info, 2 - show full info.
|
|
host_info_show 1
|
|
|
|
// host_players_show - How players are disclosed in server queries: 0 - query disabled, 1 - show only max players count, 2 - show all players.
|
|
host_players_show 2
|
|
|
|
// ............................. Server Logging ............................. //
|
|
|
|
// log - Enables logging to file, console, and udp < on | off >.
|
|
log on
|
|
|
|
// sv_logbans - Log server bans in the server logs.
|
|
sv_logbans 1
|
|
|
|
// sv_logecho - Echo log information to the 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 - Puts the server into extremely low CPU usage mode when no clients connected.
|
|
sv_hibernate_when_empty 1
|
|
|
|
// sv_hibernate_zombie_mode - Don't confuse with game mode. If enabled, this will spawn bots so they will play on server when no players are connected, essen.
|
|
// sv_hibernate_zombie_mode 1
|
|
|
|
// .............................. Map Rotation .............................. //
|
|
|
|
// mapcyclefile - Name of the .txt file used to cycle the 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
|
|
|