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.
150 lines
4.8 KiB
150 lines
4.8 KiB
// ****************************************************************************
|
|
// Nuclear Dawn
|
|
// Config - server.cfg
|
|
// Date - 26/04/2026
|
|
// ****************************************************************************
|
|
|
|
// .................................. Basic ................................. //
|
|
|
|
// hostname - Name of the server.
|
|
hostname "SERVERNAME"
|
|
|
|
// rcon_password - Remote console password.
|
|
rcon_password "ADMINPASSWORD"
|
|
|
|
// sv_password - Server password for private servers.
|
|
sv_password ""
|
|
|
|
// sv_contact - Contact email for server sysop.
|
|
sv_contact ""
|
|
|
|
// sv_lan - LAN mode. If set the server will not show on the internet.
|
|
sv_lan 0
|
|
|
|
// sv_region - The region of the world 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 -1
|
|
|
|
// sv_tags - Server tags. Used to provide extra information to clients when they're browsing for servers.
|
|
sv_tags "nucleardawn"
|
|
|
|
// ................................. Security ................................ //
|
|
|
|
// sv_rcon_banpenalty - Number of minutes to ban users who fail rcon authentication.
|
|
sv_rcon_banpenalty 10
|
|
|
|
// sv_rcon_log - Enable/disable rcon logging.
|
|
sv_rcon_log 1
|
|
|
|
// sv_rcon_maxfailures - Max number of times a user can fail rcon authentication before being banned.
|
|
sv_rcon_maxfailures 5
|
|
|
|
// sv_rcon_minfailures - Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned.
|
|
sv_rcon_minfailures 5
|
|
|
|
// sv_rcon_minfailuretime - Number of seconds to track failed rcon authentications.
|
|
sv_rcon_minfailuretime 10
|
|
|
|
// ............................. 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
|
|
|
|
// ............................. Communication .............................. //
|
|
|
|
// sv_voiceenable - Enable voice communications.
|
|
sv_voiceenable 0
|
|
|
|
// sv_alltalk - Players can hear all other players, no team restrictions.
|
|
sv_alltalk 0
|
|
|
|
// mp_allowspectators - Allow spectator mode.
|
|
mp_allowspectators 1
|
|
|
|
// ................................ Gameplay ................................ //
|
|
|
|
// mp_limitteams - Maximum number of players one team can have over the other.
|
|
mp_limitteams 1
|
|
|
|
// mp_autoteambalance - Automatically balance the teams.
|
|
// 0=Disabled, 1=Balance at round end, 2=Balance during game, 3=Balance throughout.
|
|
mp_autoteambalance 2
|
|
|
|
// mp_unbalance_limit - Maximum team imbalance before autobalancer activates.
|
|
mp_unbalance_limit 2
|
|
|
|
// mp_autoteambalance_delay - Seconds into round before autobalance occurs.
|
|
mp_autoteambalance_delay 60
|
|
|
|
// mp_roundend_teamswap - Swap teams at round end.
|
|
mp_roundend_teamswap 0
|
|
|
|
// nd_commander_accept_time - Seconds for selected commander to accept.
|
|
nd_commander_accept_time 15
|
|
|
|
// nd_commander_election_time - Seconds before commander is selected at round start.
|
|
nd_commander_election_time 45
|
|
|
|
// nd_commander_mutiny_min_players - Minimum players to start a mutiny vote.
|
|
nd_commander_mutiny_min_players 3
|
|
|
|
// nd_commander_mutiny_surpress_time - Minutes before a new mutiny can start.
|
|
nd_commander_mutiny_surpress_time 5
|
|
|
|
// nd_commander_mutiny_time - Seconds a mutiny vote lasts.
|
|
nd_commander_mutiny_time 30
|
|
|
|
// nd_commander_mutiny_vote_threshold - Percentage of team votes required to remove commander.
|
|
nd_commander_mutiny_vote_threshold 51.0
|
|
|
|
// nd_commander_surrender_vote_threshold - Percentage of team votes required to surrender.
|
|
nd_commander_surrender_vote_threshold 51.0
|
|
|
|
// mp_force_autoassign - Force players to join a team on connect. 0=Disabled, 1=Enabled.
|
|
mp_force_autoassign 0
|
|
|
|
// nd_starting_resources - Resources each team starts the game with.
|
|
nd_starting_resources 3000
|
|
|
|
// nd_spawn_min_time - Minimum seconds a player must be dead before they can spawn.
|
|
nd_spawn_min_time 6.0
|
|
|
|
// nd_spawn_wave_interval - Seconds between spawn waves.
|
|
nd_spawn_wave_interval 12.0
|
|
|
|
// .............................. Map Rotation .............................. //
|
|
|
|
// mp_roundtime - Minutes in a round.
|
|
mp_roundtime 35
|
|
|
|
// mp_timelimit - Game time per map in minutes.
|
|
mp_timelimit 70
|
|
|
|
// mp_maxrounds - Max number of rounds to play before server changes maps.
|
|
mp_maxrounds 2
|
|
|
|
// nd_xmas - Enable Christmas hats. 0=Disabled, 1=Commanders only, 2=Everyone.
|
|
nd_xmas 0
|
|
|
|
// .................................. Bots .................................. //
|
|
|
|
// bot_quota - Number of bots to add to the game.
|
|
bot_quota 0
|
|
|
|
// bot_quota_mode - Bot quota mode. fill = keep server filled to bot_quota.
|
|
bot_quota_mode fill
|
|
|
|
// bot_join_after_player - Bots join only after a player connects.
|
|
bot_join_after_player 0
|
|
|