// ************************************************************************** //
//                                                                            //
//     Day of Infamy - server.cfg                                             //
//                                                                            //
// ************************************************************************** //

// .................................. Basic ................................. //

// Hostname - Name of the server.
hostname "SERVERNAME"

// RCON - remote console password.
rcon_password "ADMINPASSWORD"

// Server password - for private servers.
sv_password ""

// Email - Server admin email.
// Example: sv_contact "email@example.com"
sv_contact ""

// LAN mode - If set the server will not show on the internet.
// Default: sv_lan 0
sv_lan 0

// ............................. Server Logging ............................. //

// Enable log - Enables logging to file, console, and udp < on | off >.
// Recommended: log on
log on

// Log bans - Log server bans in the server logs.
// Default: sv_logbans 1
// Recommended: sv_logbans 1
sv_logbans 1

// Log echo - Display log information to the server console.
// Default: sv_logecho 1
// Recommended: sv_logecho 1
sv_logecho 1

// Log file - Log server information in the log file.
// Default: sv_logfile 1
// Recommended: sv_logfile 1
sv_logfile 1

// One file log - Log server information to only one file.
// Default: sv_log_onefile 0
// Recommended: sv_log_onefile 0
sv_log_onefile 0

// ................................ Ban List ................................ //

// User ban - Server banlist based on user steam ID.
// Recommended: exec banned_user.cfg
exec banned_user.cfg

// IP ban - Server banlist based on user IP.
// Recommended: exec banned_ip.cfg
exec banned_ip.cfg

// Write ID - Writes a list of permanently-banned user IDs to banned_user.cfg.
writeid

// Write IP - Save the ban list to banned_ip.cfg.
writeip

// ........................ Day Of Infamy Settings ...................... //

// Playlist
// Available playlists: "nwi/coop" "nwi/coop_commando" "nwi/mp_battles" "nwi/mp_casual_with_bots" "nwi/mp_first_deployment" "nwi/mp_special_assignments" "custom" "example"
"sv_playlist" 		  "nwi/coop"

// friendly fire (0 = disabled)
"mp_friendlyfire"     "1"	

// How to punish team killing ( 0 = none, 1 = warning, 2 = kill )
"mp_tkpunish"     "1"	

// show k:d on scoreboard
"sv_hud_scoreboard_show_score"     "1"	

// show friendly player names when looking at them
"sv_hud_targetindicator"     "1"	

// death messages (kill feed) 
"sv_hud_deathmessages"     "0"

// timer for the pre-game (before the game starts, usually after map change or on mp_restartgame 1)
"mp_timer_pregame"     "10"

// timer for the pre-round (before the round starts, usually after a previous round ends or on mp_restartround 1)
"mp_timer_preround"     "15"

// timer for the post-round (after the round starts)
"mp_timer_postround"     "15"	

// timer for the post-game (at the end of a game / map rotation)
"mp_timer_postgame"     "21"

// if set higher than 0, the server will add this many bots to each team
"doi_bot_quota"     "0"	

// enabling this will allow the dead and living to VOIP each other
"sv_deadvoice"     "0"

// enabling this will allow the dead and living to chat text each other
"sv_deadtalk"     "0"		

// is deadchat limited to just your team?
"sv_deadtalk_team"     "1"